Copy link to clipboard
Copied
Hi I'm hoping someone can give me some direction.
I would like my custom Android service to start my AIR application. An Android Service starting a regular Android application is well-documented... the basic idea is to create an Intent (a system message) that points to the Activity (an application screen, normally a java class), and launch that from the service. The code looks something like this:
Intent i= new Intent(getBaseContext(), screen.class);
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
getApplication().startActivity(i);
Can the same idea work with an AIR application (made with Flex)? If so, what is the java class reference for the Activity? Or what? Or is there some other method that must be used?