Monday, October 8, 2012

Re: [android-developers] HTTP server in Android

It's sort of dubious as to why you would do a research project using
an HTTP server in Android, what you probably want is cross device
messaging, in which case your purposes would be much better served
using GCM

kris

On Mon, Oct 8, 2012 at 3:01 AM, Archana <ramalingam.archana@gmail.com> wrote:
> I m doing a research project. The requirement is to implement HTTP server. I
> will look at GCM as well. Any help is welcome.
> Thanks!
>
> On Monday, October 8, 2012 9:41:34 AM UTC+3, Kristopher Micinski wrote:
>>
>> Listen... Why do you want to implement an HTTP server in Android...
>>
>> There are just, so many reasons this is a bad idea. The only
>> acceptable one might be "this is for fun and I'm just doing it to play
>> around."
>>
>> But for any kind of real application, you'd want to do something else,
>> and I'd really urge you to look into something like GCM.
>>
>> kris
>>
>> On Thu, Oct 4, 2012 at 1:57 AM, Archana <ramalinga...@gmail.com> wrote:
>> > Hi, I want to develop HTTP server in Android. I used the link
>> > https://gist.github.com/1893396#gistcomment-582451 NanoHTTPD. But when I
>> > open the page http://10.0.2.15:8080, I am getting WebPage not found. In
>> > the
>> > logs, I am getting
>> >
>> > 10-04 05:55:39.106: E/Tab(499): onReceivedError -6
>> > http://10.0.2.15:8697/
>> > The connection to the server was unsuccessful.
>> >
>> > Can anyone please tell me what the error is about? Or is there any other
>> > way
>> > to implement a HTTP server in Android?
>> >
>> > Thanks in advance!
>> >
>> > --
>> > 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 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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate