开发者

Android service to listen for incoming text from server

开发者 https://www.devze.com 2023-04-08 11:30 出处:网络
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.

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

精彩评论

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