Arduino on Ubuntu without IDE
This is a small post on how to set up your Arduino development environment without using the crappy Arduino IDE. The setup uses an Arduino Uno. The current version of Ubuntu (at this time it is Ubuntu...
View ArticleUsing RenamingDelegatingContext to mock ContentResolver in Android
Mocking Context Testing in Android can be complex, especially when your component is not isolated from the Android framework. One example of this is when your component is performing file system tasks...
View ArticleArduino UNO and the Google ADK – part I
This is the first post in a serie describing how to get started with the Google ADK using an Arduino UNO and the Circuits@Home USB host shield. The title of the post actually lies a bit, because we...
View ArticleArduino UNO and the Google ADK – part II
Getting into detail The Android application is a simple demo that toggles a LED connected to the accessory (the Arduino UNO). The Android code can be found under the java directory in the source git:...
View ArticleArduino UNO and the Google ADK – part III
Preparing the Arduino The Arduino firmware is a simple program receiving a toggle LED command from the connected Android device. Some parts are taken from the USB Host Shield 2.0 library. Connect the...
View ArticleCreating a Linux multi-os installation USB-stick
Introduction If you, like me, are tired of burning the latest version of your favorite Linux distribution to a CD/DVD every time a new version comes out, this multi-os installation stick might solve...
View ArticleSolving SDL init failure when running Android Emulator on Gentoo/Arch Linux
I have two computers running 64-bit Linux (one Gentoo box and one Arch Linux box), which I use for Android development. Both of them had the same problem when trying to start the Android emulator....
View ArticleSetting up a chroot for Android platform development
Introduction Since Ubuntu 10.04 is still the only fully supported OS when building the Android source code (according to http://source.android.com/source/initializing.html), you might run into trouble...
View ArticleA practical approach to the AOSP build system
Introduction The Android open-source project (AOSP) is quite complex and it can be hard to find a good way to get more familiar with it. I’m going to try a practical approach, by adding an Android...
View ArticleLinux From Scratch on Raspberry Pi
Introduction Linux From Scratch (LFS) is a project providing instructions for building your own Linux system from scratch. If you have not already, I recommend you visiting their homepage...
View Article