02-28-2013 02:26 AM
I need to implement push notification in my application,i have tried QML for doing notification but when the application is closed i can't able to see the notification,i have got Application ID and PPG Base URL** and also i have downloaded the sample push initator code how can i integrate into my application, can anyone guide me to do this
Solved! Go to Solution.
02-28-2013 10:06 AM - edited 02-28-2013 10:33 AM
You have to make sure that you registerToLaunch so that when the application is closed it will be launched when a new push comes in.
There are a number of resources you can find on the Push Service website and its associated web pages:
Let me know if you have any specific questions that we can help you with.
02-28-2013 10:26 AM
thanks for reply, i have implemented Push notification using push collector example,but can't able to run the application,if i run it's showing only splash screen.?
02-28-2013 11:42 AM
So, it sounds like you're able to run the Push Collector sample successfully, but you're having problems implementing your own push-enabled application. Is that correct?
Have you had a chance to look at the Developer Guide that comes with the Push Collector: https://developer.blackberry.com/cascades/document
It's supposed to help guide you in the implementation of your own push-enabled application.
Also, there are some debugging tools you can use if you're not sure why your app is having issues.
Take a look at this page here: http://developer.blackberry.com/cascades/documenta
03-01-2013 08:42 AM
The links below have the steps you need to make your application push-enabled for Cascades for BlackBery 10
This link shows you how you need to configure your application:
Specifically, this link show code samples of how a sample application was made to accept push notifications using the PushService class and the invocation framework which are the main entities you need to know about:
03-06-2013 07:26 AM
Thanks for reply i have added as you said, but still am facing the error in main.cpp, when i declare these two lines (push notification lines error )into my main.cpp it's showing error my main.cpp
const QString uuid(QLatin1String("5d452479-e929-4e80-be97-35c6cd
0c7ffa")); RegistrationHandler *registrationHandler = new RegistrationHandler(uuid, &app); // InviteToDownload *inviteToDownload = new InviteToDownload(registrationHandler->context(), &app); // QObject::connect(registrationHandler, SIGNAL(registered()), inviteToDownload, SLOT(show())); Time *inviteToDownload = new Time(registrationHandler->context(), &app); QObject::connect(registrationHandler, SIGNAL(registered()), inviteToDownload, SLOT(show())); push notification lines error Time mainApp; QObject::connect(&app, SIGNAL(fullscreen()), &mainApp, SLOT(onFullscreen()));
how can i solve this issue ?
03-06-2013 09:47 AM
What do you mean exactly by "push notification lines error"?
Which lines in your code are giving you errors?
And, what's the exact error you get?