Esempio n. 1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   // Set by <content src="index.html" /> in config.xml
   super.loadUrl(Config.getStartUrl());
   // super.loadUrl("file:///android_asset/www/app/index.html");
 }
Esempio n. 2
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   super.init();
   // Set by <content src="index.html" /> in config.xml
   super.loadUrl(Config.getStartUrl());
 }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   super.setIntegerProperty("splashscreen", R.drawable.splash);
   // Set by <content src="index.html" /> in config.xml
   super.loadUrl(Config.getStartUrl(), 10000);
   // super.loadUrl("file:///android_asset/www/index.html")
 }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   super.init();
   // Set by <content src="index.html" /> in config.xml
   super.loadUrl(Config.getStartUrl());
   // super.loadUrl("file:///android_asset/www/index.html");
   if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
     WebView.setWebContentsDebuggingEnabled(true);
   }
 }
Esempio n. 5
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   super.init();
   setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
   // Set by <content src="index.html" /> in config.xml
   super.loadUrl(Config.getStartUrl());
   // super.loadUrl("file:///android_asset/www/sharedLayer/shared.html");
   super.loadUrl("file:///android_asset/www/index.html");
   super.setIntegerProperty("loadUrlTimeoutValue", 60000);
 }