Sample Android Code snippet