02-26-2014 05:14 AM - edited 02-26-2014 05:18 AM
I tried by adding the blackberry.system feature and tried hasPermission(blackberry.push) also, i cannot identify whether permission is Allow / Deny ..Plz suggest how to get that.
Solved! Go to Solution.
02-28-2014 02:50 PM - edited 03-04-2014 02:20 PM
I'm not seeing a WebWorks API to do this. If I expected it to be anywhere, it would be here:
But it looks like that API wasn't fully implemented; it may be worth logging a JIRA in the Developer Issue Tracker to get this functionality added.
At the same time, there is this Cascades API which looks to do what you're looking for:
Writing a custom extension for this functionality should allow you to access this functionality:
At the same time, a colleague is currently working on an extension that should open up a lot of Qt functionality and I believe the above API should be accessible through that extension. It should be released over the coming week or two, so you could wait for that as well.
EDIT: Regarding the last point, check out this extension which provides a mechanism to tie into the majority of Qt APIs.
03-17-2014 04:01 PM
Hi there, I edited my previous response with a link here:
It is an extension that opens up access to, essentially all, Qt APIs which may be able to be leveraged for this purpose. You'll still need to integrate the extension into your application, but it should be less coding than writing a new extension.