2013年4月13日

android判断phonegap是否联网且加载super.loadUrl网址【转】

摘要: public void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);super.setIntegerProperty("splashscreen", R.drawable.splash);ConnectivityManager cwjManager=(ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);NetworkInfo info = cwjManager.getActiveNetworkI 阅读全文

posted @ 2013-04-13 22:19 liyingming 阅读(306) 评论(0) 推荐(0) 编辑

导航