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

Java Development

Reply
Regular Contributor
Posts: 56
Registered: ‎09-14-2011
My Device: 9000
My Carrier: b.tech

Push Notification

Hi 

 

I am new in blackberry actuallly i am able to understand push notification , i google it find this code. i run this code but error will come.  

 

 

https://github.com/robotadam/bb-push-sample-os5/blob/3cec93cff2ee61ea3cd2300af8491d3dbf045b56/src/co...

 

public static final String BLACKBERRY_PUSH_APPLICATION_ID ="1829-2OM1sof9aM5B6543l8"; //"your blackberry application id goes here";
public static final String BLACKBERRY_PUSH_URL = ;//"http://pushapi.eval.blackberry.com";
public static final int BLACKBERRY_PUSH_PORT =; //port, as an integer;

// Urban Airship Push Settings for your application. From the Details tab
// for your application @ http://go.urbanairship.com
public static final String URBAN_AIRSHIP_APPKEY ="" ;//"your urban airship app id goes here";
public static final String URBAN_AIRSHIP_APPSECRET = "";/

 

Actually i need these things so that i will able to run program and understand thing

 

Contributor
Posts: 18
Registered: ‎03-02-2012
My Device: BlackBerry 9300
My Carrier: Yoigo

Re: Push Notification

Hi,

 

All that information is sent by RIM when you register in BlackBerry Push Service:

https://www.blackberry.com/profile/?eventId=8121

 

More information:

https://developer.blackberry.com/services/push/

 

Urban Airship does not belong to RIM, is an independent company offering a premium service and charge for this service. The way to ensure that you have registered with your service, paying for it, is to use the appkey and appsecret.

 

Goog luck Smiley Wink