playMaker

Author Topic: How to know when android app is paused? [Solved]  (Read 420 times)

kavery

  • Full Member
  • ***
  • Posts: 109
    • View Profile
How to know when android app is paused? [Solved]
« on: May 18, 2018, 11:12:24 AM »
For a public demo, I would like to restart the app when the running android build goes into a system level pause/idle (meaning a user has stopped engagement). The Vive Focus goes idle when you take it off.  Is there a way to trigger an event for this?

Right now it resumes where it was left by previous user.
« Last Edit: May 23, 2018, 01:47:25 PM by kavery »

Kathar

  • Playmaker Newbie
  • *
  • Posts: 48
    • View Profile
Re: How to know when android app is paused?
« Reply #1 on: May 19, 2018, 04:07:49 PM »
Think this should be answered in your other thread, but yes there's System Events for these. Just assign a Global Transition > System Event such as APPLICATION PAUSED to a state, and this state will be triggered when this system event occurs.