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:wvw.mobibench.MobiBenchEngineJS.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")

    init();/*from w w w.  j  a v  a  2s. co m*/
}

From source file:xtreme.com.push.push.java

License:Apache License

@Override
public void onCreate(Bundle savedInstanceState) {
    //FragmentManager fm = getFragmentManager();

    //pushConnector = PushConnector.init( getFragmentManager(), "eb22f3b665dca2c68a", "33474064823");
    //pushConnector.
    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");

    /* IntentFilter intentFilter = new IntentFilter(
        "ie.imobile.extremepush.action_message");
            /*w  w  w. j av a2s  . c  om*/
    mReceiver = new BroadcastReceiver() {
    @Override
    public void onReceive(Context context, Intent intent) {
        //extract our message from intent
       // String msg_for_me = intent.getStringExtra("some_msg");
        //log our message value
        Log.i("InchooTutorial", "sd");
    }
            
            
    };
            
    this.registerReceiver(mReceiver, intentFilter);  */

}

From source file:za.co.britehousessd.kmfs.KonicaMinolta.java

License:Apache License

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

    //   super.appView.getSettings().setUseWideViewPort(true);
    //   super.appView.getSettings().setLoadWithOverviewMode(true);
    // Set by <content src="index.html" /> in config.xml

    //Parse.initialize(this, "xx3F9sJzxYaCSybtZBZGB4TNK2mTnkZk32Z9WRR0", "0JLfqdAW8DfxBLGLPzN7ZrBAty82drdQQLAvVDMU"); 
    //PushService.subscribe(this, "", KonicaMinolta.class);
    // super.loadUrl("file:///android_asset/www/test.html");
    setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
    this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
    super.setIntegerProperty("loadUrlTimeoutValue", 60000);
    super.loadUrl(Config.getStartUrl());
    this.appView.getSettings().setRenderPriority(RenderPriority.HIGH);
    this.appView.getSettings().setPluginState(android.webkit.WebSettings.PluginState.ON_DEMAND);

    /*     /*from  www.j a  v a 2  s .  c o m*/
         getWindow().setFlags(
      WindowManager.LayoutParams.FLAG_FULLSCREEN,                   
      WindowManager.LayoutParams.FLAG_FULLSCREEN
      );*/
}