문제

Hi I am developing an application to set alarm in Blackberry 10 cascades. I have searched a lot and i found setting Remainder. But I want to set Alarm and an mp3 file as Alarm tone. Is there any way to this in Blackberry 10 using Cascades.

도움이 되었습니까?

해결책

No, this is not possible. There is no API to programatically set the user's alarm.

However, you can invoke the clock application to a specific view-state (alarm screen) and allow the user to set the alarm themselves.

Here's how to invoke an app: https://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/sending_invocation.html

Here's the info on how to invoke the alarm clock: https://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/clock.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top