Reconnect to GPRS from J2ME

Posted by ouzz on Stack Overflow See other posts from Stack Overflow or by ouzz
Published on 2011-02-08T08:03:47Z Indexed on 2011/02/10 15:25 UTC
Read the original article Hit count: 380

Filed under:
|
|

Dear All,

I have a little problem. I have developed a midlet application that call some webservices through internet. I'm using cell phones with GPRS connection. For some time it runs as I wanted, run the apps, call the webservices through the GPRS, it returns the result, call the webservices again, and so on.

But say, I call the webservices and after the apps return the result I needed, I left it for a while. The next time I continue to access the webservices, the apps takes a while to connect through the GPRS. In nokia, it is marked with a G in a box. In SE it is marked with a glowing globe. This 'G' in the box or the glowing globe will appear after a while or won't appear at all, but the apps is still trying to connect to the internet.

Does it come from my apps or it come from the cell phone? And could I know [or the apps knows] that at the moment the apps tries to connect the GPRS is ready?

Thanks a lot for your responses...

© Stack Overflow or respective owner

Related posts about java-me

Related posts about midlet