Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.fxteam.widget;
- import android.os.Bundle;
- import org.apache.cordova.*;
- //fx
- import android.util.Log;
- public class MainActivity extends CordovaActivity
- {
- @Override
- public void onCreate(Bundle savedInstanceState)
- {
- //fx widget
- Log.e("TEST", "MainActivity123");
- super.onCreate(savedInstanceState);
- // enable Cordova apps to be started in the background
- Bundle extras = getIntent().getExtras();
- if (extras != null && extras.getBoolean("cdvStartInBackground", false)) {
- moveTaskToBack(true);
- }
- // Set by <content src="index.html" /> in config.xml
- loadUrl(launchUrl);
- HttpRequest request = new HttpRequest();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement