Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
Developer
Posts: 21
Registered: ‎07-16-2012
My Device: Playbook, Z10, Z30
My Carrier: Rogers

Intent Set_Alarm throws error

I have an app that has no problem setting alarms when run on Android devices when using an intent to set_alarm.

 

android.intent.action.SET_ALARM
android.intent.extra.alarm.HOUR
android.intent.extra.alarm.MINUTES

 

The following permission is set in the manifest...
com.android.alarm.permission.SET_ALARM

 

However on a BB10 device (running the latest 10.2.1) I get the following error...
An error has occured in sub: android.content.ActivityNotFoundException: No Activity found to handle Intent {act=android.intent.action.SET_ALARM flg=0x2000 (has extras)}

 

I have read the Blackberry Android Runtime docs and find no mention of this intent being vaild or invalid.

Highlighted
Developer
Posts: 21
Registered: ‎07-16-2012
My Device: Playbook, Z10, Z30
My Carrier: Rogers

Re: Intent Set_Alarm throws error

Anyone?

Are there any other methods that are BBRY compatible that write to the native alarm clock?