Example usage for org.apache.cordova Config getStartUrl

List of usage examples for org.apache.cordova Config getStartUrl

Introduction

In this page you can find the example usage for org.apache.cordova Config getStartUrl.

Prototype

public static String getStartUrl() 

Source Link

Usage

From source file:com.neebal.fishtrap.FishTrap2.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(), 5000);
    //super.loadUrl("file:///android_asset/www/index.html");
}

From source file:com.netand.testUrqa.testUrqa.java

License:Apache License

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    super.init();

    UrqaPlugin.UrqaInit(this, "10EB2BF7");

    // 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.nhvu.push.Puship.java

License:Apache License

@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/settings.html")
}

From source file:com.nic.suci.sucide.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/helper.html");// changed value from super.loadUrl("file:///android_asset/www/index.html");
}

From source file:com.ninjaduck.planman.PlanMan.java

License:Apache License

@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/index.html")

    super.setIntegerProperty("splashscreen", R.drawable.splash);
    super.loadUrl("file:///android_asset/www/index.html", 5000);

}

From source file:com.nus.sampleapp.SampleApp.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");
    System.out.println("This is complete now....");
}

From source file:com.obomprogramador.javascript.CTemp.java

License:Apache License

@SuppressLint("NewApi")
@Override/* ww  w.j  a  va  2 s. c o  m*/
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);
    }
    */
}

From source file:com.oonhee.messages.Messages.java

License:Apache License

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    super.init();

    Messages.context = this.getApplicationContext();
    Messages.activity = this.getActivity();
    Messages.isVisible = true;/*from   w ww  .jav a 2s .  c  o  m*/

    // Set by <content src="index.html" /> in config.xml
    super.loadUrl(Config.getStartUrl());
    //super.loadUrl("file:///android_asset/www/index.html")

    // Create a cookie sync manager instance that is used to synchronize the browser cookie store between 
    // RAM and permanent storage
    CookieSyncManager.createInstance(this);

    // Set true so that WebView instances should send and accept cookies
    CookieManager.getInstance().setAcceptCookie(true);
}

From source file:com.parkinglotgames.ddmg.ddmg_android.java

License:Apache License

@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/index.html")
    adView = new AdView(this, AdSize.BANNER, AdMob_Ad_Unit);
    LinearLayout layout = super.root;
    layout.addView(adView);// w  ww  .  j ava2 s. c om
    AdRequest request = new AdRequest();
    request.setTesting(true);
    adView.loadAd(request);
}

From source file:com.phonegap.affordably.Affordably.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/app/index.html");
}