04-20-2010 02:03 AM - edited 04-21-2010 12:33 AM
i have read all step in text file and follow all but i got following error "java.io.IOException: Server returned HTTP response code: 400 for URL: http://localhost:8080/push?DESTINATION=2100000A&PO RT=100&REQUESTURI=localhost"
when i run browser after loanching mds this error solved but nothing is received in the applicatio running inside the Device Simulator.
i also tried by pap but after running some time it does not mean and nothing is received in the applicatio running inside the Device Simulator,and it throw "notification time out " error.
but when httppushdemo application is running or we send it background it recieved message from server but it show when application running or we openthe application.
it does not show message when application is not running.
some body please help.
04-20-2010 04:24 AM
There is a lot of information here and a number of questions that may or may not be answered. I'm not clear on what you really want to know. Can you ask number the questions that you want answering to make it more obvious to us?
With regard to the need to open the Browser, you will see from the readme for httppushdemo, that this is a required step.
With regard to your last point, what OS Level are you trying this in? Remember that pre OS 5.0, pushes are only received when the application is running.
07-29-2010 10:46 AM
I had similar problems with this after installing Blackberry java plugin. I got that same error also I did everything according to the readme.
I managed to run the HTTPPushDemo successfully after I excluded the automatic launch of MDS together with the simulator in the run configuration and started the MDS independently. So I first launched my simulator, then startet the MDS manually, then opened a website in the simulator, then started the server side push application. Then it worked fine!