Daniele Esposti's Blog

Use custom SQLite database with iOS

Core Data is the framework available on iOS to allow to store data on the device using a common API without worrying about the storage backend. It’s very powerful but if you are creating and managing the data from your app. However, if you are providing your custom SQLite database...


Use MacBook Air SuperDrive with a MacBook Pro

Apple inconsistency strikes again: if you have a MacBook Air USB SuperDrive you cannot use it with a normal MacBook Pro. Why, damn Apple, why? There’s no any technical reason except for marketing and profit I suppose. Anyway, googling around a bit I found a workaround to be able to...


Box2D physics simulation on Android

It was a rainy and cold afternoon and I had nothing to do except to play around with Box2D on my Android device. I will show you the another-ball-bouncing example using Box2D and Cocos2D. For this example you will need to download these libraries: Cocos2D for Android: you can donwload...


Global hotkey

Let start by explaining the goal: we want to send a custom signal when the user press a combination of keys. Sound pretty easy, your are already thinking to override the keyPressEvent() and keyReleaseEvent() virtual methods of your QMainWindow with your custom code. It’s a fair solution, but not the...


Build Google WebM library under Windows

Google WebM is the new lossy encoder for images (and videos) which promise a better compression than the old and well known JPEG format. The source code is available anche can be build on Linux, Mac OS X and Windows as well. Anyway, on Windows if you follow the instructions...