Air for Eclair (Android 2.1)

Okay so I followed this video tutorial to the T.  http://www.gotoandlearn.com/play.php?id=123 One thing the Lee did not mention in this tutorial is that when you download the USB drivers from the Android SDK you still have to install them to the device. At least that is what I had to do for my Nexus One. Here is the issue I am having I can install the runtime just fine but when I publish the .apk file through flash an push it to the phone to start, it starts but it is just a black screen. I even tried it with various simple apps and still no luck. Has anybody ran in to this issue? Any advice will be appreciated thanks

well I just go this email:
Michael Chou wrote:
Hi,
Many of you have found that older apks packaged with an older version of our AIR SDK do not work with the newest version of the AIR Runtime we just dropped to this prerelease (6/4/2010).  Specifically, a black screen is shown instead of the application.
Please make sure you package your application with the latest AIR SDK (6/4/2010) when running your application on a device with the latest 6/4/2010 AIR Runtime.
We are currently making significant changes to the AIR Android SDK and Runtime, so this may happen occasionally with our prerelease drops.  To be sure that your app works properly, please make sure that your apk is packaged with an AIR SDK that is included in the same drop as your target AIR Runtime.
Thanks,
Michael
So there it is

Similar Messages

  • Please clarify availability of H 264 encoding in AIR for iOS/Android

    Hello,
    I've written an app to send a live camera stream via RTMP in H 264/Nellymoser from mobile devices.  The app works fine on AIR when tested on my Win7 desktop, but when I publish to AIR 3.2 for Android or AIR for iOS, it seems that the H264VideoStreamSettings are simply ignored and the video ends up in Sorenson.  Is H264 supported for encoding/publishing on AIR for mobile devices?  If not, is this planned for the future?
    Thanks!

    Unfortunately, the release notes say H.264 encoding from AIR is for the desktop version only:
    http://helpx.adobe.com/x-productkb/multi/release-notes-flash-player-11.html
    H.264/AVC Software Encoding for Cameras (desktop) — Stream high-quality video from your computer's camera with higher compression efficiency and industry stanard support, enabling both immersive real-time communications such as video chat/conferencing and live video broadcasts.

  • ApplicationDomain behaves differently in AIR for IOS, Android or Desktop

    Hi,
    I am loading plugin SWFs embedded in the app on all platforms.
    Loader context is:
    new LoaderContext(false, ApplicationDomain.currentDomain, null);
    I am loading an external SWF, everything works fine, unless I try to access an internal class which is not also in the main SWF.
    Same exact code, same exact plugins, same exact LoaderContext, works perfectly on Desktop and Android.
    I have found a solution, but it breaks all OOP best practices in order to work also on IOS.
    Full details of the bug can be found here:
    http://forums.adobe.com/message/5704168#5704168
    (AIR 3.8, plugins are in player 11.8)
    thank you
    Filippo

    I have this bug also.
    reporting

  • Air for ios / android feeds

    ive saw this on adobe site
    http://cookbooks.adobe.com/post_Integrating_an_RSS_feed_into_an_Adobe_AIR_applicat-17926.h tml
    i put the code into a frame , and removed the public tags for a package .
    then compiled  and the erorr appeard to me is this
    Scene 1, Layer 'Actions', Frame 6, Line 15
    1046: Type was not found or was not a compile-time constant: ResultEvent.
    this the whole code added into android project
    function getFeed()
    var service:mx.rpc.http.HTTPService = new mx.rpc.http.HTTPService();
       feedURL = "http://ameerw.com/feed/";
       service.method = "POST";
                      service.contentType = "application/x-www-form-urlencoded";
                      service.resultFormat = "e4x";
            service.requestTimeout = 48;
                         service.send(feedUrl);
                         service.addEventListener(ResultEvent.RESULT, this.feedPosts);
    // Then create the function that will manage the response:
    function feedPosts(e:ResultEvent)
      var result:XML = e.result as XML; 
                  // assign the items you want, to the component you want, below is sample 
       this.dataGrid = result.item;
    on the feed url place ive tried all other possible options
    such
    //http etc
    http etc with out //

    same issue . this didnt fix it .
    i added this
    import mx.rpc.events.ResultEvent;
    function getFeed()
    var service:mx.rpc.http.HTTPService = new mx.rpc.http.HTTPService();
       feedURL = //your RSS url
       service.method = "POST";
                      service.contentType = "application/x-www-form-urlencoded";
                      service.resultFormat = "e4x";
            service.requestTimeout = 48;
                         service.send(feedUrl);
                         service.addEventListener(ResultEvent.RESULT, this.feedPosts);
    // Then create the function that will manage the response:
    function feedPosts(e:ResultEvent)
      var result:XML = e.result as XML; 
                  // assign the items you want, to the component you want, below is sample 
       this.dataGrid = result.item;
    but i got  the same error message.
    tip : the cookbook code is a package , might the problem be because i didnt use it as a package ?

  • Search app content *air for ios/android*

    is there any way to create a search bar so that user can be able to search contents in an app .
    for example : search for a word :::> word is found ::::>  user click results :::::> fo to and stop ( frame containing the results )
    or  if any one has an idea about bookmarking a frame content please help me

    same issue . this didnt fix it .
    i added this
    import mx.rpc.events.ResultEvent;
    function getFeed()
    var service:mx.rpc.http.HTTPService = new mx.rpc.http.HTTPService();
       feedURL = //your RSS url
       service.method = "POST";
                      service.contentType = "application/x-www-form-urlencoded";
                      service.resultFormat = "e4x";
            service.requestTimeout = 48;
                         service.send(feedUrl);
                         service.addEventListener(ResultEvent.RESULT, this.feedPosts);
    // Then create the function that will manage the response:
    function feedPosts(e:ResultEvent)
      var result:XML = e.result as XML; 
                  // assign the items you want, to the component you want, below is sample 
       this.dataGrid = result.item;
    but i got  the same error message.
    tip : the cookbook code is a package , might the problem be because i didnt use it as a package ?

  • Adobe AIR for android, what is going on ?

    Hello!
    Few days ago i decided to try develop adobe air for android.
    Updated my phone to android 2.2 installed Android SDK , Adobe AIR SDK.
    Now there are few tutorials out there how to set up Air ap for android.
    They all state that u have to install Runtime_Device_Froyo_***********.apk
    You can supposidly download it from adobe pre-release, i cant get in there because they don`t let new members to register ?!?!?!
    I searched the entire google for 3h in every possible way to find Adobe Air setup for android, but its like it never existed. There are few disabled rapidshare and megadownload links, it is mentioned in a lot of places but you just cant find it anywhere.
    How can i setup Adobe AIR for my Android phone ?

    Can you please give directions where can i clear that cash.
    Anyway i don`t think its the case, because this is first time i hooked phone to internet, and first time i launched Android app store.
    Edit:
    I went to https://market.android.com and there is Adobe air app. But when i try to download it says that my device doesn't support it (Samsung Galaxy GT-I5500) By default it comes with android 2.1 and doesn't support Adobe air, but i upgraded firmware to 2.2.
    Maybe that is the reason it doesn't show me Adobe AIR in app store - based on my phone, not my Android version ?

  • Background services Air for Android

    Is there away to develop live wall papers using Air for the android app and the new Flash Builder Burrito or Flash CS5 tools?

    Can the background services be set up via java and communicate with the air app?
    Reason I am asking is that I wanted to have an alarm on an application that can be set by the user so it starts the app. However, I am not ure what other process othert than using background service this can be accomplished with an air android app.

  • Air for Android Extremely Slow...

    Hey everybody,
    Hopefully some of you have been trying the prerelease of Air for Android like myself. Its all great and easy peasy to export the apps to my phone but it seems to be ridiculously slow even for seemingly simple scripts.
    This is what i'm trying to run at the moment and the app times out before it gets running (All the apps do get running eventually but only after the time out timer could have run over multiple times).
    import flash.display.Shape;
    import flash.events.Event;
    import flash.sensors.Accelerometer;
    import flash.events.AccelerometerEvent;
    var vx:Number = 0;
    var vy:Number = 0;
    var s:Shape = new Shape;
    s.x = stage.stageWidth/2;
    s.y = stage.stageHeight/2;
    with (s.graphics)
        lineStyle(3,0);
        drawCircle(0,0,5);
    addChild(s);
    var accel:Accelerometer = new Accelerometer();
    addEventListener(Event.ENTER_FRAME, onFrameLoop);
    accel.addEventListener(AccelerometerEvent.UPDATE, onAccelEvent);
    function onAccelEvent (evt:AccelerometerEvent):void
        vx += evt.accelerationX;
        vy += evt.accelerationY;
    function onFrameLoop (evt:Event):void
        s.x = Math.round(s.x + vx);
        s.y = Math.round(s.y + vy);
    From what I can see theres nothing actually wrong with the code from what I can see but it just takes so frickin' long to load. If I make an app with some equally simple animations it loads almost instantly. I am aware that this is only a prerelease version of the software and the documentation does say that hardware acceleration has not been added yet but whenever I watch the videos up on youtube of the Adobe team making amazing apps with obviously buckets of script running smoothly on their phone I get annoyed
    P.S The processor on my phone isn't the problem either (Nexus One Eclair )

    If you are deploying for iPhone it is on the 'general' settings(First setting page opened).
    Just noticed you are making android app but i still added iphone deployment settings for further future
    But if you are using it for flash/android you have to add code into your fla descriptor with XML language(dont worry it is 1 line of code)
    Watch the video on this page about GPU rendering:
    http://blogs.adobe.com/cantrell/archives/2010/10/gpu-rendering-in-adobe-air-for-android.ht ml
    Your app shouldn't lag after these steps but if you have a project that gets bigger and has lots of code it MIGHT lag so that is when external files should help.

  • How to add Google Ads or similar in "AIR for Android" application?

    Hello,
    I have developed my android application (AIR for Android) in Flash Professional CS5.5. It's completed and fully tested on multiple android phones. Now I want to add Google Ads in my application to make some money.
    What I already know:
    I know that Adobe provides AdMob native extension API which allows you to add Google Ads in your app. But unfortunately, it's not free.
    What I want:
    I want a free resource through which I can add ads in my application.
    Please guide me how can I achieve this?
    Thanks in advance,
    momersaleem

    Yes, its for me broken, too.
    I found the link in this thread:
    http://forums.adobe.com/message/4036804
    Maybe try to contact the author or one of the thread participants for an unbroken version?

  • How can I use a file in flash cs6 that I made in flash cs5.5 air for android

    I have made an app in in air for android in flash cs5.5 air for android, and I want to edit it in cs6 and play it in cs6.
    But if I put Ctrl+Enter I got an error: createWin process failed with error 2: system couldn't find the file. I think the problem is that I'am using air for android 2.6 version in flash cs5.5 and version 3.2 in flash cs6. I have searched the web and found out that you can add older air versions using the sdk manager and I have tried it but first I get the error that the version of the sdk I am trying to install is not valid and after some files that I added to the sdk folder I get this error:Only SDK higher than version 3.4.2540 may be added.
    I there a possible way to update the air for android for an fla or apk? Or how can I let my originally file work fine in flash cs6??

    system couldn't find the file
    If you can´t get a more specific hint why your project can´t compile then I can think of some reasons theis error might occur
    1.You had files included besides the swf, like videos, audio files, xml files, that are not present in the place air expects them to be
    2.somewhere in your createWin functions there is a class import needed that isn`t present in 3.2 anymore, for example some classes or functions from classes that were valid in 2.6 are not any more in 3.2
    3. to achieve better eror logging, allow for debugging in the publishing options and see what specific lines in your code throw the error
    4.any air app needs a cert file, this needs to be created once, if you migrated to e new system it might be you never created that file which air expects to even begin the compiling process
    once you isolate the problem, report back

  • Air For Android - Full Screen not working

    Opened CS5.5 > Chose "Air For Android" which gave me a stage dimension of 480x800 default. I then created my app.
    I am using a Droid Bionic and testing my app on it. It will not go to full screen, regardless of how I am holding the Droid. When publishing, I clicked "Full Screen" and Portrait, Landscape, Auto Orientation, etc. I tried all of the publishing options, yet still there is white screen on the eastern and southern side of the screen.
    I have a picture on the main screen, and it fits perfectly within the 480x800 dimmensions when playing in Flash. After publishing to an APK file and testing it on Droid, I have that white space as mentioned, as if the stage size grew larger than the picture / app. I also shrank the stage(480x800) dimensions to to (340x600) , but still the same amount of white space. When I move the picture to the right a bit, and publish, it shows the white space on the left hand side of the stage. This can only mean that when I publish, the stage size grows but everything on the stage stays the same. 
    Any ideas?
    Thanks!

    I removed:
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    from AS3 and it works better. Now there is even white space on the north and south side of the screen. Clicking "Full Screen" in the publish settings, makes a little more white space, which is weird. It as if now the stage is expanding its height, rather than its height and width due to me using the above code. Still, would like to get rid of that extra white space.
    Edit: It looks like the stage height grew by 60. If I expand the picture by 60, placing it on the stage at 0x and -30y, it fits fine on the bionic. I don't understand why this is happening, and scared that it may be different for each device.

  • APP created with Air for Android but doesn't work on the emulator for test - Help!

    When I create an application using Flash CS5.5>>> AIR FOR ANDROID.
    After creating a test page I go to publish settings and send the app on Emulator RELEASE ... The APP is loaded correctly but as soon as you start the emulator, give this error "The application XXnameappXX (process air.XXnameappXX) has stopped unexpectedly. Please try again" Help Please!

    Ok i've find this before "Adobe Flash CS5/AIK2.5/runtimes/air/android/emulator/Runtime.apk" and install it on android emulator! Now works all i hope! Thanks for your answer!

  • Best practice for images. Air for Android

    Hey guys...
    I was thinking about the best solution when it comes to images storage for Air on Android.
    Since I dont have much experience with non-web based apps, I thought of two way and I would like to know your thought on them.
    1.Application Storage Directory. If I get it right, this folder is created when the app is installed and the project can access files in it. Any idea on how this can work with images?
    2.Database. My app uses a local database anyway so maybe that the proper way to do it. I've done some research and found out that the image must be converted to a byte array (thats easy) but then I dont have a clue on how to save it to the database.
    So? Which one is better for the mobile world?
    Also, if there are other ways let me know please.

    While I am no expert in this area, I did run across this blog:
    http://www.remotesynthesis.com/post.cfm/local-caching-of-remote-images-in-air-for-android
    It deal with local caching of remotely loaded images.  Should be exactly what you are looking for.
    Darren

  • Adobe AIR for Android - GPU Mode - Bitmap Auto-Smoothing Issue

    Hi everyone
    I'm having a bit of an issue with the AS3 bitmap object. I'm currently developing an 8-bit style pixel game for AIR for Android.
    This game is being developed at a very low resolution and is being scaled up to maintain the charm of an old retro game.
    One of the methods I'm using is drawing pixels directly to bitmap objects and scaling the object up to create the old look.
    When testing on a mobile device, this works beautifully when you set the rendering method to Direct but when you change
    the render method to GPU the visuals go all blurry and anti-aliased (it's as if the bitmap is being smoothed out). The mini map
    for example is rendered using the setPixel method and then scaled up 9 times. Looks great on my PC but once I export it to my phone
    it looks absolutely awful! This is no good as I want to keep the clean, solid pixel look to maintain the the old 8-bit feel and obviously
    I'd like to stick to GPU mode due to it's speed.
    Like I said, this only happens once you test on a mobile device in GPU mode - it doesn't do it on my main desktop machine or
    in Direct mode. I already have the stage quality set to low and I've tried setting the bitmap's smoothing property to false but
    it does nothing.
    Does anyone have any suggestions as to how I can get around this?

    How about first blit your image to a small bitmapData, then draw it on a large bitmapData (9X larger)?
    Like,
    var small_bmd:BitmapData = new BitmapData(SMALL_WIDTH, SMALL_HEIGHT, false);
    var large_bmd:BitmapData = new BitmapData(SMALL_WIDTH * 9, SMALL_HEIGHT * 9, false);
    var bm:Bitmap = new Bitmap(large_bmd, PixelSnapping.NEVER, false);
    var blitRect:Rectangle = new Rectangle(0, 0, 9, 9);
    var i:uint, j:uint, blitColor:uint;
    small_bmd.draw(SOURCE_IMAGE);
    large_bmd.lock();
    for(j = 0; j < SMALL_HEIGHT; j++){
         for(i = 0; i < SMALL_WIDTH; i++){
              blitColor = small_bmd.getPixel(i, j);
              blitRect.x = i * 9;
              blitRect.y = j * 9;
              large_bmd.fillRect(blitRect, blitColor);
    large_bmd.unlock();
    Not sure if the code works or not, but hopefully this helps.

  • Partial wakelock in Adobe Air for Android

    I'm developing Adobe Air (for Android) application which is intended to be constantly on. App has event based operations. However, when phone enters to sleep mode app is able to perform only one or few events in a second which is not good enough. AIR's SystemIdleMode.KEEP_AWAKE -mode is not an alternative since it is too battery consuming.
    I'm looking for a solution where phone is allowed to go into sleep mode (screen is off) but still CPU performance is not drastically dropped. Not sure if Android's partial wakelock -mode does the job and is available via ANE?

    Well Im a bit puzzled now. I just created a quick AIR app using AIR13 for Android and did a DEACTIVATE test on the NativeApplication.nativeApplication property and used a TextField to "trace" out the frame rate when the app deactivated. The frame rate stayed at 24FPS the entire time. I turned the screen off, let it turn off, went to the home screen, and switched to other apps while the test app was still running. In all cases, the frame rate never dropped to 4FPS as indicated in Adobe's documentation. So it is either something a bug or feature of AIR13+ or it is how Android KitKat handles applications in the background. Im using an unlocked/stock Moto X running Android 4.4.3. The app also appends the getTimer() call to the end so you can see that it does change. Here is a link to the quick app I created: Dropbox - deactivate.apk
    I guess if you want to download that and test it out to see how it behaves on your device and let me know the results. What device and OS are you running?
    Below is the original message I started to type before I decided to create a quick app to test with. It may or may not still be relevant based on your results from my app test.
    If you are looking at just recording information, you could probably setup something on the Android/Java side that gets started when the app "sleeps" using the DEACTIVE event as a trigger to start the ANE side of things. Then when your app "wakes", you could use the ACTIVATE event to trigger a call to the ANE to pull all the data collected in the Java side back to AIR and stop the ANE data capture since the data capture would be back to being handled by AIR.

Maybe you are looking for