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

Simplified BIS-Push client sample

by Developer on ‎12-20-2010 11:00 AM - edited on ‎01-26-2011 11:19 AM by BlackBerry Development Advisor (17,134 Views)


This sample covers a simplified client for registering a device on RIM's BIS-Push service.

The sourcecode was taken and modified from the BlackBerry® Push Service SDK 1.0 which can be downloaded here.



It does not feature a registration with the content provider.


As you are not allowed to publish the connection suffix to connect using the BlackBerry® Internet Service, part of the source code must be replaced, similar to your assigned push port and app id (register for them using the link above).


I advise you to use a logger service when using this code. For simplicity i have replaced all logging calls with sysouts.



Download the two files, copy them to your project, change the package name, enter your registration info and the connection suffix for the BlackBerry Internet Service.

Start the registration by calling new PushAgent().

Users Online
Currently online: 28 members 1,094 guests
Please welcome our newest community members: