Snippets of Android Java code