I have an application that needs to send messages, repeatedly to the server. I’m currently using AJAX from the phone’s browser and it works fairly reliably, but, as with all things cell-phone, not 100%. I’m curious if using Android and opening a socket to the server would give me any additional reliability, or if it would suffer from the same communication troubles that hinder the AJAX transmission.
all thoughts appreciated.
If you are using AJAX in the phone’s browser, it sounds like you have a browser-based app. Are you sure you want to require the user to install extra software to use your webapp?
On the other hand, if this is already a custom application that just uses the browser for its user interface, then nevermind. You will still need to wire your Java code in a Javascript harness, but that isn’t too bad.