Launching the Xperia Z alarm clock
问题 I'm using this block of code to launch the default Alarm Clock when tapping on my clock widget. public Intent getAlarmPackage(Context context) { PackageManager packageManager = context.getPackageManager(); Intent AlarmClockIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER); String clockImpls[][] = { { "Standard Alarm", "com.android.alarmclock", "com.android.alarmclock.AlarmClock" }, { "HTC Alarm ClockDT", "com.htc.android.worldclock", "com.htc.android.worldclock