List of usage examples for org.apache.cordova Config getStartUrl
public static String getStartUrl()
From source file:com.phonegap.russiasport.Russiasport.java
License:Apache License
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init(); //super.setIntegerProperty("splashscreen", R.drawable.screen); // Set by <content src="index.html" /> in config.xml super.loadUrl(Config.getStartUrl()); //super.loadUrl("file:///android_asset/www/index.html") }
From source file:com.phonegap.tasks.Tasks.java
License:Apache License
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init(); GestureOverlayView view = new GestureOverlayView(this); view.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT, 1)); setContentView(view);//from w w w . ja va 2 s .c o m view.addView((View) appView.getParent()); // adds the PhoneGap browser view.getChildAt(0).setLayoutParams(new FrameLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT, 1)); setContentView(view); AnnoUtils.setEnableGesture(this, view, true); // Set by <content src="index.html" /> in config.xml super.loadUrl(Config.getStartUrl(), 120000); super.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); //super.loadUrl("file:///android_asset/www/index.html") }
From source file:com.phonegapExample.phonegapExample.java
License:Apache License
@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") }
From source file:com.pixiboard.pxbMobile.Pixiboard.java
License:Apache License
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init(); super.setIntegerProperty("loadUrlTimeoutValue", 70000); // Set by <content src="index.html" /> in config.xml super.loadUrl(Config.getStartUrl()); //super.loadUrl("file:///android_asset/www/index.html"); }
From source file:com.planbee.android.PlanBee.java
License:Apache License
@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") getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); /* super.setIntegerProperty("splashscreen", R.drawable.splash); super.loadUrl(Config.getStartUrl(), 10000);*/ }
From source file:com.polytech.bondenrog.appligestionprets.AppliGestionPrets.java
License:Apache License
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.setIntegerProperty("splashscreen", R.drawable.splash); super.loadUrl(Config.getStartUrl(), 10000); }
From source file:com.popcorn.kony.CordovaApp.java
License:Apache License
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init(); // Set by <content src="index.html" /> in config.xml super.loadUrl(Config.getStartUrl()); KonyCordovaHelper.init(appView, this); }
From source file:com.popcorn.kony.Kony.java
License:Apache License
@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"); KonyCordovaHelper.init(appView, this); }
From source file:com.propertybees.bangalore.councillors.ContactBangalore.java
License:Apache License
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init(); super.setIntegerProperty("splashscreen", R.drawable.bbmp_logo); // Set by <content src="index.html" /> in config.xml super.loadUrl(Config.getStartUrl()); //super.loadUrl("file:///android_asset/www/index.html") }
From source file:com.ps.mkmoves.MkMoves.java
License:Apache License
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); super.init(); getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); // Set by <content src="index.html" /> in config.xml super.loadUrl(Config.getStartUrl()); //super.loadUrl("file:///android_asset/www/index.html") }