Full android application code