A small tutorial showing how to implement an Android callback