some basic code for android application