mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
Working on the API, doing a 5 PM build to try to get this rolling along
- Got Vibrate to work - 411 works out of the box
This commit is contained in:
@@ -91,8 +91,10 @@ public class DroidGap extends Activity {
|
||||
{
|
||||
// The PhoneGap class handles the Notification and Android Specific crap
|
||||
PhoneGap gap = new PhoneGap(this, mHandler, appView);
|
||||
appView.addJavascriptInterface(gap, "Droid");
|
||||
|
||||
GeoBroker geo = new GeoBroker(appView, this);
|
||||
// This creates the new javascript interfaces for PhoneGap
|
||||
appView.addJavascriptInterface(gap, "Device");
|
||||
appView.addJavascriptInterface(geo, "Geo");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user