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

Native Development

New Developer
Posts: 14
Registered: ‎03-11-2013
My Device: Q10
My Carrier: Aircel

bps_get_event() crashes for network related events

Hi everyone,


I am useing the instruction from the below site to listen for network status changes, but m not able to figure out what is the problem with the code;




There are 2 problems basically;

1. I am using bps_get_event(&event, -1) to listen for events, for the first time this call returns even if there is no change in netork.

2. For the second time the same call causes the segmentation fault. Smiley Sad



- Abid