Reputation: 3600
Is it possible to establish communication between two different apps which are on the two different devices over the internet. I want hit the app which is on one deviceB from the app which is on deviceA and get data from the app on deviceB to app on deviceA. If it is possible , How to do this?
Upvotes: 2
Views: 2133
Reputation: 27659
If both the devices are in Bluetooth range then the Bluetooth can be used as a communication medium, the Bluetooth chat application is a good example of this.
Upvotes: 0
Reputation: 80350
Practically only through a server. Mobile devices can not directly connect to each other because NAT prevents establishing inbound connections.
So you will need:
User or device identification scheme. How do users find each other? How do the indicate to whom they want to connect to? You need to provide this on your own.
Push technology to notify user that someone wants to connect. Use C2DM.
Your own server through which you'll relay data users want to share/send.
Upvotes: 2