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.

inside custom component

BlackBerry Push Development


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.


Reply
Highlighted
rnd
New Contributor
Posts: 3
Registered: ‎07-25-2011
My Device: 8520
My Carrier: Ufone

Is Content Provider URL required for push application on client side?

Hi All,

 

I have installed Blackberry Push SDK, now I am able to run server "sample-push-initiator" and "debug-portal" provided in BPSS. I also installed sample push app "sample-push-enabled-app" for client on my device. But I am unable to register my app from device. It requires Content Provider URL when I try to register.

Is Content Provider URL required for push application on client side?

In settings, what should I set Content Provider URL? I tried with various options https://localhost:8443/sample-push-initiator, with my IP address but was not able to register device app successfully.

I understand there is a browser push but if I want to do a push from a java application then is Content Provider URL also required?

 

Thanks in advance.

RND

Developer
Posts: 235
Registered: ‎11-08-2010
My Device: Not Specified

Re: Is Content Provider URL required for push application on client side?

Yes content provier URL is needed to use the sample app. It should be the publically accessible IP address of the server where you installed the SDK Tomcat. Trying to use 'localhost' in the URL will obviously not work because it needs to be public IP address.

 

Content provider URL is required if you use the SDK's sample application's because those sample applications show you the best practice of subscribing. Just like Google's C2DM push where you need to send the registration_id to the content provider you need to send the pin of the device to the content provider in BlackBerry push.

 

Ensure you are not trying this over WiFi. Your device needs to be running on BIS on the 2G, 3G network.