mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Change loadUrl(javascript...) to use new callback mechanism.
This commit is contained in:
@@ -244,7 +244,7 @@ public class DroidGap extends Activity {
|
||||
|
||||
if (android.os.Build.VERSION.RELEASE.startsWith("1."))
|
||||
{
|
||||
cupcakeStorage = new Storage(appView);
|
||||
cupcakeStorage = new Storage(appView, this);
|
||||
geo = new GeoBroker(appView, this);
|
||||
appView.addJavascriptInterface(cupcakeStorage, "droidStorage");
|
||||
appView.addJavascriptInterface(geo, "Geo");
|
||||
|
||||
Reference in New Issue
Block a user