DroidGap

import com.phonegap.DroidGap;
   
  import android.app.Activity;
  import android.os.Bundle;
   
  public class Main extends DroidGap {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
   
  // set splash screen
  super.setIntegerProperty("splashscreen", R.drawable.splash);
  // get the main page
  super.loadUrl("file:///android_asset/www/index.html");
   
  }
  }
posted @ 2014-08-11 19:08  wanqi  阅读(329)  评论(0编辑  收藏  举报