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

New Contributor
Posts: 4
Registered: ‎09-30-2013
My Device: developer
My Carrier: developer

socket.acceptAndOpen(); blackberry push app freeezes

i want enable push notification in my push port is  34059 .but sample app freezes at   Object o = socket.acceptAndOpen();
                    conn = (HttpServerConnection) o;

i using os<7  please reply

Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: socket.acceptAndOpen(); blackberry push app freeezes

That call is blocking and should be done on a separate thread:


Goodbye everybody!