I have a PHP web-service, and Android client. I need to make ability to send messages from service for my Android client. How can I make this mechanism?
除非你已经实现了推送机制,或者使用外部的推送机制,例如适用于Android的Google C2DM (我自己没有测试过,上次我检查过它,它处于测试状态),唯一的方法就是使用轮询机制(每隔一段时间询问一次Web服务)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.