开发者

The simplest way to use C2DM?

开发者 https://www.devze.com 2023-03-26 13:34 出处:网络
It has been a开发者_C百科 couple of weeks and I am having so much trouble making C2DM work. I\'ve read a million guides and watched video tutorials but have had no luck. I just need a way to communica

It has been a开发者_C百科 couple of weeks and I am having so much trouble making C2DM work. I've read a million guides and watched video tutorials but have had no luck. I just need a way to communicate with my server and my phone in the simplest way. Any help?


If you're still interested in trying C2DM, try installing the Google Plugin for Eclipse and use it to generate the Android / App Engine sample project. It should be able to generate a skeleton project that is able to communicate between AppEngine and a basic Android application. You could verify that the sample works and use it as a basis to debug your custom application.

There was also a related AppEngine + Android session at Google I/O this year.


The easiest way to get push into your app is to use a third party push provider like Urban Airship or Xtify. Instead of writing the code to interface with google directly you integrate the third party SDK into your app and they handle the messy stuff.

Additionally, you don't have to worry about scaling if your app gets (or already is) big. And going cross-platform (iOS, Blackberry) is that much easier.

0

精彩评论

暂无评论...
验证码 换一张
取 消