[android-developers] Re: Android Web Server

2010-10-10 Thread % rm
We had apache web server running in nokia s60 phones. Google for raccoon or Johan Wikman. A gw handled the nat issue. The battery ran out quite fast but because we can is a good reason to give ita try! br, risto On 7 loka, 20:19, Bret Foreman bret.fore...@gmail.com wrote: I've run a web

Re: [android-developers] Re: Android Web Server

2010-10-10 Thread Miguel Morales
I'd much rather package an MQ client library like RabbitMQ with my android application and avoid the overhead of HTTP/Web server and communicate via lightweight packets using an always open socket. I suspect this is how C2DM works. On Thu, Oct 7, 2010 at 11:16 PM, % rm risto.mono...@gmail.com

[android-developers] Re: Android Web Server

2010-10-08 Thread kypriakos
Hey Bret, I agree with you - the shift towards p2p will eventually enable this architecture. What did you use for a web server? On Oct 7, 1:19 pm, Bret Foreman bret.fore...@gmail.com wrote: I've run a web server from a PC using my phone as a gateway and the results were mixed. Some carriers

Re: [android-developers] Re: Android Web Server

2010-10-07 Thread Miguel Morales
What about service providers which don't allow or firewall most if not all incoming ports? Can you still act a server? But yeah, I guess for private networks you could do some interesting stuff. On Wed, Oct 6, 2010 at 8:09 PM, kypriakos demet...@ece.neu.edu wrote: To answer Miguel's

Re: [android-developers] Re: Android Web Server

2010-10-07 Thread xiaoxiong weng
as long as you have access to a public server, you could always do a tunnel. I used to send stuff behind nat through ssh On Thu, Oct 7, 2010 at 2:22 AM, Miguel Morales therevolti...@gmail.comwrote: What about service providers which don't allow or firewall most if not all incoming ports? Can

Re: [android-developers] Re: Android Web Server

2010-10-07 Thread Miguel Morales
I'd figure that would kill performance. Right? On Wed, Oct 6, 2010 at 11:35 PM, xiaoxiong weng ad...@littlebearz.com wrote: as long as you have access to a public server, you could always do a tunnel. I used to send stuff behind nat through ssh On Thu, Oct 7, 2010 at 2:22 AM, Miguel Morales

[android-developers] Re: Android Web Server

2010-10-07 Thread gcstang
I'd be interested in hearing about the results as well. On Oct 7, 1:38 am, Miguel Morales therevolti...@gmail.com wrote: I'd figure that would kill performance.  Right? On Wed, Oct 6, 2010 at 11:35 PM, xiaoxiong weng ad...@littlebearz.com wrote: as long as you have access to a public

[android-developers] Re: Android Web Server

2010-10-07 Thread kypriakos
Excellent pt - we are testing all that using p2p technologies in our middleware. At least for certain ports (http 80 8080 or so) we can go through. Also looking into NAT hole punching in those cases. And yes, in private networks (within home environments) is another target. On Oct 7, 2:22 am,

[android-developers] Re: Android Web Server

2010-10-07 Thread kypriakos
I will post what we find out here - thanks guys On Oct 7, 12:07 pm, kypriakos demet...@ece.neu.edu wrote: Excellent pt - we are testing all that using p2p technologies in our middleware. At least for certain ports (http 80 8080 or so) we can go through. Also looking into NAT hole punching

[android-developers] Re: Android Web Server

2010-10-07 Thread Bret Foreman
I've run a web server from a PC using my phone as a gateway and the results were mixed. Some carriers will sense and block the inbound connection and others will not. But it's against the TOS for all carriers. That is set to change as more people do pier-to-pier web services, but it's not reliable

[android-developers] Re: Android Web Server

2010-10-06 Thread Bret Foreman
I've been looking at doing the same thing so one of my apps can offer web services. I'll be interested to hear what people think. On Oct 6, 2:59 pm, Miguel Morales therevolti...@gmail.com wrote: You want to run an HTTP server on Android?  Why? -- You received this message because you are

[android-developers] Re: Android Web Server

2010-10-06 Thread kypriakos
To answer Miguel's question(s): (1) Because I can ;) thanks to iJetty. (2) We are building peer-to-peer composite service middleware for mobile devices. Services such as shared calendars across trusted groups or phone cam etc. I have done this successfully on Nokia Internet Tablets (Java CDC)