06-13-2013 09:30 AM
I want to implement view notifications like (email notifications) to my Blackberry playbook app using air.
i didnt find any example in the google on notifications for playbook.
can u please provide me the example code , how to implement the notifications for Blackberry playbook.
06-13-2013 04:09 PM
I believe the notification API only exists for the BlackBerry 10 SDK/OS. Here is a link to it - https://developer.blackberry.com/air/apis/bb10/qnx
06-17-2013 05:20 AM
Hi, I found this classes in qnx for Blackberry play book 2.1 SDk/OS.
and Blackberry support also said push is not there but notifications are there...
Please look at this link
please help me on this....i want to use nofifications on my blackberry playbook app.
06-17-2013 10:06 AM - edited 06-17-2013 10:07 AM
Unfortunately those events are not available in the PlayBook API. Please make sure you're looking under the PlayBook API in the documentation - https://developer.blackberry.com/air/apis/playbook
Also, please make sure that you have the PlayBook SDK installed. In the downloads section make sure you're downloading from the PlayBook tab. https://developer.blackberry.com/air/download/#pla
06-17-2013 10:27 AM
Yes i am using Blackberry Playbook 2.1 SDK only , iam wondering that classes are not available in api but i can use that classes in the application .
As for as my knowledge that classes are not officially annouced in Blackberry Playbook api but that classes are available in the Blackberry Playbook SDK. Please look at this link.
and please help me how to use that notification classes.
06-17-2013 11:08 AM
Sure, here is some code but I'm not sure if it will work on PlayBook.
var myNote:Notification = new Notification; myNote.title = "Noted!"; myNote.itemId = "1"; NotificationManager.notificationManager.notifyNoti
06-18-2013 09:00 AM - edited 06-18-2013 09:02 AM
Hi, The code which u given is not working.
For Notification class it is asking 2 arguments
var myNote:Notification = new Notification(id:String,iconurl:String);
There are no properties "title" and "itemID" for notification class. and there is no "notifyNotification" method in the NotificationManager class, instead of "notifyNotification" method "notify" method is there.
Here iam showing the path of notification classes in the qnxdevice.swc file .
u can find the classes by installing Blackberry tablet sdk 2.1.
Please provide me the information , how implement the notifications on my app using that qnxdevice.swc file notification classes.
06-18-2013 10:40 AM - edited 06-18-2013 04:05 PM
ok...iam sorry for that...actually i shared the thread in the message.....iam waiting for notifications from 1 week....please help me on this....