Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Ways that 2 Android phones communicate between each other
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kristopher Micinski  
View profile  
 More options Oct 15 2012, 1:57 pm
From: Kristopher Micinski <krismicin...@gmail.com>
Date: Mon, 15 Oct 2012 13:55:18 -0400
Local: Mon, Oct 15 2012 1:55 pm
Subject: Re: [android-developers] Re: Ways that 2 Android phones communicate between each other
AIDL has nothing to do with this, other than the fact that it is also
sending information across a kernel barrier, but otherwise completely
unrelated.

Why are your requirements to use HTTP?  Is this for a class?  If so,
then read any of the hundreds of "network programming in Java"
tutorials on the internet, it is literally no different in Android,
except that you will probably do it in a service.

kris

On Mon, Oct 15, 2012 at 10:19 AM, Archana <ramalingam.arch...@gmail.com> wrote:
> But the requirements are to use HTTP. Please let me know if I have to use
> AIDL/ Binder for this scenario? Any suggestion will be really helpful to me.
> Thanks in advance!

> On Monday, October 15, 2012 5:16:19 PM UTC+3, Kristopher Micinski wrote:

>> I think I've said this before, but you probably do _not_ want to use
>> an HTTP stream socket connection, that will be an excellent way to
>> kill the device's battery and most data providers block ports anyway.

>> kris

>> On Mon, Oct 15, 2012 at 5:14 AM, Archana <ramalinga...@gmail.com> wrote:
>> > Hi, I just want 2 android phone instances to communicate via HTTP
>> > protocol.
>> > Phone 1 does HTTP Post of a file to phone2, which does some processing
>> > and
>> > updates file. This has to be again sent to phone1. This process should
>> > go
>> > on.

>> > On Saturday, October 13, 2012 11:37:28 AM UTC+3, Andrew Mackenzie wrote:

>> >> Depends on size of what you want to send, and how long the connection
>> >> should last....

>> >> If its a list you want:
>> >> SMS
>> >> Nfc - he needed
>> >> Bump
>> >> QR code on screen -> QR code scanner
>> >> Audio
>> >> Bluetooth
>> >> Wifi direct
>> >> Wifi via 'relay' server

>> >> If its a solution you want, then maybe give us some more information
>> >> about
>> >> what you want to do.....

>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-d...@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscribe@googlegroups.com
>> > For more options, visit this group at
>> > 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.