本文整理汇总了Java中org.apache.cordova.DroidGap类的典型用法代码示例。如果您正苦于以下问题:Java DroidGap类的具体用法?Java DroidGap怎么用?Java DroidGap使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
DroidGap类属于org.apache.cordova包,在下文中一共展示了DroidGap类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initialize
import org.apache.cordova.DroidGap; //导入依赖的package包/类
@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);
}
示例2: setDroidGapObject
import org.apache.cordova.DroidGap; //导入依赖的package包/类
public static void setDroidGapObject(DroidGap paramDroidGap)
{
if (droidGap == null)
{
droidGap = paramDroidGap;
prefs = droidGap.getSharedPreferences(AnalyticsConfigurator.class.getName(), 0);
}
}
示例3: TestChromeClient
import org.apache.cordova.DroidGap; //导入依赖的package包/类
public TestChromeClient(DroidGap arg0) {
super(arg0);
LOG.d("userwebview", "TestChromeClient()");
}
示例4: TestViewClient
import org.apache.cordova.DroidGap; //导入依赖的package包/类
public TestViewClient(DroidGap arg0) {
super(arg0);
LOG.d("userwebview", "TestViewClient()");
}
示例5: TestViewClient
import org.apache.cordova.DroidGap; //导入依赖的package包/类
public TestViewClient(DroidGap arg0) {
super(arg0);
}