Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
02-19-2013 12:25 PM - edited 02-19-2013 02:38 PM
I have one customized push initiator server based on BlackBerry sample push initiator. My push initiator is working properly for my push enabled BB5, BB6 and BB7 applications. But when I use it for BlackBerry 10, the parameters are same just the user name is using by my bb10's pin id, the push initiator always return -9999 general error when send the subscribe request to the push initiator. What is the possible error reason for -9999? Does someone know how to resolve it? My Push sdk version is 18.104.22.168
Solved! Go to Solution.
02-19-2013 12:44 PM - edited 02-19-2013 12:45 PM
When you say "sample Push Initiator", do you mean the one that comes with the Push Service SDK or some other one? I would have to see some sort of SDK logs or PAP XML request and response to help you out more.
02-19-2013 12:49 PM - edited 02-19-2013 12:51 PM
Yes, it is the high level one that comes with the Push Service SDK. Have you successfully work out the customized Push initiator with BB10 already? Which level and which version of Push Service SDK are you using? Thank you
I am trying to find the log. Please hold on. Thanks
02-19-2013 12:59 PM
Thank you for your hint. I finally found the push log and I found it need to add a parameter of "field1". After I added this parameter to my bb10 client application, it works properly.
02-19-2013 02:01 PM
Great. Just to be clear for others, you were performing a subscribe from the device to your Push Initiator (i.e. not a push). Is that correct? And, what version of the SDK are you using?
02-19-2013 02:28 PM - edited 02-19-2013 02:38 PM
Thank you for your advice. I added the detail information in my post.
BTW, I tested from subscribe, unsubscribe, push and all work. But maybe there is a small bug for the hub. If the application is closed, the hub can recived the pushed message but always show as "New .txt push received". If the application is opened, the message is same as the message which is sent from push initiator.
I am using BB10 Dev alpha device and the SDK version is 10.0.10.261. Right now, I am modifing the PushCollector which is the BB10 cascade sample application and testing the push service based on that.
I choose the mode as "Public/BIS", PPG url is "http://cpxxx.pushapi.na.blackberry.com" (xxx is the first three digits of the application id which is in the subscrition email), I also have my own push initiator with push sdk 22.214.171.124 so that i check the Subscribe with pUsh service SDK.
02-19-2013 02:45 PM
Ah, yes, field1 was in an older version of the Push Service SDK to illustrate the ability to add more request parameters to your subscribe request if you wanted to. It no longer is there in 1.2. (though you can still add new request parameters like before, we just don't show you an example of one)
As for the "New .txt push received" message in the Hub. That is working as expected. We wanted to illustrate the use of notifications in the BlackBerry Hub. Notifications can be used to inform a user of something new going on with an app. So, in ours, we didn't want to put the actual content of the push itself in the notification, but rather, we just wanted the user to know they had a new push that they should go into the app itself to check out (and linked to it through the notification).