Hey, I'm new to AIR. I created a simple test app. It runs fine on my Android, but it won't turn off. When I press the home button, or open other app, my app continues running in the background.
Specs:
Android device: Gallaxy note 3
AIR version: AIR 13.0 for Android
My really simply test script:
Code:
package {
import flash.display.MovieClip;
import flash.events.TouchEvent;
import flash.ui.Multitouch;
import flash.ui.MultitouchInputMode;
import flash.events.Event;
public class test extends MovieClip {
//create vars
public var counting:int;
public function test() {
// constructor code
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
stage.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchBegin);
}
public function onTouchBegin(e:TouchEvent):void
{
someText.text = String(counting);
counting++;
}
}
}
Any help would be appreciated.