/* Code Musings */

Archive for the ‘Momentics’ 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, […]