How to compile the AIR app to android emulator

How to compile the AIR application to run on emulator ?
May be use the 'adb' command line ?

-target The type of package to create. The supported package types are:
air — an AIR package. “air” is the default value and the -target flag does not need to be specified when creating AIR or AIRI files.
airn — a native application package for devices in the extended television profile.
native — a native desktop installer. The type of file produced is the native installation format of the operating system on which the command is run:
EXE — Windows
DMG — Mac
DEB — Ubuntu Linux
RPM — Fedora or OpenSuse Linux
apk — an Android package. A package produced with this target can only be installed on an Android device, not an emulator.
apk-debug — an Android package with extra debugging information. (The SWF files in the application must also be compiled with debugging support.)
apk-emulator — an Android package for use on an emulator without debugging support. (Use the apk-debug target to permit debugging on both emulators and devices.)
Use the value as per your need. The you can use adb to push the packaged apk to your emulator.

Similar Messages

  • How to compile an .air app from the ADT command line?

    Hi,
    I would like to compile an .air app from the ADT command line.
    Does anybody have an example?
    I don't know how to add the AIR SDK path and a folder to it.
    Is there a generator for the command line availabble?
    Thanks

    Correction: it seems that Applescripts and some similar scripts can be called from the command line using "osascript scriptname". I don't speak automator but you might like to try it. osascript seems to come with severe limitations though, for instance it doesn't allow user interaction such as dialogue boxes.

  • How to set an AIR app on Android to handle filetype

    I've been trying to make my app as default handler of a file type on Android. I have the as3 code to open the file (via InvokeEvent.INVOKE) but I can't seem to be able to register the app as a handler.
    I added this code in the app XML:
      <android>
        <manifestAdditions>
          <![CDATA[
            <manifest android:installLocation="auto">
              <supports-screens android:smallScreens="false" android:normalScreens="false" android:largeScreens="true" android:xlargeScreens="true" />
              <uses-permission android:name="android.permission.INTERNET"/>
              <uses-permission android:name="android.permission.WAKE_LOCK"/>
              <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
              <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
            </manifest>
            <intent-filter>
              <action android:name="android.intent.action.VIEW" />
              <category android:name="android.intent.category.DEFAULT" />
              <category android:name="android.intent.category.BROWSABLE" />
              <data
                android:host=""
                android:mimeType="*/*"
                android:pathPattern=".*\\.pgn"
                android:scheme="file"
              ></data>
            </intent-filter>
        ]]>
        </manifestAdditions>
      </android>
    I also tried with
    <data android:mimeType="*/*" />
    <data android:pathPattern="*.*\\.pgn" />
    What am I doing wrong?

    You're going about it the wrong way. Native development allows you to find package names of installed apps and request they start using the Intent system with startActivity (once you verify the app exists), see here:
    http://developer.android.com/training/basics/intents/sending.html
    However that's native. You'll either need to find an existing native extension or create one yourself.
    That aside facebook may supply you with the proper scheme to call to launch the app in which case it would probably prompt you to run facebook in the app or in a browser. More info on defining those schemes here with code:
    http://www.riaspace.com/2011/08/defining-custom-url-schemes-for-your-air-mobile-applicatio ns/

  • Associate file extension with air app on Android

    Hi,
    I am trying to associate a file extension with my air app on Android. My goal is to be able to start my app by clicking on a file with a specific file type from either a file manager or mail app. I have found a solution that in theory would work in native, but does not with air somehow.
    In the .xml-file for the app, under the <android> tag I have written:
    <activity>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="file" />
                <data android:pathPattern=".*\\.csml" />
                <data android:host="*" />
            </intent-filter>
        </activity>
    Does anyone have an idea how this could be solved?
    Thanks in advance
    Jens

    If it works in a native app, it should also work in an AIR app in this case. Can you verify that it does work in a native app?
    See also:
    http://www.mail-archive.com/[email protected]/msg47862.html//www.mail-archive.com/[email protected]/msg47862.html
    http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-ext ension

  • How to get Adobe Air-apps to run *properly*? (Voddler ecpecially)

    First: I am running AMD64, and have installed the bin32-adob-air from AUR.
    The problem is, this does not work as it should. Air apps are never "installed" like they would be in Windows, or Ubuntu with the adobe-air from adobe installed. This causes problems with remembering configs and storing data between instances. Wimp, t.ex. will never remember my password, now matter how many times I check the remember password-box. And When running VOddler it just won't find the config file.
    I am trying to run Voddler in linux now, following this. But it won't work.
    I just get an "error reading config file" message when starting it using the adobe-air command (ie. the script from the package. Thinking the problem might be caused by the script running air apps from a temp dir, i aslo tried to run
    [gert@blad opt]$ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/VoddlerPlayer/META-INF/AIR/application.xml /opt/airapps/VoddlerPlayer
    after unpacking the Voddler Files there, but no luck.
    I see that there are a newer version of Voddler out now, and I will try that, but I'd appreciate any help with this spesific issue.
    Also, I would like to know if there is any way to get the "full Air experience" where you jut click-and go, and can install Air-apps the simple, proper way "everybody else" does it. Cause Air right now is a major hassle. Is there any chance of getting the Adobe-Air installer from Adoe work on Arch, or at least get a similar result? Integrated in the system, detected in the browser on  webpages etc.
    Last edited by naguz (2010-05-15 17:01:25)

    Tried again with the command taken from firefox appended to the script (instead of §1 §2 etc.) and got:
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: cannot open shared object file: Ingen slik fil eller filkatalog
    Error #2032
    http://api.voddler.com/vnet/index/login-token
    Parameter: version:2
    Parameter: token:3c034c484e3ed6217ec0b4b6a6cd01c9
    Response received
    http://api.voddler.com/vnet/index/pre-movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: crid:2721821284152752803
    Parameter: version:2
    Response received
    PreMovieResult: [object Object]
    movieID: 2721821284152452737
    MOVIEREQUEST: false movieModel.resumeTime: 0
    http://api.voddler.com/vnet/index/movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: version:2
    Parameter: crid:2721821284152752803
    Parameter: resume:0
    Response received
    Adding to playlist url: 0p000001000_e000335_n0017_s0318_he3052b084510fe31419083eb165aa4bc_00000000000000000000000000000000_d59845ff23b2b6f22d3f3ee9020ab34af_t02
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 1000
    extra = "Token login result triggered"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2004
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    It errors out after the Voddler window has been "Rerwinding the tape"  for about 10 secs.
    EDIT: I moved my voddler folder to /opt/airapps so I could use your file without any edits to rule out typos.
    Now, the voddler player starts from firefox in wine. But I immediately also get the "Oops, we noticed you didn't watch the whole movie"-window pops out at the same time, and i get a similar error as above.
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2008
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    I guess voddler cancels the DRM "lease" as soon as the error box pos up, giving me this question. Seems Firefox doesn't communicate properly with the air-app. Or something else I don't get. complete output from firefox run: pastebin
    Last edited by naguz (2011-01-11 22:32:16)

  • How to force an AIR app to close?

    My AIR application is one in a suite of mixed language applications under a common non-AIR front end.  When the parent application exits, all child sub-applications (including the AIR app) should close as well.  Any suggestions how I might communicate the close to the AIR app?

    I believe that the main app contains an array of all children spawned during it's running time. When the "close" event for the main app fires, simply loop over that array and issue close commands for each child app/window.

  • I did not authorize 2 in app purchases and because my credit card is at its limit, and i dont know how to reverse the in app purchases, i cannot update any app or do just about anything in the appstore or itunes store. I paid for apps, i demand my updates

    I did not authorize 2 in app purchases and because my credit card is at its limit, and i dont know how to reverse the in app purchases, i cannot update any app or do just about anything in the appstore or itunes store. I dont care if i owe apple's itunes appstore a few dollars over 2 in app purchases i never meant to download in fact the whole app itself i wanted to delete...but out of the hundreds (maybe lower thousands) fof dollars in music and apps and whatever else, that i rightfully purchased over the passed couple of years....should *NOT* have the upgrades and/or previous purchased songs withheld from me over $3 in accidently purchased add ons through an existing app i deleted an disliked anyway

    Same thing happened to me with my peruvian credit card in the peruvian app store, I want to buy an app, but it says that my credit card is "not supported in the Peruvian app store"

  • How to install the Netflix app in ipad2 , i have always the message "your request could not be completed"

    How to install the Netflix app in my ipad2 ? I have always the info " your request could not be completed " , i have already registred at the Netflix site , and when i try to use it , is is mandatory to have the app Netflix in the iPad .

    Totally miss spelled some stuff.   Download silverlight from Netflix site.  Wow, that was weird.
    Maybe it's an iPad app as well.

  • How to compile the DB lookup code for XI:

    Dear All,
    i am very new to java and XI. Please let me know how to compile a Java Code for DB lookup and put in the imported Archive in IR. is there a seperate way to do it? Please guide me step by step. for performing Communication channel DB lookup.
    I have gone through the Communication channel lookup of siva,
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    but i am not understanding how to compile the given code in Advanced user functions area without any mandetory .jar files and header files. and put it into XI .
    please guide me.
    I mean i use a jdk1.4.2 Compiler as my XI server has 1.4.2 compiler.
    Regards,
    prakash
    Edited by: senthilprakash selvaraj on Jun 17, 2008 4:03 AM
    Edited by: senthilprakash selvaraj on Jun 17, 2008 4:04 AM

    Hi,
    You don't have to worry about compliation. XI will automatically comple it when you create the udf, activate it and test your mapping. In case of any error it will give compliation error there itself.
    Regarding all the mandatory jar files which are required for compilation is already available in XI server.
    If you are using any third party libraries(jar files) you just need to add the jar file in your external definition and need to import the necessary packages in User Define Function. I hope it answers all your questions.
    Thanks
    Amit
    Reward point if answer is helpful

  • How well does the TomTom app work?

    Let's hear it, how well does the TomTom app work compared to a dedicated GPS device? Are you using TomTom's special cat kit? Is there a way to load TomTom binary files (POIs) onto the iphone?

    I have used a Garmin Nuvi760 for about 2 years and have been very pleased. When TomTom had a sale for $50 and now seems to be $60, I bought it. I also bought a kensington car mount. (http://us.kensington.com/html/17546.html). I like it. with my 3GS, there is no need for the amplified TomTom car kit. The speech quality could be better but it's loud enough. I do like the on screen presentations a bit more than my Garmin. I'm still getting used to the interface. It's a real good thing that I can use my contacts file to set destinations. My next step is to go on an 800 mile trip this month and compare the two systems side by side. So far, TomTom has not always made the best route choice and once sent me to the right address in an adjoining city. (This is southern Cal) Not good, but these are map issues which will always be evolving. Is it worth it? Yes. At $100, maybe. The good thing is that my phone is always with me and so is my GPS. I does put a drain on the battery, so it should be on charging while using in a car.

  • The option to sync apps is no longer available in iTunes, though it used to be. Can anyone tell me how to access the sync apps button please?

    Can anyone tell me how to access the sync apps button please? I used to be able to select it but it is no longer visible.

    You have to connect and select iPhone in computer iTunes Sidebar.
    If you don't see the Sidebar, toggle it on in iTunes menu View > Show Sidebar.
    Take a look at this screenshot on updating apps.

  • How to delete the starter app like youtube,stock  etc from your ipod?

    Hi i really want to know how to delete the youtube app from your ipod touch without using cydia.
    thanks.

    You can't. Just move them to a back screen or in a folder with other apps you do not want.

  • How to execute adobe air app & pass argument from Flex ?

    Helo everyone,
    May i ask a question, How to execute adobe air app & pass argument from Flex ?
    Thanks in advanced.
    Jacky Ho.

    Hello Jacky,
    You can find an example here
    http://spreadingfunkyness.com/passing-parameters-to-adobe-air-at-startup/

  • Hi, i downloaded call of duty black ops on my iMac, and i had in app purchases, and it asked me if i wanted to restore them, but an error occured and I had to click cancel, now I don't know how to restore the in app purchases, does anyone know?

    hi, i downloaded call of duty black ops on my iMac, and i had in app purchases, and it asked me if i wanted to restore them, but an error occured and I had to click cancel, now I don't know how to restore the in app purchases, does anyone know?

    The developer would know, at least they should help troubleshooting.

  • HT1727 I inherited my iPhone & I don't know how to update the 45 apps already on it

    I inherited my iPhone from my husband so most of the apps are under his old Apple ID/business email account but his email account is no longer accessable since he has recently retired and no longer can use his business account.  I don't know how to update the 45 apps that he purchased that are still on my phone.

    Hi barbsapplesupport!
    Here is a link that can tell you about updating your apps on your iPhone:
    Download and install app updates - App Store - iPhone Basics - Apple Support
    http://support.apple.com/kb/TI133
    It is likely that these apps were purchased under his Apple ID, so in order to update them, you will need to enter his Apple ID and password when prompted. Thanks for using the Apple Support Communities!
    Cheers,
    Braden

Maybe you are looking for

  • BPM 11g supporting XPDL ?

    Hi everyone, 1) Do you know whether "Oracle BPM 11g" still support "XPDL" ? 2) Can we export "BPMN process" designed with BPM Studio 11g out as "BPMN 2.0" standard ? Regards Pearapon S.

  • Address Book - Problems after installing Snow Leopard

    My Address Book now seems 'buggy'. Despite setting the 'sort by last name' in the preferences, the list will only sort by first names. Companies that were listed under the company name, now are listed as 'no name'. Anyone with similar problems or rec

  • Why is itunes crashing when syncing iPad in Windows 7?

    When syncing my iPad via iTunes using Windows 7 Professions (SP1)... iTunes crashes repeatedly. This just started. Any suggestions greatly appreciated.

  • "failed to create resource mgr" in trace file

    I got error logs below when I opened the second oracle connection within a transaction, anyone can help? [01/06/2004-17:26:46:100][000004ec] kpntdbid::AllocNewSrvr(dbname) - allocated server 0x01ba68a0. [01/06/2004-17:26:48:444][000004ec] kpntsrvr::S

  • Publish app that uses XML file.

    Hi, I want to create an App which uses XML file as a data source. I want that XML file is online file on my server downloaded in first use, and looking for changes every time user want to do this, so i have a legal question if apple can release my ap