An example of different android functions for reference