@Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   super.setIntegerProperty("splashscreen", R.drawable.splash);
   super.loadUrl("file:///asset/www/index.html", 50000);
   // setContentView(R.layout.activity_main);
 }
 @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")
 }
Esempio n. 3
0
 /** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   super.setIntegerProperty("splashscreen", R.drawable.splash);
   super.loadUrl("file:///android_asset/www/index.html", 3000);
 }