Mmm, Im able to reach the WS from the browser, but only with WIFI, with my operator network I cant reach that.. the funny thing is that the application work once two days ago, and yesterday in the other phone.
On Nov 10, 5:05 pm, Kostya Vasilyev <[email protected]> wrote: > Can you try opening the web service URL from the phone browser, to see > if it's actually reachable through your cellular provider? > > -- Kostya > > 10.11.2010 23:41, William Añez пишет: > > > > > > > > > > > Not exactly, but my app have two kind of connections, one of those is > > a Socket that Im oppening in a Android Service of my own, in a Thread, > > this socket always is running sending a PING command each 5 minutes, > > for that way I spect to receive some messages for my application. > > > The other connection are thos web services I have to call for > > notificactions. > > > The socket part always work, no matter if Im running the application > > on the phone or on the emulator, this ALWAYS work just fine, but the > > WS on the phone always give me the exception: > > > java.net.SocketTimeoutException: The operation timed out > > > On Nov 10, 4:34 pm, Kostya Vasilyev<[email protected]> wrote: > >> I wouldn't discard issues with the operator - quite the opposite, since > >> you now have consistent misbehavior on two phones connected to the > >> operator's network. > > >> The emulator doesn't go through the cellular network, so it's different > >> from both phones, which are the same. > > >> Does you code make an outgoing connection, or expect an incoming one > >> (server running on the phone)? > > >> -- Kostya > > >> 10.11.2010 18:48, William Añez пишет: > > >>> I just discovered that the problem comes with the fact of reinstalling > >>> the application, I mean, now the two phones are giving the Operation > >>> Timeout, The phone that was working yesterday now is not, the only > >>> thing I did was uninstall the applciation and reinstall againg using > >>> Eclipse, now gives me the timeout all the time, mean while the > >>> emulator works perfectly, so I think we can discard an Operator Issue. > >>> On Nov 10, 10:31 am, Julie Andrews<[email protected]> wrote: > >>>> On Wed, Nov 10, 2010 at 6:40 PM, William Añez<[email protected]> > >>>> wrote: > >>>>> Hi, I have two phones (Motorola Milestone) and I has developed a > >>>>> simple application that does some network operations using web > >>>>> services, the applications runs perfectly calling a method on the > >>>>> emulator and in the phones, but just in one of the phones, in the > >>>>> other one i always get a "operation timeout exception". > >>>>> I have checked the network configuration in the 2 phones and is > >>>>> identical, and the two phones has the same operator with unlimited > >>>>> network plan, Im little lost here, and I dont know what else to check > >>>>> or try. > >>>>> If anyone has an idea or a possible explanation to this behavior, I > >>>>> will appreciate your help. > >>>>> -- > >>>>> 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]<android-developers%2Bunsubs > >>>>> [email protected]> > >>>>> For more options, visit this group at > >>>>>http://groups.google.com/group/android-developers?hl=en > >>>> -- > >>>> Juliehttp://tradinglogically.blogspot.com<http://tradinglogically.blogspot.com>http://vikitionary.blogspot.comhttp://gandhi-the-man-of-millenium.blo... > >> -- > >> Kostya Vasilyev -- WiFi Manager + pretty widget > >> --http://kmansoft.wordpress.com > > -- > Kostya Vasilyev -- WiFi Manager + pretty widget > --http://kmansoft.wordpress.com -- 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

