forked from github/cordova-android
Expose certain methods from DroidGap to JavaScript so that a PhoneGap web app can better control program configuration and flow.
This commit is contained in:
@@ -255,6 +255,7 @@ public class DroidGap extends PhonegapActivity {
|
||||
appView.addJavascriptInterface(this.mKey, "BackButton");
|
||||
appView.addJavascriptInterface(this.callbackServer, "CallbackServer");
|
||||
|
||||
this.addService("App", "com.phonegap.App");
|
||||
this.addService("Geolocation", "com.phonegap.GeoBroker");
|
||||
this.addService("Device", "com.phonegap.Device");
|
||||
this.addService("Accelerometer", "com.phonegap.AccelListener");
|
||||
|
||||
Reference in New Issue
Block a user