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

Posts: 39
Registered: ‎04-20-2010
My Device: 9550,8190
My Carrier: Developer

Push problem with acceptAndOpen()?

Hi everyone. i try to do with push server.i access this link it returns 200.



server-side i made with PHP code. it returns 1001, and now i want to receive message from server. but when i try to listen message from server it always stuck at acceptAndOpen() line, nothing happen when i try to get message from server. i have no idea about this Smiley Sad. Does anyone know please help


ServerSocketConnection socket = (ServerSocketConnection) Connector.open(url);

conn = (HttpServerConnection) socket.acceptAndOpen();


Thank in advance

New Contributor
Posts: 6
Registered: ‎06-02-2011
My Device: Blackberry Torch
My Carrier: At&T

Re: Push problem with acceptAndOpen()?

Is this working now.  if yes , how ?