开发者

sending notification between Android devices

I have App "A" in android device "A" and i have the App "A" in android d开发者_JAVA百科evice "B" . Is it possible for me to send the notifications between the devices through WIFI??

Thanks in advance


There's a variety of ways to do this, but ultimately it all boils down to have an app running on the second device that receives some trigger to show a notification.

Some examples....

You can have an app with a open server socket on device b and then discover and connect to it to send a message that triggers a notification over TCP/IP. http://jmdns.sourceforge.net/ can help with discovery.

If they both have a network connection, you can build something on the App Engine to send a C2DM message to device B, and then upon receiving that message trigger a notification.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜