I want to develop an application where two android devices (running android 2.X) connect to each other for sharing data using wifi access-point created by another android device (using the wifi hotspot). Any android device running android 2.2 or over can be used as hotspot. That is not a problem. The main thing is to connect two android device using that access-point for sending/receiving messages.
well I'm not an android developer but the pattern should be the same:
There are many ways to make a device declare itself as a hotspot. The simplest I can think of is to install a whatever adhook program that does that for you or whatever other program that uses the wifi capailities of the android device or any other connectify program or you can write one yourself
see this search use android as a router
Second you have to think how other devices are going to connect to this mobile "server" is this going to be just a bridge or what? how are you going to authenticate the devices to communicate with each other
And finally you have to think how to the devices are going to communicate. Do you want to use an FTP protocol for file transfer or what exactly?
These are all questions you have to think about and without concrete project requirements it is difficult to help further
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.