To restart your application in Adobe AIR

By | September 15, 2010

Call this function to restart your application

var app:WindowedApplication = WindowedApplication(Application.application);
var mgr:ProductManager = new ProductManager("airappinstaller");
mgr.launch("-launch " + app.nativeApplication.applicationID + " " + app.nativeApplication.publisherID);

Note : PLease add this to your app.XML file inorder for the above code to work.

Leave a Reply

Your email address will not be published. Required fields are marked *