@Override
public void initialize(CordovaInterface cordova, CordovaWebView webView)
{
super.initialize(cordova, webView);
Log.v("Cambie", "Initializing");
mDroidGap = (DroidGap)cordova.getActivity();
mBar = mDroidGap.getActionBar();
/* Hide the ActionBar until "init" is called from JS */
mDroidGap.runOnUiThread(new Runnable() {
@Override
public void run() {
mBar.hide();
}
});
mAssets = mDroidGap.getAssets();
mMenuItems = new HashMap<String, Actionable>();
Actionable.setAssetManager(mAssets);
}
java类org.apache.cordova.DroidGap的实例源码
Cambie.java 文件源码
项目:cordova-plugin-cambie
阅读 24
收藏 0
点赞 0
评论 0
AnalyticsConfigurator.java 文件源码
项目:12306-android-Decompile
阅读 29
收藏 0
点赞 0
评论 0
public static void setDroidGapObject(DroidGap paramDroidGap)
{
if (droidGap == null)
{
droidGap = paramDroidGap;
prefs = droidGap.getSharedPreferences(AnalyticsConfigurator.class.getName(), 0);
}
}
AnalyticsConfigurator.java 文件源码
项目:12306-android-Decompile
阅读 30
收藏 0
点赞 0
评论 0
public static void setDroidGapObject(DroidGap paramDroidGap)
{
if (droidGap == null)
{
droidGap = paramDroidGap;
prefs = droidGap.getSharedPreferences(AnalyticsConfigurator.class.getName(), 0);
}
}
userwebview.java 文件源码
项目:cordova-android-chromeview
阅读 26
收藏 0
点赞 0
评论 0
public TestChromeClient(DroidGap arg0) {
super(arg0);
LOG.d("userwebview", "TestChromeClient()");
}
userwebview.java 文件源码
项目:cordova-android-chromeview
阅读 26
收藏 0
点赞 0
评论 0
public TestViewClient(DroidGap arg0) {
super(arg0);
LOG.d("userwebview", "TestViewClient()");
}
whitelist.java 文件源码
项目:cordova-android-chromeview
阅读 27
收藏 0
点赞 0
评论 0
public TestViewClient(DroidGap arg0) {
super(arg0);
}