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

Post notification in blackberry

Hi 

I am new in blackberry developement , some body ask me, have you work on post notification?.actually i search lot but not found anything .is there any sample code or example  for post notifation so that i can understand . 

 

Thanks in andvance .

 

 

Regards

Super Contributor
Posts: 273
Registered: ‎11-23-2010
My Device: 9800 torch
My Carrier: Software Programmer

Re: Post notification in blackberry

Hi There,

 

you need a server side code to post notification on blackberry port.

 

you can get the sample code for server side.

 

http://supportforums.blackberry.com/t5/BlackBerry-Push-Development/Push-API-sample-code-needed/m-p/4...

 

simons posted code for client side code search it in forums.

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

Re: Post notification in blackberry

Hi 

Actually i am begineer in blackberry if you have running code then please send me from this i wiil not able to understand.

 

Can you give some idea how to get this thing

 

 

public static final String BLACKBERRY_PUSH_APPLICATION_ID =; //"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  _APPKEY ="" ;";
public static final String   _APPSECRET

Super Contributor
Posts: 273
Registered: ‎11-23-2010
My Device: 9800 torch
My Carrier: Software Programmer

Re: Post notification in blackberry

Hi There,

 

sorry i won't give any code please check urban air sample code.

before you have to register to blackberry push services then you will get the port number and application id etc.. thing they will send you.

 

Please check this link

 

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

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

Re: Post notification in blackberry

Sir i just want to know that is it possible that urban air application will run after getting application ID or port number .

have you tried to run this supplication : what is value of this things
public static final String BLACKBERRY_PUSH_URL =
public static final String _APPKEY ="" ;";
public static final String _APP SECRET
Highlighted
Super Contributor
Posts: 273
Registered: ‎11-23-2010
My Device: 9800 torch
My Carrier: Software Programmer

Re: Post notification in blackberry

After successfull registration blackberry will send those details after 4 or 5 business days with the specified email you mentioned in the registration.