@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init(); super.setIntegerProperty("splashscreen", R.drawable.splash); // Set by <content src="index.html" /> in config.xml super.loadUrl("file:///android_asset/www/index.html", 3000); // super.loadUrl(Config.getStartUrl()); // super.loadUrl("file:///android_asset/www/index.html") }
@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); }