Palm, a onetime smartphone leader, will try to regain primacy with the Pre.