Ammended sample android app