Reputation: 21
I'm trying to set and alarm in the default android clock, com.android.deskclock, using adb. I see that the clock has the intent com.android.action.SET_ALARM with extras EXTRA_HOUR and EXTRA_MINUTES, but I don't know how to send this through adb.
I've tried:
adb shell am broadcast -n com.android.deskclock/.HandleApiCalls -a com.android.action.SET_ALARM --ei android.intent.extra.alarm.HOUR 17 --ei android.intent.extra.alarm.MINUTES 51
Upvotes: 1
Views: 479