Go Back   Android Forums > Android Discussion > Android Developers

Android Developers Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old 06-26-2009, 11:43 AM   #1 (permalink)
Hello, my name is .......
 
Join Date: Jun 2009
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Phone to phone communication

Does anyone know of a way to have two android phones communicate directly to each other without the use of a central server? (i.e. gmail.com)
There is, of course, bluetooth communication between phones already, but I was thinking of something using wifi because it is faster, more secure, and has a larger range.
I'm thinking of writing an app to this effect that would enable two or more android phones to share files, chat, or call each other even when out of range of wifi or cell towers. It might even be possible to bounce signals off other enabled phones to increase this range.

cp123127 is offline  
Reply With Quote
Sponsors
test
Old 06-26-2009, 12:05 PM   #2 (permalink)
What's root?
 
GODMODE's Avatar
 
Join Date: Oct 2008
Location: Massachusetts
Posts: 149
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to GODMODE
Default

That sounds like quite the radical idea. Like distributed phoning :-D
__________________
:.take the gold pill.:
www.godmode.com
GODMODE is offline  
Reply With Quote
Old 06-26-2009, 12:34 PM   #3 (permalink)
I like this place!
 
Join Date: May 2009
Location: Victoria,BC
Posts: 283
 
Device(s): Rogers HTC Magic myhero v. 2.0.5 Amon_RA recovery v.1.3.2H
Thanks: 0
Thanked 0 Times in 0 Posts
Default

that would be so awesome..
samuelmaskell is offline  
Reply With Quote
Old 07-05-2009, 01:07 PM   #4 (permalink)
Hello, my name is .......
 
Join Date: Jul 2009
Posts: 7
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What your saying would have to make on android put out a signal as well as some other things that router do for configuring. I recommend looking at iphone tether which is kinda what your doing if you want help with the project email me at basketballdeon@gmail.com i love programming in groups.
Radzell is offline  
Reply With Quote
Old 07-05-2009, 01:20 PM   #5 (permalink)
Senior Moderator
 
noonehereyet's Avatar
 
Join Date: Nov 2008
Location: OC, California
Posts: 2,798
 
Device(s): G1, Cliq
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to noonehereyet
Default

Quote:
Originally Posted by Radzell View Post
What your saying would have to make on android put out a signal as well as some other things that router do for configuring. I recommend looking at iphone tether which is kinda what your doing if you want help with the project email me at basketballdeon@gmail.com i love programming in groups.

there are dozens of apps that allow wifi, bluetooth and hardline tethering for android... as for phone to phone or phone to pc bluetooth this is your best bet Cyrket - Bluetooth Fileshare - Bluex for wifi tether use this android-wifi-tether - Google Code if your looking to use your phone as a server use this Cyrket - aFile
__________________
Have you used Android Forums - Search Forums today?

My Twitter - http://twitter.com/noonehereyet
My Wiki - Get Your Droid On...
My Site - http://www.noonehereyet.com/
noonehereyet is offline  
Reply With Quote
Old 07-08-2009, 06:09 AM   #6 (permalink)
Phone Guide
 
KlaymenDK's Avatar
 
Join Date: May 2009
Location: Denmark
Posts: 641
 
Device(s): Galaxy@IL3+drakaz4.6; Palm Treo 680
Thanks: 5
Thanked 7 Times in 6 Posts
Unhappy

Edit: Don't take this post for gospel, it might not be accurate.

I'm not about to go and argue with a super moderator , but I think that all of the solutions mentioned above are for tethering the device to a pc; I don't think you can create a wi-fi link between two phones any more than you can two laptops.

The reason is that Ethernet (in the case of a wi-fi connection, but also some USB and Bluetooth devices) is basically using a star configuration where nodes need to connect to a hub -- you can only connect two nodes together if one of them can be made to act as a hub. Now, some devices are able to run in both hub and node modes (the OpenMoko comes to mind). I don't think Android and/or the current hardware supports this. Yet, anyway.

What I'm saying is that you need features in hardware, or at the very least in software, that just aren't available.

Disregarding all I've just said, it would be awesome to have any Android phone act as a wi-fi walkie-talkie!
__________________
Ex-Palm user? Join the Palm transplanters group!
-- 010\001\111 --
KlaymenDK is offline  

Last edited by KlaymenDK; 07-09-2009 at 02:24 AM.
Reply With Quote
Old 07-08-2009, 11:28 PM   #7 (permalink)
Senior Moderator
 
noonehereyet's Avatar
 
Join Date: Nov 2008
Location: OC, California
Posts: 2,798
 
Device(s): G1, Cliq
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via AIM to noonehereyet
Default

Quote:
Originally Posted by KlaymenDK View Post
I'm not about to go and argue with a super moderator , but I think that all of the solutions mentioned above are for tethering the device to a pc; I don't think you can create a wi-fi link between two phones any more than you can two laptops.

The reason is that Ethernet (in the case of a wi-fi connection, but also some USB and Bluetooth devices) is basically using a star configuration where nodes need to connect to a hub -- you can only connect two nodes together if one of them can be made to act as a hub. Now, some devices are able to run in both hub and node modes (the OpenMoko comes to mind). I don't think Android and/or the current hardware supports this. Yet, anyway.

What I'm saying is that you need features in hardware, or at the very least in software, that just aren't available.

Disregarding all I've just said, it would be awesome to have any Android phone act as a wi-fi walkie-talkie!

not to bust your bubble man but if you had clicked on this link ( Cyrket - Bluetooth Fileshare - Bluex ) that i had posted above you would have seen the description which is :

Bluetooth Fileshare - Bluex
Xela AndroSoft

Price €1.40
Version 1.1.2
Downloads 1,000-5,000
Size 277638
Category Communication

RECEIVING FILES REQUIRES ROOT, SENDING WORKS WITHOUT IT

So, you bought the phone and you found out that it cannot do a simple task as sharing via BT. Duh!
This app comes to the rescue. It lets you send and receive files to/from other phones and devices that use the standard Obex Push protocol.

so in short yes you CAN do phone to phone....
noonehereyet is offline  
Reply With Quote
Old 07-09-2009, 12:53 AM   #8 (permalink)
Where's the search?
 
Join Date: May 2009
Location: Washington USA
Posts: 42
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

[Most] laptops can direct-connect, because most can share their WIFI (P2P) and be connected directly to.

I do not believe any of the phones can run in Infrastructure mode like that, so your only options would be BT or something with a central server.

I have been kicking around the idea of a similar app, only something more akin to "omni-presense" for Android devices in general. I would use our server farm as a communication hub.

FWIW, servers are cheap; bandwidth is cheap.

Scott
Scott is offline  
Reply With Quote
Old 07-23-2009, 11:57 AM   #9 (permalink)
Hello, my name is .......
 
Join Date: Jun 2009
Posts: 6
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Noonehereyet, you're right in that a bluetooth version of this kind of direct peer to peer filesharing has been implemented, but I was more interested in wifi for the reasons listed above (especially range).
I guess I was envisioning a massive ad-hoc network of android phones much like this: Self Organizing Wireless Mesh Networks - Microsoft Research but with mobile phones.
I think until a native direct connection for android becomes available the best we could hope for is Radzell's idea of having an android node act as a router to accept connections while simultaneously having multiple wifi connections to other android nodes.
This said, I have no idea if the software exists that would let android phones open multiple wifi connections. As for acting as a router, there may be some apps originally meant for tethering that let an android act as a router.
cp123127 is offline  
Reply With Quote
Old 12-02-2009, 12:07 PM   #10 (permalink)
Hello, my name is .......
 
Join Date: Dec 2009
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How about using the mobile phone's wireless hardware (not WiFi) to communicate phone to phone when out of the mobile network (like a real walkie talkie). Is this possible? This would be awesome.
geocrav is offline  
Reply With Quote
Old 12-02-2009, 02:40 PM   #11 (permalink)
Where's the search?
 
Join Date: Nov 2009
Location: USA
Posts: 37
 
Device(s): Moto Droid
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to regulatre
Default

Quote:
Originally Posted by geocrav View Post
How about using the mobile phone's wireless hardware (not WiFi) to communicate phone to phone when out of the mobile network (like a real walkie talkie). Is this possible? This would be awesome.
Tuning the CDMA radio and sending and receiving data might be rather difficult unless someone reprogrammed the DSP and I've never heard of that being accomplished on any phone. If it was then it would be rather bad for everybody to have rogue transceivers on the spectrum talking to eachother rather than registering with the tower. =)

I liked the WiFi idea... What if an app used a specific SSID, AD-HOC mode, and broadcasted its presence at a regular interval. Other phones running the app could listen for those broadcasts and register the nearby users in a list. Then users could select someone from the list to talk (VOIP) or transfer data... The service could run in the background listening for nearby hosts, registering with them (alert user of their proximity?).

Just thinking out loud.
regulatre is offline  
Reply With Quote
Old 12-03-2009, 10:55 AM   #12 (permalink)
Where's the search?
 
Join Date: Oct 2009
Location: Pennsylvania, USA
Posts: 43
 
Device(s): Motorola Droid
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Almost makes me miss the days of simple IR ports to share data...

But yes, it definitely sounds like what you are talking about would be setting up an ad-hoc network that any user could then connect to, creating almost a cloud. Unfortunately, at least on my Droid, it seems the phone is only capable of Infrastructure mode. Having a widget that could put the phone into an appropriate ad-hoc mode then share data would be a great feature, and could even bring back one of the nice networking features of the old IR-enabled PDAs - sharing virtual business cards.
wige is offline  

Last edited by wige; 12-03-2009 at 10:58 AM.
Reply With Quote
Reply

Bookmarks

Tags
android, app, bluetooth, call, chat, communication, file sharing, local, wifi


Go Back   Android Forums > Android Discussion > Android Developers
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:50 AM.
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
Custom vBulletin Skins by: Relivo