Home > front end >  HTML 5 program how to stay wake up, the system process not killing
HTML 5 program how to stay wake up, the system process not killing

Time:12-18

 
If (plus. OS. Name=='Android') {
Var main=plus. Android. RuntimeMainActivity ();
The main moveTaskToBack (false);
}

Use this approach to prevent process is killing, but seem to have no use, or do you want to be forced to shut down the background after 5 minutes, please which made similar HTML 5 + brother gave the solution, thank you
  • Related