Im using alarm intent to set an alarm
Code :
Intent i = new Intent(AlarmClock.ACTION_SET_ALARM);
i.putExtra(AlarmClock.EXTRA_MESSAGE, meet);
i.putExtra(AlarmClock.EXTRA_HOUR, hour);
i.putExtra(AlarmClock.EXTRA_MINUTES, min);
startActivity(i);
As i have already selected the time ,date and the message from my app i don't want to make any changes So in the alarm app as this intent is fired.
I have to press the OK button every time i set an alarm.
I don't want this screen to popup, and press the Ok
button again and again. what should I do?
Is there a way to send OK request in the intent itself?