04-13-2011 10:38 AM
Can anyone help me figure out how to test the sample push application on the simulator?
I have tried to test it on my device, but the problem is that I cannot access the PC from the internet I don't have an IP address and the localhost thing won't work
please can anyone give me a way to test the push sample application
04-16-2011 02:30 PM - edited 04-16-2011 02:31 PM
How can I install the server side sample app on my PC and have access to it from the handheld if my PC cannot be accessed from the internet ( I don't have a fixed IP)
from what I have found the only way to test the push sdk sample app is:
1. Install the server-side sample on a host server with a fixed IP address ( not on a local PC)
2. Install the client side sample app on the BIS enable handheld
is this correct??
04-17-2011 11:08 AM
If you register for Push Services SDK, then since some time in the Credentials you got the information:
Source IP: Whitelist no longer required
You can send Push Messages out from your local PC without a static IP
(I'm doing this always while testing Push Services:
working from a Home Office with DSL and changing IP's each day)
Attention for PLUS services !
If you register for Push Services PLUS you also have to register a 'Base Notification URL' -
something like 'http://myserver.de'
pushing messages you send the notification URL, per ex. /notifyme
then BlackBerry Push Server notifies you at: 'http://myserver.de/notifyme'
now you can use a service like DynDns.org to get the notifications
or - what I'm doing:
I have a server with static IP, but don't want to do the development tests there, but from time to time I deploy to this server to test it from a 'real server'.
while working from my home office I forward the notification from the real to my dyndns address
12-14-2012 11:18 AM
Hi, if you mean push messages you can find the HttpPushDemo here: https://developer.blackberry.com/java/documentatio
You also need the MDS simulator, that you can find it here: http://us.blackberry.com/sites/developers/resource
I suppose you have the BlackBerry JDE Eclipse but you can find it here: http://es.blackberry.com/developers/javaappdev/#
In the HttpPushDemo you'll find a readme. Skip steps 3 and 4 because I think they refer to an old BlackBerry JDE.
One last thing: my Eclise started with Java7 and that caused a problem with some regex pattern. If you experience this problem, try using Java6.