• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Start AIR (mobile) application from Android Service

New Here ,
Dec 27, 2013 Dec 27, 2013

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?


Views

415

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines