/* Code Musings */

Archive for the ‘QNX’ Category

Working with the Blackberry Platform Services (BPS), Part 3

In this installment, I’d like to touch upon the new sensor API. This is only available in the NDK 2.0 and later and it replaced the old accelerometer API. Through this API, a developer would be able to query for the accelerometer, magnetometer, gyroscope (if there is one), temperature, light, etc. The list of supported […]

Working with the Blackberry Platform Services (BPS), Part 2

The last post in this series talked about setting up BPS and getting an event loop running. In this post, I’ll detail out how screen event handling might work as well as any miscellaneous bits of code that you might need. If you recall, after the screen has been initialized and your window properties set, […]

Working with the Blackberry Platform Services (BPS), Part 1

I’ve received many questions about the best way to use BPS. The Blackberry Platform Services, or BPS for short, is an API that allows your application to receive events form the system on the Blackberry 10/Playbook OS. It is similar to the Win32 APIs that allow you to create and control a window. The API […]