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.

Reply
BlackBerry Development Advisor
rymcdonald
Posts: 150
Registered: ‎01-17-2012
My Device: BlackBerry Z10

PIM Integration and the Invocation Framework

This thread is reserved for questions or comments relating to the "PIM Integration and the Invocation Framework" online lesson and lab.

Please use plain text.
New Contributor
kolaricb
Posts: 9
Registered: ‎09-11-2011
My Device: Z10

Re: PIM Integration and the Invocation Framework

Hi Im trying to use invokation with notification.

Im passing 

var title = name;
var convStr = unescape(encodeURIComponent(name));
var options = {
body : alertString,
tag: "com.bb.walkny",
target: "com.bb.walkny",
action: "bb.action.OPEN",
type: "text/plain",
data: convStr,
onInvoked : function() {},
onerror : function() { alert("The notification could not be created!"); }
}
var n = new Notification(title, options);

 

to notification and i can open app from my notification.

Questen how i set up app that open and do some work from notification, foe example to pass data from notification  to app?

Please use plain text.
New Contributor
kolaricb
Posts: 9
Registered: ‎09-11-2011
My Device: Z10

Invocation Framework

Hi Im trying to use invokation with notification.

Im passing 

var title = name;
var convStr = unescape(encodeURIComponent(name));
var options = {
body : alertString,
tag: "com.bb.walkny",
target: "com.bb.walkny",
action: "bb.action.OPEN",
type: "text/plain",
data: convStr,
onInvoked : function() {},
onerror : function() { alert("The notification could not be created!"); }
}
var n = new Notification(title, options);

 

to notification and i can open app from my notification.

Questen how i set up app that open and do some work from notification, foe example to pass data from notification  to app?

Please use plain text.
New Contributor
kolaricb
Posts: 9
Registered: ‎09-11-2011
My Device: Z10

Re: PIM Integration and the Invocation Framework

Hi Im trying to use invokation with notification.

Im passing 

var title = name;
var convStr = unescape(encodeURIComponent(name));
var options = {
body : alertString,
tag: "com.bb.walkny",
target: "com.bb.walkny",
action: "bb.action.OPEN",
type: "text/plain",
data: convStr,
onInvoked : function() {},
onerror : function() { alert("The notification could not be created!"); }
}
var n = new Notification(title, options);

 

to notification and i can open app from my notification.

Questen how i set up app that open and do some work from notification, foe example to pass data from notification  to app?

Please use plain text.