Start Air app from shell (adb shell am start)?

SDK: 2.6
Im trying to auto start my app when I push it to a device for testing. Im using the adb shell with the "am start" command.
Example In Bash: $am start air.SampleProject
Returns the error:
Starting: Intent { act=android.intent.action.VIEW dat=air.SampleProject}
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=air.SampleProject flg=0x10000000 }
Help?
I have found you have to start the start or maybe add something else int he manifest but I cant figure it out. Is there a way to start a air app from shell?

Using ADL
$ adl releaseDirectory/yourApp-app.xml
That's it. Just make sure you have your SWF file to be called from the application descriptor.

Similar Messages

  • Problem starting AIR app from windows server 2003

    Hello,
    I have an AIR app that I am trying to run using a c#
    webservice under Win 2003.
    I am starting the application process (air .exe file) as the
    "Network Service" user which has full-rights on the app-folder and
    app-working folder. The problem is that once with the applications
    the "Adobe AIR Updater.exe" process is starting to (using the same
    user N.S.) and both of the processes stop responding.
    I have tried to start the process as "Local Service" with
    "Desktop Interaction" too but unfortunately with no result.
    I must tell you that under XP and Vista it runs perfect...
    Is there any security issue related to win 2003 or any way i
    can start an air app from command line.
    Also i am interested why "Adobe Air Updater.exe" is starting
    ?

    Not sure about  copying eulaAccepted file from one location to another - that would really depend on which user account your service is running under.
    A better approach (IMHO), is to open the services window (My Computer | <right-click> | Manage, then navigate to Services and expand the tree) so you can see your service on the RHS.
    Stop your service, then inspect it's properties, select the 'Log on' tab, then check the checkbox which says "Allow system to interact with desktop". Apply the change, then restart your service.
    next time the AIR runtime prompts you to accept the EULA, the window will appear on the screen, so you can click "I accept".
    After accepting, reverse the procedure which allowed the service to interact with the desktop, and make sure that you have modified the registry to prevent AIR from updating as mentioned in:
    http://help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3 d11c0f59823a-7ff0.html
    You should be all set.

  • I updated to ios7 on my iphone 4 and now cant install apps and one app says waiting for 2 days now. Also it started ading apps from my wife's phone onto my phone even though we have separate apple ids.

    I updated to ios7 on my iphone 4 and now cant install apps and one app says waiting for 2 days now. Also it started ading apps from my wife's phone onto my phone even though we have separate apple ids.

    We do not share an apple ID and her phone is now logged in with her account and I have since backed it up on itunes under her account as well. I have turned off automatic downloads on her phone but they still keep downloading. I delete one app and then another one just appears on the phone.

  • 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.

  • Launching an AIR app from another (when offline)?

    I have a pair of AIR applications that are meant to work
    together as part of an application suite. One feature is that a
    user should be able to click a button in APP_1 and launch APP_2 (if
    installed). To do this I created a "LaunchButton.swf" that loads
    "air.swf". This works GREAT when the user is online and "air.swf"
    is able to be loaded from "
    http://airdownload.adobe.com/air/browserapi/air.swf".
    I tried to copy "air.swf" locally and use that instance but I am
    guessing that it doesn't work due to security restrictions.
    If there are any AIR engineers reading this (Oliver?) please
    let me know if there is a solution to "Launching an AIR app from
    another (when offline)?"
    Thanks!

    I think theoretically it shouldn't work, and doesn't by the
    response you give. Remember a functional work around isn't always a
    fix. What you've essentially done is loaded the air.swf into a
    sandbox bridge, bridging it between a web sandbox and an
    application sandbox, therefore you're able to call its methods
    without security errors. However, if the air.swf loads in another
    swf, maybe a helper swf, you won't be able to access any methods in
    that swf, neither will the air.swf. To my understanding, it's not
    grandfathered into the sandbox bridge, but retains its web sandbox.
    Before going crazy about the bad news I may have just given,
    wait until Ted returns to give you a response. I could be way off
    par here :) Good luck!

  • Any solution for Launching Air Apps from Sandboxed Chrome and Safari Browsers?

    Before we go and build our own plug-in (Ugh!)...
    As of early this year, we could no longer launch our Air application from Chrome. Now Safari (with Mavericks) has Sandboxed Flash with their browser and it will no-longer launch our application.
    Does anyone have any helpful advice (beyond building our own plug-in)?
    Thanks,
       Leo

    For the Chrome issue, I added instructions on how to manually enable an exception so that the plugin could run. The easier way to get it working is to have them install an Air app from the browser using a Flash badge. This didn't work for us since our app needs a native installer. Another option is to have our user install another Air app from our site. The exception is created for the site and the Air plugin so even though it would be a different app, once they allowed the plugin on our site, we could launch the natively installed app after that.
    I just discovered the Safari sandbox issue on Mavericks. I haven't tried either of these approaches on Safari yet. Is it the AdobeAAMDetect plugin in Safari settings that needs to be allowed?
    http://support.trainerroad.com/entries/22547739-How-do-I-allow-TrainerRoad-to-be-launched- from-the-website-

  • How can I run a gui app from an su shell?

    Hello,
    I login to my mac as a non-admin account.  I then open a terminal and su to my admin account for anything requiring it.  I am trying to run a gui app from the terminal window, but get this error, and the app does not open:
    $ /usr/local/bin/wireshark
    2011-08-14 06:54:29.327 defaults[18406:903]
    The domain/default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant) does not exist
    2011-08-14 06:54:29.346 defaults[18407:903]
    The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
    ./sync_osx_look.sh: line 40: gtkrc: Permission denied
    (process:18396): Gdk-WARNING **: locale not supported by C library
    (wireshark-bin:18396): Gtk-WARNING **: Locale not supported by C library.
              Using the fallback 'C' locale.
    (wireshark-bin:18396): Gtk-WARNING **: cannot open display:
    I know I can "switch user" but this is cumbersome as it requires typing a password each time, and I need to have applications side-by-side for easy access and testing.  Any thoughts?
    Thanks.

    I use LaunchAsRoot to run GUI apps as the root user, while logged in to my admin account.
    Another way is to use Applescript.  Here's what I do to run Console as root:
    do shell script "/Applications/Utilities/Console.app/Contents/MacOS/Console > /dev/null 2>&1 &" with administrator privileges

  • Need to 'launch' AIR app from SD card on Samsung Galaxy TABLET...

    April/28/11 at 3pm ET
    Hi to the group...
    Not 100% sure if this is proper forum to ask this, if anyone knows a better one please point me to it via ([email protected])
    Ok. Trying to see if my working .AIR app will run on my pals Samsung Tablet (before I buy one for myself)...
    Dropped the 'AIR' file onto the SD card (I can see it (the AIR file, size correct) via the fileBrowser app but clicking it does nothing.
    Of note AIR is installed in background of the device and it is running.
    Cant see/find an 'Adobe AIR launcher?' icon' anywhere (only see Adobe PDF browser).
    In all my web searching I see 10000 developer related tutorials re: creating an APK file / converting to APK file using Flash Professional ect.  Not what I am looking for...
    I think I am missing something very basic here is there a launcher for AIR apps on Android?
    TIA //GregH

    Hello
    Thank you for your post.
    You cannot throw directly from your external device, however you can once that file is transferred to internal memory.
    please review this guide for instructions on how.
    How to throw (send) music, video or picture files to a DNLA compatible device.
    https://us.en.kb.sony.com/app/answers/detail/a_id/34563/c/65,66/kw/34563

  • Launch desktop AIR app from swf button

    I have a very simple task. I have an AIR app installed. All I want to be able to do is launch it from a swf button. I am building the swf button in Flash CS6. How do I do this? All it has to do is launch the app. No fancy stuff, no installs, no validation. Just launch the darn app. I can't seem to find a simple solution. Thanks!

    Not sure exactly why yet, but I finally found something that worked!!!! Hope this saves someone else hours of research:
    myCustomBtn.addEventListener(MouseEvent.MOUSE_DOWN, versionDetectCallback);
    var _air:Object;
    var _loader:Loader;
    var appID:String = "thenameofmyapp";
    var pubID:String = " "; 
    function loadAir() : void
    _loader = new Loader();
    var loaderContext:LoaderContext = new LoaderContext();
    loaderContext.applicationDomain = ApplicationDomain.currentDomain;
    _loader.contentLoaderInfo.addEventListener(Event.INIT,onInit);
    _loader.load(new   URLRequest("http://airdownload.adobe.com/air/browserapi/air.swf"),loaderContext);
    function onInit(event:Event) : void
    _air = event.target.content;
            //the pubID argument resolves to and empty string ""  
            _air.getApplicationVersion(appID, pubID, versionDetectCallback);
    function versionDetectCallback(event:MouseEvent) : void
           _air.launchApplication(appID,pubID);
    loadAir();

  • How can I compile an AIR app from the Flex-OEM Compiler?

    Hi all.
    As i've read in http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_1.html, you should run amxmlc or pass +configname=air param to mxmlc in order to compile an air application. Is there a way to do this with the OEM Compiler?
    Thanks

    I ran across this article, however it's for an earlier version of AIR. A version that used publisherID, however that is not required in the new air versions.
    http://blog.everythingflex.com/2009/06/08/open-an-air-application-from-a-2nd-air-applicati on/
    I tried creating this app without the pub id, didn't seem to work. I've got to get a certificate and get the pub id from that.

  • Firefox 11 will not install air or start air application from the badge install

    Seems to work in Chrome, but I need this to work from within firefox...11 is the default for the windows platform we must use.
    Running window 7 64-bit for development, and the air app is html javascript (J Query) created in dreamweaver 5.5
    any help...thanks

    Strange - You can't even install it directly on the phone from the App Store. Have a look [http://support.apple.com/kb/TS1702 this Apple troubleshooting article]. Beyond that, Apple would probably be better equipped to help you.
    Let us know if you have any new information.

  • Slow start of app from Windows-Share

    Hi,
    i have an ZFD-App which has to start an *.EXE from a Windows-Server. The command ist like \\winserver\icd\path\boxes.exe When I start this ZEN-App I have to wait longer than 30 seconds before I can see a logon-windows of this program. If I make a good old local link on my WinXP-desktop and I start this I see the logon-windows after only 2 seconds. This is e very big difference.
    I tested this scenario with another EXE from another windows-share, it's the same problem.
    Any suggestions?
    Uwe Bassen
    Hamburg
    Germany

    Well, if the user/workstation isn't authenticated to your windows box before
    the app starts, its going to have different timeout issues (I'm not sure how
    you have the app assocated).
    My suggestion: copy the exe to a location that the user/workstation already
    has rights to. Not sure why you have to run the app from a server the user
    doesn't have rights to already.
    You might be able to build in the authentication prompt into your app with a
    pre-launch script (i.e. net use )
    >>> On 12/21/2009 at 3:46 AM, in message
    <[email protected]>,
    bassen<[email protected]> wrote:
    > Hi,
    > i have an ZFD-App which has to start an *.EXE from a Windows-Server.The
    > command ist like \\winserver\icd\path\boxes.exe When I start thisZEN-App I
    > have to wait longer than 30 seconds before I can see alogon-windows of
    > this program. If I make a good old local link on myWinXP-desktop and I
    > start this I see the logon-windows after only 2seconds. This is e very big
    > difference.
    >
    > I tested this scenario with another EXE from another windows-share,it's
    > the same problem.
    >
    > Any suggestions?
    >
    > Uwe Bassen
    > Hamburg
    > Germany--
    bassen----------------------------------------------------------------------
    --bassen's Profile:
    > http://forums.novell.com/member.php?userid=30002View this thread:
    > http://forums.novell.com/showthread.php?t=396411

  • Starting Windows App from J2EE Studio Creator App

    Hi,
    Does anyone know how to start a Windows application with arguments that is on the same windows server running the J2EE application? I'm using Studio Creator to build the application and it needs to start a Windows app to perform some tasks. The app will run in the background and exit by itself when done.
    Thanks,
    Ron

    Heres an example of how I start a windows app from within a swing application, I am passing the url of the db.
    String temp = "192.168.11.70";
    try {
    Runtime.getRuntime().exec("command.com /E:1900 /C C:\\Progra~1\\mts\\freight.exe "+temp, null);
    catch (IOException ex) {
    Regards
    Jonathan

  • Firefox 21.0 unable to start offline app from bookmark without fake wifi turn on android 2.2.1 and 2.3.6

    when the android phone is turned off, and then back on again, any desk top icon or bookmark of an web page with a manifest will not work when in airplane mode. You must at least make an attempt to turn on wifi, even an unsuccessful attempt to find a wifi connection will do. Then when you use the book mark or the desktop icon, it will work. I have a series of phones which only have internect connection - no phone company tower connection SAMSUNG-SGH-1997 firmware version 2.2.1 kernel verions 2.6.32.9 FROYO.UCKH1. Contact wih android support only got suggestion to use the google chrome browser, which incidentally does not work on 2.2.1

    Hi,
    I tried starting the server from the console as well as from command prompt. Here I am giving the command below.
    nohup ./startManagedWebLogic.sh bi_server1 t3://machineIP:portNo > bis1_startup.log &
    But each time I got the same exception.
    Korandla

  • Opening an AIR App from another AIR App

    Hello Experts,
    I want to make an AIR application from which I can execute
    other AIR Application. Does any one have any idea how it can be
    done?

    It cannot be done. If you browse the archive you will find
    plenty of relevant "discussions".

Maybe you are looking for