Originally posted by Henk Rog:
And how can I ping in J2ME?
You post a byte of data to the server via HTTP and receive the response. If the MIDlet throws an exception in the process, the ping is failed and the Timer re-pings in several minutes.
If you do not want to ping, you can have the server push the data to you via SMS messages or even SIP. But that is a whole new programming paradigm.