After 2 minute inactivity redirect to homepage

I want to make an Android App for 43" kiosk.
This app will have a Home page with Eight button, and every button click It will open an Image, then, after 2-minute inactivity, It should open the homepage.
Is it possible by apphive?

If possible, you can run that downtime verification process with a cronjop, you just have to save the timestamp that triggered that image in a database collection and run that cronjop every so often and check if it blames that requirement.