Investors get next peek at Apple earnings on July 31