开发者

Android service to listen for incoming text from server

I need android service which will run in background and listen for urls from server.

Then that application will take data from urls and save it to ha开发者_JAVA技巧rd disk.

My question in first place is, is it possible for android service to listen for incoming text from server?


What you want to do is receiving push notifications, which can contain the URL's you want:

https://stackoverflow.com/search?q=[android]+push+notifications


I think you might be looking for this http://code.google.com/android/c2dm/

http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html

By using c2dm we can achieve your requirement.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜