Use a emulator to test AIR for Android app

I am using Flash CS 5.5 on a Mac to make an Android version of a Flash app. I would like to use an Android emulator to test the resulting apk file. I downloaded the Android Developer Tools but can't figure out how to install a apk file so that it appears in the emulator. Can anone give me step by step instructions? Since I'm on a Mac, I prefer non-command line statments. Also include needed publisher settings in Flash.
I'm also open to any Mac OS X based Android emulators that allows me to run an Adroid app directly from an apk file stored on my hard drive.
Thanks

Hi guys, any ideas?

Similar Messages

  • Using Google Play Developer License RSA code with Air for Android App?

    What is the procedure for using Google Play Developer's provided license code (Base64-encoded RSA public key to include in your binary) for an Air for Android app in Flash?
    I see the need to load a p12 file and have gone through the process of creating one for Air for iOS with OpenSSL but the Google provided key is in a different format. To start with it is delivered by copy/paste off a webpage.
    I am using Flash CS5.5. I could switch to CS6 if neccesary.
    Thanks

    Follow this link, see post number 12.
    http://forums.adobe.com/thread/1115438

  • AIR for Android app location

    I am developing an AIR for Android app. When the app is published, does anyone know where on the phone the app is stored? It would be on the internal memory as the app is never moved to the sd card.
    I need to know this as the app exports a pdf file. I am using File.applicationStorageDirectory so the pdf should save in the app directory but I cant find it.
    Would the app be stored in the same directory for iOS as well?
    Thanks
    UPDATE: 18/01/12
    I have found the app location and which can be accessed with a rooted phoned.
    I also have the pdf saving in the /Local Store/ directory of the app. However, is it possible to save the pdf in the sdcard directory? I have tried a relative path (../../../../../../sdcard) but that didnt work.

    Hi guys, any ideas?

  • Air for Android app just a black blank screen on emulator.

    Greetings,
    I'm starting android app development using air for android and I'm encountering the same problem as in this discussion, http://forums.adobe.com/message/4343423.
    Followed all the suggested solutions on the above link and nothing is working for me.
    Before I started air for android development, I upgraded my air sdk from 2.6 to 3.2, I overlayed the AIR 3.2 SDK in flash following the instructions on this link http://www.flashdeveloper.co/post/20583114199/air32-in-flash-cs-55.
    Published my first air for android test app (a simple test app to test swipe gestures) and installed the .apk on the emulator using the command line. When I launched the app on the emulator, it says Adobe AIR runtime is required so I installed the AIR runtime on the emulator using this tutorial http://renaun.com/blog/2010/12/finding-the-air-for-android-emulator-runtime/.
    When I thought everything will now work as expected then this problem came up. What do you think is the problem here?
    I'm using flash pro cs5.5 on windows 7 64-bit.
    Thanks in advance.
    Thanks,
    Randy

    Hi guys, any ideas?

  • AIR for Android App - Video Issue

    Hi all,
    I've developed a Air for Android application targeted specifically for Samsung N 800.
    There is a section in the application that has a list of Thumbnails and the user can click on any thumbnail and Play appropriate video.
    When playing the video, there is a Close button and Next / Back buttons available on the screen to handle respective actions.
    The issue with the app is that, when the Video is playing, if I hit the Home button available on the Tablet, the app minimises. Now if I maximize the app from the System Tray or reopen the App from the Menu, the video continues to play, but this time the Video overlaps the Close and Next / Back, so the user is not able to close the video what so ever.
    The same issue occurs when I access any of the buttons available on the Tablets system bar on the bottom of the screen.
    Any help will be much appreciated

    I'm not sure if I completely understand you, but if I do, you want to check the Exif info to see how the image is oriented, then rotate it to show it how you want on the screen. Take a look at this post here: http://forums.adobe.com/thread/875157 it may help with doing what you need. It's a little tricky and works differently for iOS and Android, but not too hard to figure out. Also, in the future, you may have more luck getting some decent answers by posting in this forum: http://forums.adobe.com/community/air/development/mobile?view=discussions

  • Do AIR for Android apps run on Dell Streak?

    I was wondering if Dell Streak 5 is supported to run AIR apps?
    The device is listed under certified devices list although it doesnt say if the user needs to get AIR from Android market or not. (our app has captive runtime so that shouldnt be a problem if AIR is supported)
    We got a user reporting a crash on the device while installing the app, so anyone who has installed and run an app made with AIR (2.7 and above) oon Dell Streak 5 ...just post a yes /no answer here. That will be of great help

    Okay. I've found an answer:
    yes, you can and have to add these icons via the descriptor file, since flash wont let you. But before you do that, go into the "Air publish" settings in flash. Here, right on page 1, there is the "include files" section. Add your icon pngs there. Hit OK and exit these settings. Now open the descriptor with an editor outside of flash and write in the files like I posted above. Close. Save. Make it write protected. No go to flash and publish.

  • Display tweets in AIR for Android app. How ?

    Hello,
    Can i display my tweets in flash using AS3 and How ?!
    Regards,

    Thanks Andrei1,
    Ok, i have create widgets on Twitter and generate this code:
    <a class="twitter-timeline" href="https://twitter.com/Q8School" data-widget-id="310111770192773120">Tweets by @Q8School</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id =id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(docu ment,"script","twitter-wjs");</script>
    but i really don't know how to embed the Tweets in flash using JSON....?!

  • Best way to preview AIR for Android projects for different devices?

    So if I am developing an AIR for Android app, is there a good, simple way to preview the app on any android device? I have installed it on my phone of course, but is there a simulator/emulator of some sort available so we can see how it would look on both an Android phone and a tablet? Thanks in advance to anyone who can help!

    DPI aside, you can just set your resolution on the project to the target devices resolution to preview how it will look. While vectors will render much smoother on the device (higher DPI), it's a very easy way to target various resolutions for testing.
    If you have the full CC suite you might want to consider using Flash Builder 4.7 which has many different device presets and allows you to create your own presets to mimic tablets and phones. It really depends how complex your project is to move over to FB.

  • AudioPlaybackMode.Voice on Air for Android

    Im developing an Air for Android App using Air 17 that is basically a VOIP phone. Im trying to get the Audio to come through the earpiece using the following code: SoundMixer.audioPlaybackMode = AudioPlaybackMode.VOICE; SoundMixer.useSpeakerphoneForVoice = false;
    It seems to work until I start talking into the built in Mic from my android device, the audio just stops functioning all together. I tested the AudioPlaybackMode.Voice on another simple app I made where it just plays a sound file and it works perfectly.
    Can anyone provide me with some insight of why this is happening or give me any advice on how to debug this issue? Thanks

    Make sure that were your tutorial code uses startDrag() /stopDrag()
    that you use: startTouchDrag()/stopTouchDrag()

  • AIR for Android: In-app Billing

    Hi!
    I would like use the new functionality in-app billing of Android. Because of that, I need use IPC method calls.
    Is possible use this communication technic since AIR for Android?
    Thanks

    Hi Pea!
    Yes, I tried with Elad's post, but it's very succinct to me.
    Finally, James Ward send me a draf about this hackin and I was able to generate a mixed apk. And I could generate the apk without problems.
    Now, I'm figthing with secure socket between android and flex.
    Thanks for your help.

  • Google Maps for Flash in AIR for Android: ~2 minutes to start up

    I have a "Hello World" style AIR for Android app using Flash Builder 4 Burrito/Flex Hero.
    When debugging on device (stock HTC Desire) using Flex version v1.20 of Google Maps for Flash (map_flex_1_20.swc), it takes 1 minute and 50 seconds for the app to startup to display a simple map:Map3D on the home screen. The same app without the map:Map3D object starts in just a few seconds.
    There are no startup delays using the simulator.
    Anyone know what might be causing the severe startup delay when running on device?
    Thanks,
    Stephen

    Hi - yes no problem: I've uploaded a sample app here: http://crackedfrog.com/files/AndroidAIRMap.zip.
    You'll need to add a valid Google Maps API key and corresponding URL back into the maps:Map3D object:
    <maps:Map3D left="0" right="0" top="0" bottom="0"
      xmlns:maps="com.google.maps.*" id="map"
      url=""
      key=""
      sensor="false"/>
    This shows the same behaviour as described above - around 2 minutes to start up when debugging on the device.
    Appreciate any help.
    Thanks,
    Stephen

  • Air for android - not connecting to lccs

    I created an as3 swf that connects to lccs. It works well. I'm using the 10.1 swc. I used the same code in Air for Android cs5 file. It doesn't give any errors but it will not connect to the lccs server. I put an event listener on and it gives an error "INVALID_INSTANCE:invalid_instance". Now that would leave me to believe my roomURL is not correct but it surely is. And the room connects successfully when in an as3 swf.
    Does the Air for Android cs5 strip out things or something? The error event listener worked on the android phone but it didn't connect. Anyone know why the android version wouldn't connect?

    Sample Code on how to use debug trace that Raff was mentioning
    In your codes applicationComplete or creationComplete event, please add this line
    DebugUtil.traceFunction = traceMessage;
    DebugUtil.suppressDebugTraces = true;
    and add this funtion
    private function traceMessage(message:String):void {
           TEXTAREA OR LOGGER .text += message + "\n";
    Thanks
    Arun

  • AIR for Android monetizing

    I am new to this so forgive me, but i launched a paid version of an AIR for Android App and wanted to launch a free version with ads in an attempt to see how the monetizing of an app goes.  Does anyone have experience doing this with AIR for android?  if so what are my options?
    erik

    After a lot of trouble (account canned on ADMOB ) and research, I have gotten Ads to work in all my Android Apps. This will work on a lot of AD networks, but most will ban you click fraud. Only one network allows this method and they provide support for it too.
    I have over 100 games apps. with this method implemented and working. Here is a link to one of them for you to see how it will look in game. I am using multiple ads in this to force the user to click and make me some money: https://market.android.com/details?id=air.GraffitiCityMarketFree&feature=search_result
    Does LeadBolt offer HTML integration for banner ads?
    LeadBolt does allow banner ads to be integrated into your app using HTML, rather than using our SDK. To create a HTML banner ad after adding an app to the LeadBolt portal, simply click “Add Ad” and select “App Banner (HTML)” from the drop down box. The HTML snippet can then be added directly into your app’s HTML framework.
    So far my eCPM is $6.15
    I have created this guide to show my appreciation:
    Publisher Code:
    STEP I:
    Get an Account: http://leadboltapps.com/web/publishers/signup.php?ref=10022842
    STEP II:
    Click on the “APPS” tab and “Create New APP” to create an AD. Remember to change content unlocker to HTML Banner. While in the process.
    STEP III:
    Get the HTML AD Code and keep it safe. That is all we need from the site. How simple was that?
    AD HTML FILE:
    Create an HTML File and Load it to your site. Remember to replace your HTML Code from above step with where I have put: ****ENTER HTML AD CODE HERE****
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>Untitled Document</title>
    <style type="text/css">
    body,td,th {
         color: #FFF;
    body {
         background-color: #000;
         margin-left: 0px;
         margin-top: 0px;
         margin-right: 0px;
         margin-bottom: 0px;
         text-align: center;
         position: relative;
    </style>
    </head>
    <body>
    ****ENTER HTML AD CODE HERE****
    </body>
    </html>
    Action Script Code:
    STEP I:
    Credit: I found this on another site and would like to give credit to the author of pixelpaton.com
    The only change you need to make is to enter your website html url where you have placed the AD HTML FILE in the space where I have put : "****ENTER COMPLETE HTML URL HERE****". Where ever you want the AD, place the following code:
    // imports
    import flash.events.Event;
    import flash.events.LocationChangeEvent;
    import flash.geom.Rectangle;
    import flash.media.StageWebView;
    import flash.net.navigateToURL;
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    // setup variables
    var _stageWebView:StageWebView;
    var myAdvertURL:String = "****ENTER COMPLETE HTML URL HERE****";
                    // check that _stageWebView doersn't exist
                    if (! _stageWebView) {
                                    _stageWebView = new StageWebView () ;
                                    // set the size of the html 'window'
                                    _stageWebView.viewPort = new Rectangle(0,0, 800, 100);
                                    // add a listener for when the content of the StageWebView changes
                                    _stageWebView.addEventListener(LocationChangeEvent.LOCATION_CHANGE,onLocationChange);
                                    // start loading the URL;
                                    _stageWebView.loadURL(myAdvertURL);
                    // show the ad by setting it's stage property;
                    _stageWebView.stage = stage;
    function toggleAd(event:MouseEvent):void {
                    trace("toggling advert",_stageWebView);
                    // check that StageWebView instance exists
                    if (_stageWebView) {
                                    trace("_stageWebView.stage:"+_stageWebView.stage);
                                    if (_stageWebView.stage == null) {
                                                    //show the ad by setting the stage parameter
                                                    _stageWebView.stage = stage;
                                    } else {
                                                    // hide the ad by nulling the stage parameter
                                                    _stageWebView.stage = null;
                    } else {
                                    // ad StageWebView doesn't exist - show create it
    function destroyAd(event:MouseEvent):void {
                    // check that the instace of StageWebView exists
                    if (_stageWebView) {
                                    trace("removing advert");
                                    // destroys the ad
                                    _stageWebView.stage = null;
                                    _stageWebView = null;
    function onLocationChange(event:LocationChangeEvent):void {
                    // check that it's not our ad URL loading
                    if (_stageWebView.location != myAdvertURL) {
                                    // destroy the ad as the user has kindly clicked on my ad
                                    destroyAd(null);
                                    // Launch a normal browser window with the captured  URL;
                                    navigateToURL( new URLRequest( event.location ) );
    // setup button listeners
    Hope this works and helps you. If you have questions, let me know. Enjoy.

  • I need help adding admob ads to air for android flash cs5.5 app

    I would like to know how can i add admob ads in adobe flash cs5.5 air for android app without buying any extentions please tell in detail because my scripting in as3 is VERY weak, so detailed answers would be lovely.

      flash-air-admob-ane-for-ios-and-android - Admob Ane,a adobe native extention(ANE) for actionscript developer to add go…
    you need upgrade to flash cc.

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

Maybe you are looking for

  • I am no longer allowed to Purchase HD Videos in iTunes anymore.

    For over a year now I've been happily buying and downloading HD Videos onto my computer with iTunes.  Within the past month that has stopped.  Every time I go to buy a new movie now I get "Also availavle in HD on iPad and Apple TV".  I do not own an

  • Difficulty cross-referencing PDF created from MS Word Mail Merge

    Hello! I'm using MS Word Mail Merge to create PDF documents with Adobe Acrobat 9 (Merge to Adobe PDF ribbon). Adobe allows me to specify the file name to use, which Adobe uses for the first portion of the file name, but the remaining is up to Adobe a

  • IPOD VIDEO PROBLEMS

    I have a 30gb ipod video. When I plug it in my computer it plays. When I use my earphones or my brand new monster fm transmitter it doesn't play at all. What can be the problem and how can I fix it?

  • WVC54GCA ip address and ping but no web or image

    Hi, I have two identical WVC54GCA cameras connected on static ips, .51 and .50.  One works perfectly and I can see the image on the crappy viewing software or go to the web site and view the image there.  The second one is more problematic.  I can pi

  • Installation PS failed...

    Hi, I had a trial for 30 days. 2 days ago I took the payed version. I've downloaded Lightroom and PS again (have a new pc). Lightroom went well but PS installation failed. Ik get the message:  Installation failed. Can't unpack the files. Download aga