Update geolocation to follow W3C spec, add comments, add error checking.

This commit is contained in:
Bryce Curtis
2010-09-22 14:47:52 -05:00
parent 063e189bb7
commit edfa41c9f9
6 changed files with 474 additions and 231 deletions
+1 -1
View File
@@ -282,10 +282,10 @@ public class DroidGap extends Activity {
Storage cupcakeStorage = (Storage)this.pluginManager.addPlugin("com.phonegap.Storage");
cupcakeStorage.setStorage(appPackage);
this.pluginManager.addPlugin("com.phonegap.GeoBroker");
}
this.addService("Geolocation", "com.phonegap.GeoBroker");
this.addService("Device", "com.phonegap.Device");
this.addService("Accelerometer", "com.phonegap.AccelListener");
this.addService("Compass", "com.phonegap.CompassListener");