Tutorial: How to write an Android 'bot.
When I started looking into creating automation scripts for Android there were many tips but no complete examples that used the tools I wanted to work with. There were good references on how to use the tools but nothing that put them all together in a case study form. So I made a complete tutorial for automating a game with source code in Python and put it on github. It presents one approach to automating an Android app from your PC. It presents a conceptual overview, shows a design diagram, and gives a narrative description of the major sections of the implementation. It shows how to use OCR to recognize elements of the game and provides tips on extending the example to other scenarios.