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

Reply
Trusted Contributor
foufou
Posts: 109
Registered: ‎11-15-2011
My Device: blackberry 9800
My Carrier: beginner developer

unable to receive push notification in my device

Hi, 

 

I want to receive notification on my device. I use in server-side the php code server and I obtain this result:

 

Our PUSH-ID: xxxxxxxxx
PUSH-ID: xxxxxxxxx
REPLY-TIME: 2012-01-03T09:51:43Z
Response CODE: 1001
Response DESC: The request has been accepted for processing.

 

and in client-side I use the BIS client side client .

Can any person tell me what is missing to receive notification in my device. I don't know where is the problem. Is it in server or client side? 

I need help.

 

thanks 


Please use plain text.
Trusted Contributor
foufou
Posts: 109
Registered: ‎11-15-2011
My Device: blackberry 9800
My Carrier: beginner developer

Re: unable to receive push notification in my device

There is no person who uses the same code and can receive notification

Please use plain text.
New Contributor
vishalrandive86
Posts: 4
Registered: ‎01-04-2012
My Device: Blackberry 9700
My Carrier: Vodafone

Re: unable to receive push notification in my device

Hi, foufou ,

 

                  Even i am having same issue from last month, i have used same code for client side it gives a proper response on device.

 

But, 

 

When it comes to server side which is built in PHP language, it gives same out put which u have mentioned in ur post.

 

It in my humble request to Blackberry Authority to provide some guideline to make it resolve.

 

My whole project is stuck because of this.

 

thanks.

 

 

Mobile Application Developer
Please use plain text.
Trusted Contributor
foufou
Posts: 109
Registered: ‎11-15-2011
My Device: blackberry 9800
My Carrier: beginner developer

Re: unable to receive push notification in my device

[ Edited ]

hi vishalrandive86,

 

thanks for your reply

How you can test the client side gives response without server-side? How can I  run the code or  get notification to be sure that the client-side works?

 

thanks

Please use plain text.
New Contributor
vishalrandive86
Posts: 4
Registered: ‎01-04-2012
My Device: Blackberry 9700
My Carrier: Vodafone

Re: unable to receive push notification in my device

First of all you need to register your BB application to BB Server, to do so i have used same client side code which u have mentioned , inside that code add a Dialog box or System.out.println to print the response from the BB server.

 

Below are the possible output from BB server.

 

 REGISTER_SUCCESSFUL = "rc=200";
 DEREGISTER_SUCCESSFUL = REGISTER_SUCCESSFUL;
 USER_ALREADY_SUBSCRIBED = "rc=10003";
 ALREADY_UNSUSCRIBED_BY_USER = "rc=10004";
 ALREADY_UNSUSCRIBED_BY_PROVIDER = "rc=10005";

 

 

if ur getting "REGISTER_SUCCESSFUL" or "rc=200" then only u have to register you device with ur PHP built server.

 

On server site it process your request to BB SERVER and rest u knows.


PUSH-ID: xxxxxxxxxx.xxxx
REPLY-TIME: 2012-01-04T09:14:32Z
Response CODE: 1001
Response DESC: The request has been accepted for processing.


 

Still hoping for curret guidline from BB Authority.

Mobile Application Developer
Please use plain text.
New Contributor
vishalrandive86
Posts: 4
Registered: ‎01-04-2012
My Device: Blackberry 9700
My Carrier: Vodafone

Re: unable to receive push notification in my device

this is my gmail id :::  vishalrandive86  if possilble please add.

Mobile Application Developer
Please use plain text.
Trusted Contributor
foufou
Posts: 109
Registered: ‎11-15-2011
My Device: blackberry 9800
My Carrier: beginner developer

Re: unable to receive push notification in my device

I obtain the id_application, the password and the others parameters from the RIM. I didn't get you how to run client-side. You mean when I run the client-side in eclipse and I should obtain  REGISTER_SUCCESSFUL ?

Please use plain text.
New Contributor
vishalrandive86
Posts: 4
Registered: ‎01-04-2012
My Device: Blackberry 9700
My Carrier: Vodafone

Re: unable to receive push notification in my device

You need to test your application on actual device (eg. Blackberry 9800) and it should have BIS services plan.

 

Don't test the application on simulator.

 

 

 

 

Mobile Application Developer
Please use plain text.
Visitor
agrajsharmaBB
Posts: 1
Registered: ‎06-11-2013
My Device: Blackberry Curve
My Carrier: Vodafone

Re: unable to receive push notification in my device

I'm also facing same problem any buddy can help.....

Please use plain text.