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
Developer
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900
My Carrier: developer

Re: Push Service in App

Hi

If i turn off the WIFI i am getting the successfull registration for push service.

Now i have to ask two things: 

 

1)Now where do i provide the url of the server from where i will get the notification.?

 

2) I don't want to make the alternate entry point for my application. And i want that this thread will always run in background and when any push notification comes, the notification displays on the screen.?

Developer
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900
My Carrier: developer

Re: Push Service in App

Sir

I have to display the push notification on my device . So for that i have to use the PushMessageReader class in clien sample apllication.

But which url i have to give in place of this String url = "http://:" + PUSH_PORT + CONNECTION_SUFFIX;?