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 <[email protected]> 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 <[email protected]> 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 [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
>
> --
> 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

-- 
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