I suppose the separation is, what do you want the app on the device to do, and what will the website do (Edit - will be battery hungry!!)
Hi Rob, have a look here: http://wiki.maemo.org/PyMaemo/Using_Location_API I used this for my small Wardriving script. If you need help, let me know. Wim