This example throws an Exception (android.content.ActivityNotFoundException: No Activity found to handle Intent)
Intent i = new Intent(AlarmClock.ACTION_SET_ALARM);
i.putExtra(AlarmClock.EXTRA_MESSAGE, "New Alarm");
i.putExtra(AlarmClock.EXTRA_HOUR, hours);
i.putExtra(AlarmClock.EXTRA_MINUTES, mins);
startActivity(i);
on my version of SGS2 Android 2.3.3. Do you have any ideas what might be wrong? Another request for intent (for example, selecting a contact from the address book) works fine.
Thank you Artjom
source
share