Home
> Uncategorized > Open Map from BlackBerry Webworks
Open Map from BlackBerry Webworks
I do find that the BlackBerry invocation framework poorly documented, and confusing, since the format changed completely between the Playbook/Smartphone version and BB10 version, however, after a bit of searching and trial and error, I discovered how to open the native maps app using BlackBerry Webworks Invocation framework
blackberry.invoke.invoke({
action :”bb.action.MAP”,
type: “application/vnd.blackberry.string.address”,
data: “Paris, France” }
, onInvkeSuccess, onInvokeError);
Where onInvkeSuccess and onInvokeError are javascript functions that get called if things work, or don’t work.
This code applies to BB10 only.
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback