AIR - Android -- A piece of ****

Hi,
I spent my precious 2 days time to write an application (AIR-Android) which can play internet radio stations (streamed audio). Every thing worked great when I used 'Test Movie' or Ctrl+ENTER. But same is not working when I generated the .apk and installed on HTC Desire HD (running Android 2.2 and have AIR with latest updates).
I have predefined few internet radio stations and clicking on the station name should start playing the radio. I have used the SoundChannel with 3 second buffering option. On the device application triggers the buffering event but never comes out of that or plays the audio.
I have tried few things:
1. Prepared a test file with only one station
2. In publish settings --> Audio Stream set the bit rate to 24kbps which is same as that station is streamed
3. Increased the script limit to 30 seconds
4. Tried to use Security.allowDomain() which caused runtime error (3207 Application-sandbox content cannot access this feature)
I used the station "http://stream.radiosai.net:8004" for testing. The station is active, streaming in MP3 format and able to listen through the Windows Media Player / VLC.
I prepared a self signed AIR for desktop as well and installed on my laptop (Windows 7 64-bit) but same problem.
I have prepared this using Air for Android extn for Flash CS5.
Please let me know if anybody has faced the same problem, suggest me if I am really missing anything.
Here the AS3 code used for testing.
===========================
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.media.SoundLoaderContext;
import flash.net.URLRequest;
import flash.events.IOErrorEvent;
import flash.utils.Timer;
import flash.events.TimerEvent;
const AFRICA_STREAM:String = "http://stream.radiosai.net:8004";
var isPlaying:Boolean = false;
var recentlyPlayed:String = "";
var streamSound:Sound;
var streamChannel:SoundChannel;
var streamContext:SoundLoaderContext = new SoundLoaderContext(3000,false);
var streamTimer:Timer;
africa_mc.addEventListener(MouseEvent.CLICK, handleStationSelect);
function handleStationSelect(evt:MouseEvent):void {
     if (isPlaying == true) {
          streamChannel.stop();
          streamSound = null;
          streamChannel = null;
          isPlaying = false;
          streamTimer.stop();
          removeListeners();
     switch (evt.target.name) {
          case "africa_mc" :
               if (recentlyPlayed != "africa_mc") {
                    playStation(AFRICA_STREAM);
                    recentlyPlayed = "africa_mc";
               break;
function playStation(streamUrl:String):void {
     streamSound = new Sound();
     addListeners();
     streamSound.load(new URLRequest(streamUrl), streamContext);
     streamChannel = streamSound.play();
     isPlaying = true;
     streamTimer = new Timer(2000);
     streamTimer.addEventListener(TimerEvent.TIMER, checkPlayState);
     streamTimer.start();
function soundIoError(evt:IOErrorEvent):void {
     streamChannel.stop();
     streamSound.close();
     streamSound = null;
     streamChannel = null;
     removeListeners();
     play_state.text = "IO Error";
function checkPlayState(evt:TimerEvent):void {
     if (streamSound.isBuffering == true) {
          play_state.text = "Buffering...";
     else {
          play_state.text = "Playing...";
function addListeners() {
     streamSound.addEventListener(IOErrorEvent.IO_ERROR, soundIoError);
function removeListeners() {
     streamSound.removeEventListener(IOErrorEvent.IO_ERROR, soundIoError);
     streamTimer.removeEventListener(TimerEvent.TIMER, checkPlayState);
=========================================================
Its very sad that adobe has created something fully buggy and works only on IDE but not on actual device. More sad part is adobe is not even cared to have a look into the issue.

Hi Chris / tzeng,
Let me put it in much cleaner way :
What I am trying to achieve?
- Listen / play internet radio (IR) stations.
- Links are taken from : http://wiki.secondlife.com/wiki/Music_streams & few from Shoutcast
What are all the available formats for IR station URL?
1. http://server_name:NNNN/ where NNNN is port number
     - http://stream.radiosai.net:8004
     - http://wjab.streamguys.net:80/
     - http://radio2.trancemission.fm:80/
2. http://server_ip_address:NNNN
     - http://65.60.19.44:80/
     - http://213.246.51.97:8024/
3. http://server_name_OR_ip/stream/xyz
     - http://scfire-ntc-aa03.stream.aol.com:80/stream/1025
     - http://208.80.52.246/ESPNRADIOCMP3
4. http://server_name_OR_ip:NNNN/xyz.mp3
     - http://stream.transmissionfm.com:8000/techno-high.mp3
     - http://av.adobe.com/podcast/csbu_dev_podcast_epi_2.mp3
Please share if anybody came across different format than these.....
What is working on device and what is not working?
Any URL of format 3 & 4 is working on the device.
Any URL of format 1 & 2 is not working on the device.
What happens if the swf is opened in flash player like debugger version (flashplayer_10_sa_debug)?
Tried with 4 URL each of different format. Debugger player is able to play all the stations.
What happens if the swf is opened in IE browser with Flash plugin?
Only URL of format 3 & 4 works.
What happens if 'Test Movie' is used in IDE?
Only URL of format 3 & 4 works.
Now question is why URL with format 1 & 2 fails? Why same links work on debugger version or VLC or windows media player?
I have captured the packets sent(received) from(at) device (HTC Desire HD) using WireShark (on Windows 7). I dont see any option to attach the files. Will try to send as private message.
After a deep search I found that this issue is already faced : http://forums.adobe.com/message/3027799
Thanks and Regards,
MSH

Similar Messages

  • How to embed a font air Android App????

    Hi, im new to this forum so please forgive me if i question in the wrong section.
    I am Beginner and am working on an air android game in flash cs6.. i need embed fonts please help me sort out htis problem..

    The easiest for me is to simply embed your font into your main document class, like this:
    package
         import flash.display.Sprite;
         import flash.text.*;
         public final class MyApp extends Sprite
              [Embed(source="../fonts/ITCAvantGardeStd-Bold.otf", embedAsCFF = "false", fontWeight="bold", fontName = "ITCAvantGardeStd_DemiAndBold", mimeType = "application/x-font-truetype", unicodeRange="U+0021-U+007E, U+00A9, U+00AE")] // Main characters + Copyright and Registered glyphs
              static public var ITCAvantGardeStdBold:Class; // that's what the embed gets baked into
              Font.registerFont( ITCAvantGardeStdBold ); // do this once per font
              public function MyApp():void // Constructor
                   // Create a textformat that uses the font
                   var tft:TextFormat = new TextFormat( "ITCAvantGardeStd_DemiAndBold", 20, 0xffff00, true );  // size = 20 pix, color is yellow, bold = true, matching the font weight
                   // create a text field
                   var tf:TextField = new TextField();
                   with ( tf )
                        antiAliasType = AntiAliasType.ADVANCED; // optional
                        defaultTextFormat = tft;
                        embedFonts = true; // this is using an embedded font
                        width = 100;
                        autoSize = TextFieldAutoSize.LEFT;
                        wordWrap = true;
                        text = "Hello world ! blah blah blah blah blah blah blah blah blah blah blah blah";
                        height = textHeight + 8; // nice and tight
                        border = true; // for fun
                        borderColor = 0xffff00; // yellow
                   addChild( tf );
         } // end of: class
    } // end of: package
    The embed statement contains several optional properties, like fontWeight, fontStyle, and fontFamily.
    Check here for info:  http://divillysausages.com/blog/as3_font_embedding_masterclass
    Note: Alternatively, you could use Flash Professional to embed the font into the document class via the IDE ( like so: http://www.adobe.com/devnet/flash/quickstart/embedding_fonts.html ).
    Also, for these kinds of questions, I recommend:
    1) O'Reilly -- Essential ActionScript 3.0
    2) O'Reilly -- ActionScript 3.0 Cookbook

  • Is it possible to access user account in an air android app ?

    Is it possible to access user account in an air android app in as3 ?
    The only thing I've found on internet is that one has to add to its manifest permissions to acccess account :
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    and this documentation for native android coding :
    http://developer.android.com/training/id-auth/identify.html
    thanks for any help.

    There is no API in the AIR runtime to get user's accounts.
    But you may write an ANE to get the same.

  • Integrate PayPal in AIR Android application?

    I'd like to integrate PayPal within a AIR Android application.  Since everything is so new, I wonder what approach I should use.  It seems to me that I might have the following options:
    Create an Android native button with PayPal Android library and add it to AIR application.  But I doubt that it's possible.
    Create a web service to communicate with PayPal using PayPal Java API.
    Create a PayPal button on a web page and display it in Android native browser.
    Create a PayPal button on a web page and display it in AIR component if possible.
    Or maybe I should just create an Android native application instead because PayPal's Android library is very easy to use?

    Native extension + in-app billing.
    http://www.adobe.com/devnet/air/native-extensions-for-air.html
    http://developer.android.com/guide/google/play/billing/index.html
    Had to do the same thing for my educational app. Technically, it seems to be working well. Financially, Google Play is way behind than Apple App Store for me. So I would recommend considering developing a version for Apple App Store as well.

  • Adobe AIR Android + MediaPlayer: Video Plays with no Audio

    I am trying to play a video in my Adobe AIR Android App. I can't seem to get the video to play with audio in the application. I can get the audio to play in the native players on both my Samsung Galay and my Asus Transformer outside of my app, but when I load the video using StageVideo, the audio doesn't play at all.
    I tried just launching the video into the navtive browser or using StageWebView but that doesn't work either.
    I am a bit at a loss and need some advice.
    Here's the code below.
    MediaPlayerExample:
    var resource:URLResource = new URLResource(videoPath);
    container = new MediaContainer();
    addChild(container);
    container.y = this.headerHeight;
    videoElement =  new VideoElement(resource);
    videoElement.smoothing = true;
    container.addMediaElement(videoElement);
    container.width = this.stage.stageWidth;
    container.height = this.stage.stageHeight;
    mediaPlayer = new MediaPlayer();
    mediaPlayer.media = videoElement;
    mediaPlayer.addEventListener(TimeEvent.CURRENT_TIME_CHANGE, this._onProgress);
    this.videoHeader = new VideoHeader(this.stage.stageWidth);
    this.addChild(this.videoHeader);
    Any help would be great!

    Quicktime or Quicktime Pro (both of which iTunes uses) does not convert "muxed" ( muxed means multiplexed where the audio and video are stored on the same track) video files properly. It only plays the video and not the audio.
    See:iPod plays video but not audio.
    You need a 3rd party converter to convert the file with both audio and video.
    See this for help: Guide to converting video for iPod (Mac/Windows).

  • AIR + Android audio playback in background

    Hello everbody,
    at the moment I am evaluating the realisation auf a radioplayer using a rtmp stream for android devices.
    There are two question for which I could not find any advices or resoltions.
    My questions are:
    1.) Is it possible to play/continue an audiostream, even if the app itself is pushed into background?
    2.) How are updates handled for apps in Android-Store? Is it the same as with the updateroutine for AIR on Desktops?
    Thanks in advance for your answers.
    Regards,
    wman

    Hi Varun,
    thanks for your answers.
    Are there any ressources/links, maybe on adobe devnet, available for audio playback while app is in background?
    I already searched the web so far, but could not find any hints.
    but anyway thanks for your response!
    Regards,
    wman

  • Not working DragManager on AIR Android

    I developed an AIR Application 2.6 for Android Samsung Galaxy Tab.
    If i use the DragManager in a Desktop Application the DragManager is working fine but if i test it on Android
    the DragManager ist not working.
    You can test it with a normal Halo Button like:
    <mx:Button xmlns:fx="http://ns.adobe.com/mxml/2009"
              xmlns:s="library://ns.adobe.com/flex/spark"
              xmlns:mx="library://ns.adobe.com/flex/mx"
              mouseMove="dragIt(event)">
    Here is the Event-Handler dragIt:
    private function dragIt(event:MouseEvent):void {
                    var dragInitiator:Button = Button(event.currentTarget);
                    var dragSource:DragSource = new DragSource();
                    dragSource.addData("add_something", "some data");
                    // Create a copy of the image to use as a drag proxy.
                    var img:BitmapAsset = new buttonIcon() as BitmapAsset;
                    var dragImg:Image = new Image();
                    dragImg.source = img;
                    // calculate dragImage offset
                    var offset:Point = new Point(event.localX - img.width / 2, event.localY - img.height / 2);
                    DragManager.doDrag(dragInitiator, dragSource, event, dragImg, offset.x, offset.y);               
    Is there any way to solve the problem or can i wait until the next AIR SDK Release.

    that is exactly the problem. I get no error the DragManager.doDrag is simply not working. If i put everything in a try-catch block nothing appears. So everything seems to work fine but the doDrag method doesn't work.
      var dragInitiator:Button = Button(event.currentTarget);
    try
                    var dragSource:DragSource = new DragSource();
                    dragSource.addData("add_something", "some data");
                    // Create a copy of the image to use as a drag proxy.
                    var img:BitmapAsset = new buttonIcon() as BitmapAsset;
                    var dragImg:Image = new Image();
                    dragImg.source = img;
                    // calculate dragImage offset
                    var offset:Point = new Point(event.localX - img.width / 2, event.localY - img.height / 2);
                    DragManager.doDrag(dragInitiator, dragSource, event, dragImg, offset.x, offset.y);
    catch(e:Error)
                    this.label += e.errorID + "; " + e.name + "; " + e.message;

  • Underlying adt command in cs5.5 ... for AIR Android

    Hello,
    I am trying to submit my app to the amazon market.  I got back a message from them that says I need to override the air download url by using the adt to package my app.  So, I found a couple links on how to do this and did it.  Problem is that when I try to use adb and install the apk on my phone (with the amazon version) it installs ok then I just get a blank screen when my app loads.  So, I'm assuming I have something wrong with my adt command and was wondering if there is anyway to see what cs5.5 actually passes to adt and just copy that command.  Is that possible.  Also, here is my adt command and my adb command.  Any help would be great. 
    adt command:
    "C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR2.6\bin\adt" -package -target apk -airDownloadURL  http://www.amazon.com/gp/mas/dl/android?p=com.adobe.air -storetype pkcs12 -keystore keys.p12 -storepass whatwhat superKaleidoscope.apk superKaleidoscope-app.xml superKaleidoscope.swf newThumb36.png newThumb48.png thumb72.png
    I get back this weird "test" word like below
    test
    then to install it I do :
    "C:\Users\J\Downloads\android-sdk_r11-windows
    \android-sdk-windows\platform-tools\adb.exe" install superKaleidoscope.apk
    1669 KB/s (160722 bytes in 0.094s)
            pkg: /data/local/tmp/superKaleidoscope.apk
    Success
    Am I missing something?

    Thought maybe it's some problem with my app xml file, but I don't think so.  Here is what I've got... Anybody, anybody at all got any ideas?
    [CODE]
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <application xmlns="http://ns.adobe.com/air/application/2.7">
      <id>app</id>
      <versionNumber>1.0.4</versionNumber>
      <filename>app</filename>
      <description/>
      <!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
      <name>App</name>
      <!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
      <copyright/>
      <initialWindow>
        <content>app.swf</content>
        <systemChrome>standard</systemChrome>
        <transparent>false</transparent>
        <visible>true</visible>
        <fullScreen>true</fullScreen>
        <aspectRatio>landscape</aspectRatio>
        <renderMode>auto</renderMode>
        <autoOrients>false</autoOrients>
      </initialWindow>
      <icon>
        <image48x48>newThumb48.png</image48x48>
        <image72x72>thumb72.png</image72x72>
        <image36x36>newThumb36.png</image36x36></icon>
      <customUpdateUI>false</customUpdateUI>
      <allowBrowserInvocation>false</allowBrowserInvocation>
      <android>
        <manifestAdditions>
          <![CDATA[<manifest>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    </manifest>]]>
        </manifestAdditions>
      </android>
      <iPhone>
        <InfoAdditions>
          <![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array>]]>
        </InfoAdditions>
        <requestedDisplayResolution>standard</requestedDisplayResolution>
      </iPhone>
    </application>
    [/CODE]

  • Image cannot be displayed (as htmltext) when published for Air, android and iphone

    Hi,
    I am using Adobe Flash CS5.5 (AS3) and am building an online rss reader which loads a rss(xml) feed as htmlText containing title, description (with html formatting, linkage and image).
    My rss format is roughly based on the online sample found at  *** http://movies.msn.com/rss/topcelebs
    ***sample code as given below***
    <description><![CDATA[<div><a href='http://movies.msn.com/celebs/celeb.aspx?c=153441&affid=100055'><img src='http://entimg.s-msn.com/i/150/Movies/Actors/Sheen_TD00988581054_150x200.jpg' title='Tyler Demogenes/Retna Ltd.' style='float:left;border:none'></a>
    <p>A leading man who has displayed a knack for action, comedy, and dramatic roles, "Charlie Sheen" is nearly as well known for his offscreen exploits as for his acting, though after suffering through scandals that would have ended many performers' careers, he overcame bad press and bad habits to enjoy a major comeback on television in the late '90s. "Charlie Sheen" was born Carlos Irwin Estevez to actor "Martin Sheen" (born "Ramon Estevez") and his wife, Janet Templeton, in 1965. By all accounts, young... [<a href='http://movies.msn.com/celebs/celeb.aspx?c=153441&affid=100055&mp=b'>more</a>]<br clear=all></div>]]></description>
    Success story
    All text and images are displayed from online as htmlText when published as SWF
    The problem/requirement
    Images are NOT displayed when published as AIR 2.6, AIR for Android or AIR for iphone
    Searched the net, but no success. The images are not visible/loading when the rss application is installed on mobile devices (Android and iPhone)
    Please help.
    Thanks in advance.

    Hi Colette
    Are you saying that there should be .hhc, .hhk, .hhp, etc. files for each topic?
    Those are project files and you would not see one for each topic. There is one (maybe more, depending on what you are doing) for each project.
    One thing you may wish to try is to enable the "Use lowercase file names" option in your SSL recipe.
    After you do this, generate and publish again.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • Google Chrome ARC for Adobe Air Android?

    Hi,
    Does anybody know if Google Chrome ARC works for Adobe Air based Android apps?
    - https://developer.chrome.com/apps/getstarted_arc
    ARC looks really cool and promising.

    I just tried it on a packaged APK. It detected and converted the APK properly, but running the app just lead to a gray screen.

  • Adobe Air - Android emulator

    Hi,
    I am trying to put an android aplication working on the android emulator.
    I have developed it in Flash Cs5, then i have created the apk file and installed it on the emulator.
    The emulator has the adobe air for emulator installed.
    When i try to run the app it gives my "the application ... has stoped unexpectedly. Please try again".
    The aplication has a simple square.
    When i write ./adb loga car, i have the following errors:
    I/ActivityManager(   66): Start proc air.Final1 for activity air.Final1/.AppEntry: pid=1082 uid=10031 gids={3003}
    D/TabletStatusBar(  258): lights on
    D/dalvikvm( 1082): Trying to load lib /data/data/com.adobe.air/lib/libCore.so 0x4063abc0
    I/WindowManager(   66): Setting rotation to 3, animFlags=1
    I/ActivityManager(   66): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/1 nav=3/1 orien=P layout=0x10000014 uiMode=0x11 seq=18}
    D/Tablet/NotificationPanel(  258): notificationCount=0
    W/dalvikvm( 1082): No implementation found for native Lcom/adobe/air/AndroidActivityWrapper;.nativeSetVisible (Z)V
    W/WindowManager(   66): Window freeze timeout expired.
    W/WindowManager(   66): Force clearing orientation change: Window{40c41db0 air.Final1/air.Final1.AppEntry paused=false}
    D/AndroidRuntime( 1082): Shutting down VM
    W/dalvikvm( 1082): threadid=1: thread exiting with uncaught exception (group=0x40014760)
    E/AndroidRuntime( 1082): FATAL EXCEPTION: main
    E/AndroidRuntime( 1082): java.lang.UnsatisfiedLinkError: nativeSetVisible
    E/AndroidRuntime( 1082):     at com.adobe.air.AndroidActivityWrapper.nativeSetVisible(Native Method)
    E/AndroidRuntime( 1082):     at com.adobe.air.AndroidActivityWrapper.SetVisible(AndroidActivityWrapper.java:651)
    E/AndroidRuntime( 1082):     at com.adobe.air.AndroidActivityWrapper.onSurfaceInitialized(AndroidActivityWrapper.java:614 )
    E/AndroidRuntime( 1082):     at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:438)
    E/AndroidRuntime( 1082):     at android.view.SurfaceView.updateWindow(SurfaceView.java:571)
    E/AndroidRuntime( 1082):     at android.view.SurfaceView.access$000(SurfaceView.java:84)
    E/AndroidRuntime( 1082):     at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:173)
    E/AndroidRuntime( 1082):     at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:590)
    E/AndroidRuntime( 1082):     at android.view.ViewRoot.performTraversals(ViewRoot.java:1325)
    E/AndroidRuntime( 1082):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1944)
    E/AndroidRuntime( 1082):     at android.os.Handler.dispatchMessage(Handler.java:99)
    E/AndroidRuntime( 1082):     at android.os.Looper.loop(Looper.java:126)
    E/AndroidRuntime( 1082):     at android.app.ActivityThread.main(ActivityThread.java:3997)
    E/AndroidRuntime( 1082):     at java.lang.reflect.Method.invokeNative(Native Method)
    E/AndroidRuntime( 1082):     at java.lang.reflect.Method.invoke(Method.java:491)
    E/AndroidRuntime( 1082):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
    E/AndroidRuntime( 1082):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
    E/AndroidRuntime( 1082):     at dalvik.system.NativeStart.main(Native Method)
    W/ActivityManager(   66):   Force finishing activity air.Final1/.AppEntry
    W/WindowManager(   66): Failure taking screenshot for (135x84) to layer 21045
    W/ActivityManager(   66): Activity pause timeout for ActivityRecord{4073f990 air.Final1/.AppEntry}
    D/dalvikvm(   66): GC_EXPLICIT freed 498K, 49% free 13968K/27015K, paused 60ms+18ms
    W/ActivityManager(   66): Launch timeout has expired, giving up wake lock!
    W/ActivityManager(   66): Activity idle timeout for ActivityRecord{4073f990 air.Final1/.AppEntry}
    D/dalvikvm( 1070): GC_EXPLICIT freed 10K, 9% free 16186K/17671K, paused 9ms+5ms
    I/WindowManager(   66): Setting rotation to 0, animFlags=1
    I/ActivityManager(   66): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/1 nav=3/1 orien=L layout=0x10000014 uiMode=0x11 seq=19}
    W/ActivityManager(   66): Activity destroy timeout for ActivityRecord{4073f990 air.Final1/.AppEntry}
    W/WindowManager(   66): Window freeze timeout expired.
    W/WindowManager(   66): Force clearing orientation change: Window{40745e50 Sorry! paused=false}
    D/Tablet/NotificationPanel(  258): notificationCount=0
    W/WindowManager(   66): App freeze timeout expired.
    W/WindowManager(   66): Force clearing freeze: AppWindowToken{41524680 token=ActivityRecord{4073c818 com.android.launcher/com.android.launcher2.Launcher}}
    I/InputDispatcher(   66): Dropped event because it is stale.
    i hope someone can help
    Thank you

    Hi,
    Did you create your apk file using Flash Builder Burrito? If yes, Flash Builder Burrito does not support emulators. Packages created with Burrito are only intended to run on pyshical devices.
    Thanks,
    -Sedat Akkus

  • How to minimize adobe air android app with as3?

    I have 2 buttons in my app ( my app published by flash cs6 for android ). one button for exit app and one button for minimize app (send app to background and show homepage).what is code for 2nd button in as3?
    b1.addEventListener(MouseEvent.MOUSE_UP,exitapp);
    b2.addEventListener(MouseEvent.MOUSE_UP,minimizeapp);
    function exitapp(e:MouseEvent)
         nativeapplication.nativeapplication.exit();
    function minimizeapp(e:MouseEvent)
         //...what code I should write here?

    I don't think there's a way to do this with standard AIR APIs. On iOS there's no general solution for this, but for Android you could probably make a simple ANE, possibly by using sendTaskToBack.

  • Air Android - app.xml manifest

    Hi,
    How to add these Android settings to an Air Andoid app.xml manifest?
    <supports-screens android:
                      android:largeScreens="true"
                      android:xlargeScreens="true"/>
    I tried it like this, but got an error:
      <android>
        <manifestAdditions>
    <![CDATA[
            <manifest android:installLocation="auto">
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-sdk android:minSdkVersion="8"/>
    <supports-screens android:
                      android:largeScreens="true"
                      android:xlargeScreens="true"/>
    ]]>
        </manifestAdditions>
      </android>
      Thanks!

    Hi,
    You can use it as written below:
    <android>
            <manifestAdditions><![CDATA[
                <manifest android:installLocation="auto">
                     <uses-permission android:name="android.permission.INTERNET"/>
                     <supports-screens android:largeScreens="true"
                    android:xlargeScreens="true"/>
    </manifest>
            ]]></manifestAdditions>
    </android>
    Hope it helps.
    Regards,
    Nimit

  • Air Android - Share menu

    Hi,
    I'm working on a note taking app and I would like to add it to the ANDROID share menu to receive content from it.
    The share menu lets you share text/links from the browser to apps.
    This is how it looks like:
    http://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us /images/tldr/439304-1-eng-US/TLDR_reference.png
    Does anybody know how to do that?
    I'm using AIR 3.9 and Flash CS6
    Thanks

    You can try with this ANE for Android:
    https://github.com/illuzor/Android-Sharing-Extension-ANE
    If you need iOS functionality as well, you have this paid extension:
    http://www.milkmangames.com/blog/tools/#iosgv
    Instructions for the latter can be found here:
    http://www.adobe.com/devnet/air/articles/goviral-ane-android.html
    http://www.adobe.com/devnet/air/articles/goviral-ane-ios.html

  • AIR Android camera landscape lock

    Bonjour
    J'ai un problème avec l'object flash.media.Video sous Android dans une application affiché en paysage.
    Lorsque je créé un objet video dans mon application (var video:Video = new Video(); où que ce soit dans le code) et que je verrouille puis dévérouille le smartphone, j'ai un gros blocage que plusieurs secondes.
    Même si je passe video à null, le problème reste présent.
    Cela ne se produit qu'en paysage, si je passe en orientation portrait, le problème disparait.
    Appareils :
    Samsung IGT9000 (2 exemplaires) Android 2.3 (stageVideo inutilisable).
    Samsung IGT9300 (1 exemplaire, problème présent mais discret) Android 4.3.3
    Air application
    Testé avec AIR SDK 3.6, 3.8 et 4.0.0.1390
    Testé avec rendering auto, gpu, cpu et direct
    <containsVideo>true</containsVideo> testé et rend le problème présent dès le démarrage de l'application.
    IDE
    Flash CC
    Code source de l'exemple de la video:
    Ma vraie application est utilisée pour prendre des photo et doit s'executer pendant parfois de nombreuses heures, le téléphone est donc souvent en veille mais doit rester réactif à la reprise.
    Quelqu'un a t'il rencontré ce probleme? Y a t'il une solution?
    Merci beaucoup.

    Hi Nick
    That's a great discovery. I'm having the same exact problem.
    Do you mind telling me whether the XML manifest modifications are to me made before compiling the APK or did you mean modifying the manifest after compiling the APK, i.e. decompile and  then recomple? I tried making the changes in the XML that goes inside the APK package before compiling the APK, but I guess the publish process resets that XML file with default entries, which are:
    <manifest><uses-permission android:name="android.permission.INTERNET"/><uses-permission android:name="android.permission.READ_PHONE_STATE"/></manifest>
    I'd really appreciate if you could mention some more details that helped you overcome this issue, as I'm really stuck with this issue.
    Thanks,
    Voods

Maybe you are looking for

  • Vendor Advance Request - F-47

    Hi, For Vendor Advance request Special GL is maintained in OBVU and GL in FBKP for Vendor Recon and Special GL. Still when I Create Vendor Request by T.code F-47. System is not allowing Please send your valuable reply.

  • Office 365 addin. JavaScript API. Working with files.

    Please help me. Is there any posibility to get url for created document from my addin with JavaScript API? May be I need to use OneDrive.

  • Need help with download

    HELP! During download I am getting message "Internet Explorer has blocked this site from using ActiveX control in an unsafe manner. As a result this page may not display correctly." How can I procede with download of Adobe Flash? I'm not too computer

  • I Don't See a Photo Tab Anywhere - Can't Add or Delete Photos

    I want to add (synch) photos to my iPod Touch and I also want to delete some photos from the Touch as well. I am told to connect the iPod to the computer, open iTunes and then select my iPod in the Device menu on the left. I am then told to click on

  • PSE key length size

    Hi, I am in the process to order some CA approved certificates. i have realized that the server standard PSE is 1024 and this will generate a 1024 length request, which is not accepted by CA who only process 2048 request. I have replaced the server s