you could broadcast on a known port number to 
find each other, then once you've done that, use 
HTTP GET/PUT on another known port. HTTP servers 
are pretty easy to write, and there is a client 
in the Android SDK.



>Roman,
>
>Thanks for the response. What I am trying to do 
>is, write a program be able to send a file of 
>any type (but probably an mp3) from one android 
>phone to another android phone. The two phone 
>will only be a few meters apart if that. 
>Bluetooth was not working very well I was just 
>getting a lot of problems. Both phone are using 
>android 1.5 do you have any tips on setting ftp 
>client/server and android.
>
>Thanks and Regards
>Mike
>
>
>On Mon, Nov 9, 2009 at 8:47 PM, Abhi 
><<mailto:[email protected]>[email protected]> 
>wrote:
>
>Hi Romain,
>
>To add to my above note, the preferred wireless connection would be Wi-
>Fi and not Bluetooth.
>
>Is there a way to find out what devices are connected to your WLAN?
>Like how we do a scan for Wireless Access Points. Is there a way by
>which these Wireless devices can share MAC addresses to identify each
>other?
>
>Thanks,
>
>Abhi
>
>
>On Nov 9, 1:59 pm, Abhi 
><<mailto:[email protected]>[email protected]> 
>wrote:
>>  Hi,
>>
>>  I am trying to do a similar thing but not between two phones. I am
>>  trying to accomplish wireless printing to my home wireless printer.
>>  Could you please guide me through to the initial steps?
>>
>>  Thanks,
>>
>>  Abhi
>>
>>  On Nov 9, 1:50 pm, "Roman ( T-Mobile USA)" <roman.baumgaert...@t-
>>
>>
>>
>>  <http://mobile.com>mobile.com> wrote:
>>  > You can write a ftp like client/server application. Use TCP socket
>>  > communication for the file transfer application.
>>
>>  > If you are in the same network you have not to worry about too much.
>>  > If you try to do a file transfer on cellular things get more
>>  > complicated. Let me know what you exactly are trying to accomplish.
>>
>>  > --
>>  > Roman Baumgaertner
>>  > Sr. SW Engineer-OSDC
>>  > ·T· · ·Mobile· stick together
>>  > The views, opinions and statements in this email are those of the
>>  > author solely in their individual capacity, and do not necessarily
>>  > represent those of T-Mobile USA, Inc.
>>
>>  > On Nov 8, 10:00 am, Mike88 
>><<mailto:[email protected]>[email protected]> 
>>wrote:
>>
>>  > > Hello,
>>
>>  > > Can some give me advice on what I could use to write code to transfer
>>  > > a file from one phone to another.- Hide quoted text -
>>
>
>  > > - Show quoted text -- Hide quoted text -
>
>  >
>>  - Show quoted text -
>
>--
>You received this message because you are subscribed to the Google
>Groups "Android Developers" group.
>To post to this group, send email to 
><mailto:[email protected]>[email protected]
>To unsubscribe from this group, send email to
><mailto:android-developers%[email protected]>[email protected]
>For more options, visit this group at
><http://groups.google.com/group/android-developers?hl=en>http://groups.google.com/group/android-developers?hl=en
>
>
>--
>You received this message because you are subscribed to the Google
>Groups "Android Developers" group.
>To post to this group, send email to [email protected]
>To unsubscribe from this group, send email to
>[email protected]
>For more options, visit this group at
><http://groups.google.com/group/android-developers?hl=en>http://groups.google.com/group/android-developers?hl=en


-- 
jason.vp.engineering.particle

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to