Good question. Let me get back to you tomorrow on that, I'm not able to provide instructions right now.
Cheers,
Bart.
--
You received this message because you are subscribed to the Google Groups "gwt-mobile-webkit-users" group.
To post to this group, send email to gwt-mobile-...@googlegroups.com.
To unsubscribe from this group, send email to gwt-mobile-webkit...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwt-mobile-webkit-users?hl=en.
Testing the sample on a Desktop browser is simple: Just open the HelloGeolocation.html file in the directory [gwt-html5-geolocation-*]/samples/HelloGeolocation/war.
Testing on an Android device is a little more complicated. You need to move the contents of the war directory (except the WEB-INF dir) to a webserver like Tomcat, Apache or Jetty. Next you need to prepare an Android Virtual Device with GPS support enabled:
1) In Android SDK, go to the 'tools' directory and start 'android';
2) The 'Android SDK and AVD Manager' starts up.
3) Click on 'Virtual Devices' (top left), next click on 'New' (top right);
4) Enter a 'name', select a 'Target', and enter a 'size' (8 will do);
5) In the 'hardware' section, click 'New' and select 'GPS support';
6) Click 'OK' and 'Create AVD'. Now your Virtual Device is prepared.
The iPhone Simulator is already good to go with GPS support, no preparations needed.
I will try to create some shellscripts which launches GWT's embedded Jetty with the sample 'war' directory.
Hope this helps!
Cheers,
Bart Guijt
E: bgu...@gmail.com
T: +31 6 30408987