playMaker

Author Topic: Inquiries Android device home button  (Read 1700 times)

jongkook

  • Playmaker Newbie
  • *
  • Posts: 34
Inquiries Android device home button
« on: February 23, 2014, 04:59:19 AM »
Running the App on a certain mobile device and pressing ‘Home Button’ on the device cause a problem in which the OS stops and then reboots.
It is said that this might be a bug of Unity 4.3, and I would like to ask you if it is possible to make implementation to solve this problem with Playmaker by any chance.
I wonder if I can stop or terminate the App using the function, 'onApplicationFocus.'

use tool : unity 4.3
playmaker : latest version
test device : Galaxy S
« Last Edit: February 23, 2014, 05:01:48 AM by jongkook »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Inquiries Android device home button
« Reply #1 on: February 24, 2014, 09:06:48 AM »
Hi,

 use the global event "APPLICATION FOCUS" and then quit your game like that. BUT I don't know how to quit a game on mobile... at least on IOS, you can't ( correct me if I am wrong)

http://hutonggames.com/playmakerforum/index.php?topic=4788.msg23129#msg23129

bye,

 Jean