Snippets to help out with Android