使用setComponent來啓動一個activity
ComponentName con = ComponentName.unflattenFromString("com.android.settings/.SoundSettings");
Intent localIntent = new Intent("android.intent.action.MAIN");localIntent.setComponent(con);
localIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
| Intent.FLAG_ACTIVITY_SINGLE_TOP
| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
this.mContext.startActivity(localIntent);