An example using UI Automator for testing Android applications