Intent intent=null;
//判断手机系统的版本 即API大于10 就是3.0或以上版本
if(android.os.Build.VERSION.SDK_INT>10){
// intent = new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS);
intent = new Intent(Settings.ACTION_APPLICATION_SETTINGS);
//intent = new Intent();
}else{
intent = new Intent();
//ManageApplications
ComponentName component = new ComponentName("com.android.settings","com.android.settings.ManageApplications");
intent.setComponent(component);
intent.setAction("android.intent.action.VIEW");
}
//判断手机系统的版本 即API大于10 就是3.0或以上版本
if(android.os.Build.VERSION.SDK_INT>10){
// intent = new Intent(android.provider.Settings.ACTION_WIRELESS_SETTINGS);
intent = new Intent(Settings.ACTION_APPLICATION_SETTINGS);
//intent = new Intent();
}else{
intent = new Intent();
//ManageApplications
ComponentName component = new ComponentName("com.android.settings","com.android.settings.ManageApplications");
intent.setComponent(component);
intent.setAction("android.intent.action.VIEW");
}
this.startActivity(intent);