the bones of my project at live now at http://dannyw.hostwebs.com at the moment my site knows if you are viewing the page from a mobile device if you are you get taken to the game menu (which is just a link right now) and also knows if the site has been launched from the home screen or safari browser.
all the game dose at the moment is puts a mark at the users location and tracks the users position in real time. one issues at the moment is that the map doesn't fill the whole screen it has a white section at the top i hope i can make this section of white smaller stop the page being bigger than the iPhone screen.
if the site is opened from a desktop the user is told that the site is for mobile devices will change this to an information page about the app and how it works etc
http://www.ibm.com/developerworks/library/x-html5mobile1/index.html
ReplyDeletethis site has helpful stuff about geolocation. and the .watchposition scripts
one other issues ive found it that links open in safari and not within the web app ive been reading a solution to this is to make fake links using AJAX so will be looking into that