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:de.ciber.mobile.app.omozon.OmozonHTML5App.java

License:Apache License

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    //      super.setStringProperty("loadingDialog", "Please wait -- loading...");
    //        super.init();

    if (android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) {
        fixJellyBeanIssues();//from www . java 2  s . c  om
    }

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

From source file:de.ciber.mobile.html5.app.OmozonApp3.java

License:Apache License

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

    if (android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) {
        fixJellyBeanIssues();/*from w  w w .  ja va  2 s. com*/
    }

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

From source file:de.dfki.iui.opentok.OpenTokExample.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());

}

From source file:de.familienservice.mobile.Familienservice.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/app/index.html");
}

From source file:de.jezz.jukebox.JukeBox.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() + "#cordova");
    // super.loadUrl("file:///android_asset/www/index.html")
}

From source file:de.schwarmflugapp.SchwarmflugApp.java

License:Apache License

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    super.setIntegerProperty("splashscreen", R.drawable.startscreen);
    super.loadUrl(Config.getStartUrl(), 10000);
    //super.loadUrl("file:///android_asset/www/index.html")
}

From source file:dkc.phonegap.esri.Home.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("loadUrlTimeoutValue", 360000);
}

From source file:drops.tmb.com.TMB.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(), 60000);
    //super.loadUrl("file:///android_asset/www/index.html");
}

From source file:edu.cmu.sv.mobile.CMUSV.java

License:Apache License

@Override
public void onCreate(Bundle savedInstanceState) {

    super.onCreate(savedInstanceState);
    super.setIntegerProperty("splashscreen", R.drawable.splash);
    super.loadUrl(Config.getStartUrl(), 5000);
    // Set by <content src="index.html" /> in config.xml
    super.loadUrl(Config.getStartUrl());
    //super.loadUrl("file:///android_asset/www/index.html")
}

From source file:edu.cornell.shift.Shift.java

License:Apache License

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

    // Initialize this.appView
    this.init();/*from ww  w  . j a  va2 s.  c o m*/

    this.appView.clearCache(true);
    this.appView.clearHistory();

    Log.d("Shift", "Got intent: " + getIntent());
    String act = getIntent().getAction();
    if (act.equals(ACTION_GENERIC_OCR)) {
        runOcr("eng");
    } else if (act.equals(ACTION_SCALE_OCR)) {
        runOcr("7seg");
    } else {
        // Set by <content src="index.html" /> in config.xml
        //loadUrl(Config.getStartUrl());
        loadUrl(Config.getStartUrl());
    }
}