01-03-2012 05:54 AM
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.
01-04-2012 01:47 AM
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.
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.
01-04-2012 04:55 AM - edited 01-04-2012 04:56 AM
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?
01-04-2012 05:54 AM
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.
Response CODE: 1001
Response DESC: The request has been accepted for processing.
Still hoping for curret guidline from BB Authority.
01-04-2012 08:27 AM
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 ?
01-04-2012 08:36 AM
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.