/* Code Musings */

Book Publishing

I was recently contacted by a representative from Packt Publishing. They are commissioning a book on OpenGL and were looking for authors. I was chosen based off my resume, which is posted here, and my blog. Having been lacking in interesting ideas to write about, I was surprised that it was enough to be chosen. […]

Unit Testing: Singletons

Singletons. There is a time and place that a developer can use the Singleton Pattern, but in my experience these situations are rare. When I first learned about this design pattern, I, like many novice developers, decided to use it everywhere. The very first incarnation of my game engine used it in a variety of […]

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 […]

Monopolistic Encounter

I’ve always supported the work done by OpenMedia, but mainly in principal. Any industry that provides a service to the people should have competition and should provide it at a cost that is reasonable. That same service should be customer agnostic and it should not keep information about the customer’s usage habits. Lastly, once the […]

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 […]