How to write a simple Android application?