Skip to main content
niranjanr64593256
Participating Frequently
May 18, 2015
Question

I need action script code to close android air application???

  • May 18, 2015
  • 1 reply
  • 3190 views

I used this code to exit from air application In android mobile , when i used this i am coming out of application but the application is still in minimize mode . can any one help me to close total application when I press exit button ???

import flash.desktop.NativeApplication;

quitBtn.addEventListener(MouseEvent.CLICK, quitScene);

function quitScene(event:MouseEvent):void {

             stop();

     NativeApplication.nativeApplication.exit(); 

}

Thanks&regards

Niranjan

This topic has been closed for replies.

1 reply

Inspiring
May 18, 2015