06-12-2014 07:14 AM
I'm trying to open the notification settings menu of our app with an invocation. I can open the general notification settings using "settings://notification" for the uri, but invoking the app-specific screen fails.
InvokeRequest request; request.setAction("bb.action.OPEN"); request.setMimeType("settings/view"); request.setTarget("sys.settings.card"); PackageInfo packageInfo request.setUri("settings://notification/applicatio
n?id=" + packageInfo.name()); reply = invokeManager.invoke(request); connect(reply, SIGNAL(finished()), this, SLOT(onFinished()));
I've followed these instructions: https://developer.blackberry.com/native/documentat
I tried hardcoding our app id into the invocation uri instead of using PackageInfo, but that didn't work either. Has anyone got this working?
Solved! Go to Solution.
06-16-2014 03:59 PM
What version of BlackBerry 10 OS are you using? What behaviour are you seeing? Does the Settings app fail to load or does it open to the screen that lists notifications for all applications?
07-04-2014 07:02 AM
I'm encountering the same issue.
OS Version: 10.2.1.3175
"settings://notification/application?id=" + packageInfo.name())
--> Main Settings opens, i.e. it fails to load the applications notifications settings screen
--> Notifications opens, i.e. Settings->Notifications
07-04-2014 09:58 AM
I've been able to reproduce this in BlackBerry OS 10.2.1 as well. This has already been fixed in BlackBerry OS 10.3.
10-23-2015 12:33 PM
I've got another question regarding the invocation of the notification settings:
There are notification settings for each profile: Normal, Silent, Bedside, Phone Calls Only, etc.
The invocation above opens the Normal profile. Is it possible to invoke the other profiles as well?