
Originally Posted by
petrib
Note that the marked text (above) requires a few things for a Java app, which depending on the platform might be difficult or impossible. Such things are, at least:
- you must be able to automatically start the app at boot time (if the MIDlet is not running, it very well cannot monitor the location and notify you when you get close to locations where it should be notifying you)
- the application must be able run in the background (assuming you'd intend the user to be able to do something else with their phone than just keeping your MIDlet in the foreground)
- you may have to set up also a separate "watchdog" to relaunch your app, if it is closed for some reason or another without rebooting the phone
- or the operating system the MIDlet runs on, must allow for setting up an alert/alarm/notification or something that can wake up your MIDlet when required
- constant GPS coordinate polling will consume battery power more than the phone user probably would wish for
Without the above features, the app will not be very useful (the user would always have to remember to start it manually, and it has to be running in the foreground for it to detect the location).
I'd say, that you can write such an app for Symbian/S60 based Nokia phones, but possibly not entirely using Java (autostarting might be an issue, as well as the watchdog service process where you'd probably would have to write the code using C++, instead). Battery consumption would still be an issue.