How To Start Flash Lite Content In Background !

If u want to throw the Flash Lite Content in Background just when u start it from the phone’s menu in 5th edition phones , then i write small snippet for u to achieve this task :

import com.nokia.lib.Service;
var appManager = new Service("Service.AppManager", "IAppManager");
var inParams = {ApplicationID:"s60uid://0x102750F0"}; //Homescreen UID same for all 5th & 3rd fp2 phones
appManager.LaunchApp(inParams, onApplaunch);
function onApplaunch(transactionID:Number, eventID:String, outParam:Object) {
  var errorId = outParam.ErrorCode;
}

The above snippet just send ur flash content to background by calling the HomeScreen UID. Now, a question may arise that what the advantage of sending ur Flash Content as we already know that the flash content just get paused when we send it to background. But my previous statement is not true after the release of Flash Lite 3.1because in Flash Lite 3.1 u can atleast resume Platform services in background.

Btw, i dont recommend to use Flash Lite content as a Console Application šŸ˜€

Best Regards,

Sajid Ali Anjum

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: