Hewlett-Packard hopes to become a player in the smart-phone market with the acquisition of struggling Palm.