• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Can two phones talk to each other using WiFi tether?

ev06dre

Lurker
I have 2 apps that need to talk to each other.
'Hotspot' will act as a stationary hotspot,
'Child' will be on devices that are going in and out of range.

The hope is that a 'Child' app will come into range of the 'Hotspot' app and transmit it's ID. The ID will then be visible on the 'Hotspot' app, along with other 'Child' apps in range. When the user of the 'Hotspot' app clicks on one of the 'Child' apps in range, it's ID will be logged for later use.

The questions are...
Can you code an app to act like a WiFi hotspot for connecting one device to several devices without allowing abuse of their data plan
Can the two apps on two different devices 'talk' to each other WiFi?

Many thanks,

Dre
 
Are you programming these apps?

The short answer is "sort of"

What you are describing is called ad-hoc networking.

Wireless ad-hoc network - Wikipedia, the free encyclopedia

This is a feature that will be built in to Ice Cream Sandwich (Android 4.0).

I haven't heard of any programmers pulling this off successfully yet, but it should be possible in theory. Unfortunately, a lot of carriers modify the WiFi hotspot feature and it's hard to determine how it would work.

However, there might be people who have gotten it working. I'm not sure -- there are a ton of brilliant devs out there

You may find this helpful:

Android Wifi direct multiple connection ad-hoc - Stack Overflow


(also I'm moving this to the app development forum section :) )
 
Sorry, didn't realise there was a separate forum for devs (yes, I will be programming both apps).

Getting Galaxy Nexus tomorrow so I'll have a little play around with ICS :-)
 
Back
Top Bottom