I want to develop an app that will be deployed in two android devices for making them communicate through wifi. And here is the case:
- Two devices are turning on their Wifi
- They're not connected to any network. No LAN, no bluetooth, no phonecall, no internet
- They want to discover each other devices
- They want to communicate each other (sending simple string).
- They don't want the intermediary devices for direct communication.
- They are not having Wifi Direct capabilities.
- is it possible? How to do that?
I read socket and server concept in java, but they need to be connected each other / to any networks. Which means it is not what in my case (above). I need to know how each device could discover each other first before connecting them. And how to do that in Wifi?
I found Chord SDK. that simplify the wifi coding in android. But that only available for Samsung device. Sigh.
I found JXTA for peer2peer communication on java. But it need RDV to list down the IP address for the peer to acknowledge each other. Which means not fit to my case (above).
I found alljoyn library. But the examples are too complex to follow.
I found NearBytes SDK. it simple code that makes the devices communicate each other. I like it. But it only available for shorter distance (few centimeters). Which is not fit to my case (above).
I found openPeer sdk. But it provide no tutorials from its website.
CMIIW.
Can somebody give some guides?
0 comments:
Post a Comment