SAN FRANCISCO (AP) — Hewlett-Packard is still scrambling to meet the growing demand for more versatile and less expensive mobile devices as a slump in its personal computer sales deepens, but the company's cost-cutting measures and focus on more profitable areas of technology appear to be easing the pain.