Netstream.close(); doesn't work on air for android?

Hi,
I'm building a video app for android with air and I cant stop netstream from streaming a video.
When a video is playing the user can choose to move to the next video but the current video still streaming even when i call ns.close();. On the desktop it works.
Is this a known bug? or am i doing something wrong...
The code is the standart netstream method, and when i want to load a new video:
ns.close();
ns.play("some url");
I need to solve this issue and the app is finished! please help!

Further feedback regards this fix.  It certainly opens up video app development and allows for slick demos.
However, since videos are not freezing up I can now see clearly the buffering that's going on which seems to be another area that needs attention... Any hints/feedback regards this would be appreciated.
Specifically, I find a fair disconnect in behaviour between video playback on the desktop and on Android.  This may be because of Android design but this should be noted since it might lead another change at Adobe's end.
The behavior is as follows (note that this includes my own created videos and videos obtained from the internet -- my videos work a little bit better and I know that one thing I usually do is CBR, constant bit rate which may help things) :
on the desktop===>: 100%, all wireless network video streams buffer flawlessly... roughly speaking, about 20 seconds of video every second, plus if you seek to an unloaded part, the video patiently waits until that part is loaded
on android===>: all wireless network video streams seem to have their own signature for buffering. Although many of the streams will buffer normal, maybe half buffer normally for 100 to 250 seconds of video data and then stop and wait for the playback to catch up, after which time they buffer slowly. This stop can therefore be 100+ seconds that no buffering is occuring. A few of the videos will even forget to continue buffering ( a netstream.buffer.empty is eventually fired and game over )  The behaviours are essentially repeatable for each video (I have my worst case video) although if you seek forward sometimes it will remember to resume buffering right away.   Another symptom is that unlike the desktop, you cannot seek to an unloaded part, instead you generate a nestream.seek.invalidtime and the video simply resumes (I actually workaround this as I suspect it causes problems for me if I don't).
There are other discrepencies that I ask which is proper / better ?  ===> on desktop a pause does not interrupt buffering, while on Android a pause stops the buffering....====>   on desktop there seems to be a cache for the videos if you jump around between them while on Android everything is cleared out on the dispose()
as mentioned above, any hints/feedback would be appreciated. I'm trying to relate this to other outstanding forum and outside forum related issues and still thinking the fail part might be an Android/hardware realtionship but not sure and analyzing.
thanks.
Message was edited by: hiteck7 4:53pm Friday

Similar Messages

  • Textfield not working in air for android

    Hi,
    I have a weird problem. An input text component that works in air for desktop refuses to work in an air for android application.
    It draws on the screen as it should but i cant input text. Am i missing something fundamental?
    It is kind of hard to log in if i cant enter credentials
    Here is the code:
       idFmt1= new TextFormat("arial",18,0x000000);
       idFmt1.align="left";
       _inputText= new TextField();
       _inputText.defaultTextFormat = idFmt1;
       _inputText.x=150;
       _inputText.height = 35;
       _inputText.width= 150;
       _inputText.type = TextFieldType.INPUT;
       _inputText.background = true;
       _inputText.backgroundColor = 0xa0a0a0;
       _inputText.text = _initText;
       _inputText.tabEnabled = true;
       _inputText.tabIndex = 1;
       _inputText.displayAsPassword = false;
       _inputText.antiAliasType = flash.text.AntiAliasType.ADVANCED;
       _inputText.embedFonts = true;
       _inputText.alwaysShowSelection = true;
       _inputText.mouseEnabled=true;
       addChild(_inputText);

    I can't seem to get anywhere with capturing text input! I set the "type" to TextFieldType.INPUT  but this is still ignored on both the desktop and the device. If I place an input textield on the scene in Flash, that works in so far as it brings up the Android keyboard - but then nothing you type is of any consequence.
    What could I be missing?

  • Sound preloading doesn't work in Air for iOS?

    I have a set of  sounds preloaded using load() method in Sound class in my game and it works fine when testing on my pc(windows 7). But when I deployed the game to iPad2, it seems like Air is only loading the sound files when play() method is actually called and not when load() method was called. There's a small lag when first playing a sound on my iPad2.
    Is this default behavior of Air for iOS? Is there anyway to preload sounds?
    I'm using Air 3.4 and Flash CS6 professional and the sound files are not embded but in an included folder.

    It seems to me as if pages that partially fill in autofillable fields cause the problem.
    Previously on IOS7 and before this was not a problem.
    Autofill seems to work for me if no values are filled in by the (initially loading) webpage.
    Resetting the ipad did not help on this issue.
    Neither did removing the stored pw-information help. IOS asked me to re-save the id and pw but that did not change the situation and the problem still remains unresolved.

  • Bookmark keyword search doesn't work on Firefox for Android

    If I create a bookmark and assign it a keyword, it does not show in the results when I type the keyword into the address bar.
    Is this a known issue? I use bookmark keywords on Desktop and it works fine.

    Its working fine for me.
    Could you Close the firefox completely from the background too.
    Restart your mobile and give a try.
    Try with Beta version also
    *https://play.google.com/store/apps/details?id=org.mozilla.firefox_beta

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

  • How do you close a dragged applet, as Stage.close() doesn't work?

    I'm trying to implement a close button in a draggable applet, but Stage.close() doesn't work, and there's an odd little "X" icon which is causing me problems...
    My starting point and example is the simple draggable applet from the API documentation. It's the code listed under "User-Specified Close Example":
    http://java.sun.com/javafx/1.2/docs/api/javafx.stage/javafx.stage.AppletStageExtension.html
    import javafx.scene.*;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.paint.*;
    import javafx.scene.shape.*;
    import javafx.scene.text.*;
    import javafx.stage.*;
    var textContent = "Click the box to return to the browser";
    var outside: Boolean = false;
    var s: Stage = Stage {
        title: "AppDeploy Demo"
        width : 300 height : 200
        style: StageStyle.TRANSPARENT
        opacity: 0.5
        scene : Scene {
                content: [
                    Text { content: bind textContent 
                           x: 25 y:35 fill: Color.BLACK
                           font: Font{size: 24}
                    Rectangle { x: 100 y: 100 width: 100 height: 100 fill: Color.RED
                                onMouseClicked: function(e: MouseEvent): Void {
                                    s.close();
        extensions: [
            AppletStageExtension {
                shouldDragStart: function(e: MouseEvent): Boolean {
                    return e.shiftDown and e.primaryButtonDown;
                useDefaultClose: false
    }However, the Stage.close() function in the user code doesn't seem to close the applet once it's dragged. It seems this can only be achieved by a mysterious little "X" in a box top right, acting as a close button.
    Here's a demonstration of the problem once you've compiled that code:
    1. Open browser with applet (I'm using IE8 on Windows XP)
    2. Shift-drag the applet out of the browser. Notice the little X in a box appears when you drop the applet on the desktop.
    3. Click the red rectangle to invoke the Stage.close() function in the user code.
    4. Applet disappears from screen and does not reappear in the browser.
    5. But minimising all the icons on the desktop shows the little X in a box is still there sitting on your desktop (actually I find the X has gone, but the box is still there). This suggests the applet is still running.
    6. Close the browser. The little X's box is still on the desktop.
    7. After a short pause a Java dialog box appears: "Desktop integration warning. The application would like to create shortcuts. Do you want to continue? OK/Skip" The applet wasn't closed, it is still running!
    8. Click Skip. Dialog box disappears. But the little X's box is still on the desktop. Is the applet still running?
    9. Try to recompile app again into a deployable Jar (I'm using Eclipse for this).
    10. The compiler stops with "ERROR: Jar file C:\[...].jar could not be deleted. The Jar is probably locked by running application, Web browser, emulator or antivirus. Please check that all windows related to the application have been closed." Yes, the applet Jar is still being used.
    11. Minimise all the windows. The little X's box is still on the desktop.
    12. Click the little X's box.
    13. After a few seconds the box disappears. Does this mean the applet is no longer in use...?
    14. Recompile the app again into a deployable Jar. It works!
    By the way, you get the same experience with another Sun sample: the DraggableMP3Player at
    http://javafx.com/samples/DraggableMP3Player/index.html
    That, too, thinks it's implementing it's own close button, and again the same problem occurs.
    So it seems Stage.close() doesn't properly close the applet, and only the the little X in a box will do this.
    I'd like to be able to really close the applet from my own code. How can I do this?
    Many thanks
    Nik
    Edited by: nik.silver on Aug 6, 2009 12:48 PM

    After double tap home button, swipe up on the app card that appears above the icon.

  • I updated imovie, which is now totally different.  I tried to import videos from iphotos, but the system is now stuck on "import" and it doesn't include iphotos.  Clicking on "close" doesn't work.  How do I get out of "import"?

    I updated imovie, which is now totally different.  I tried to import videos from iphotos, but the system is now stuck on "import" and it doesn't include iphotos.  Clicking on "close" doesn't work.  How do I get out of "import" and then how do I access iphoto?

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    Once you get a reply, if you click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • I can't sign into iCloud because my Apple ID doesn't work there.  For some reason it gave me a .mac email and I don't remember the password.  When it gives me the option to reset my password, it's my Apple ID password which I don't want to do.

    I can't sign into iCloud because my Apple ID doesn't work there.  For some reason it gave me a .mac email and I don't remember the password.  When it gives me the option to reset my password, it's my Apple ID password which I don't want to do.  I have ended up chaning my Apple ID 3 times lately and I still can't get to my cloud management.  What do I do?

    Check if your Data and Time, and Time Zone are set to automatically: OS X Yosemite: Set the date and time on your Mac
    Is this issue also appearing on new user account:
    Isolating an issue by using another user account - Apple Support
    Mac OS X: How to troubleshoot a software issue - Apple Support
    Is this issue also appearing in safe mode: OS X: What is Safe Boot, Safe Mode? - Apple Support

  • IMac 24" iMac  (iMac7,1), Intel Core 2 Duo 2,8 GHz  Ram 4 MB running OS 10.6.8: impossible upgrade to Mac OSX Mavericks. Already created second account, according to apple online support, but still doesn't work. Thanks for help.

    iMac 24" iMac  (iMac7,1), Intel Core 2 Duo 2,8 GHz  Ram 4 MB running OS 10.6.8: impossible upgrade to Mac OSX Mavericks. Already created second account, according to apple online support, but still doesn't work. Thanks for help.

    Your Mac is definitely one of the supported models? http://www.apple.com/uk/osx/specs/
    If so, what happens when you try to download? Is it a case of nothing happens? If so, take a look at the suggestions under 'Stalled Download' in this link:
    http://www.wired.com/gadgetlab/2013/10/mavericks-issues-and-fixes/#slideid-23477 1
    Also, some usrs have found that logging out of the Mac App Store and then back in again and starting over has kick-started the download. It seems that the 5+gb download can take a long time to give any feedback as to what's happening.

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

  • Hi I am using iphone 4, since last few days i am facing problem in touch screen at times it doesn't work at all for 5-10 mins and then it works out itself. Can anyone pls suggest what the problem is and how it can be sorted out?

    Hi I am using iphone 4, since last few days i am facing problem in touch screen at times it doesn’t work at all for 5-10 mins and then it works out itself. Can anyone pls suggest what the problem is and how it can be sorted out?

    Did you recently updated to 7.0.4? Even for me same also issues.

  • AIR for Android video issue

    On Android, in an app that I’ve developed successfully for iOS, I’m seeing this problem:
    There are 5 videos built-into the app. On Samsung phones (S3 and S4), running Android 4.4.2, at the first attempt to play a video there’s sound but no picture. After returning to the video menu and attempting again, video and sound play normally. If a video is stopped and another one is started, initially a frame of the previous video is displayed (for a fraction of a second), then play resumes normally with the chosen video.
    The sound-but-no-video problem does NOT show up on a Nexus 7 running 4.4.3, although the flash-frame problem does.
    I’m publishing with AIR SDK 15 packaging both with and without captive runtime to try to isolate the source of the problem. I’m using <contains video> true </contains video> in the descriptor.
    This feels like AIR-for-Android buggishness. Any confirmation out there? Similar problems? Workarounds?
    I’ve read somewhere that AIR runtime  v.3.3 may solve some video problems on Android, but not sure where to find an archived Android version of AIR that old.

    Well, as it sometimes happens with me, I have spoken too soon. The answer that I marked as ‘correct’ the other day (Colin, are you there?), seems to be not quite the right answer. At least, it doesn’t solve the video problem that I’m having with some, but not all, Android devices.
    After trying Colin’s suggestion – using  if (stage.stageVideos.length != 0) to make sure that a stageVideoAvailabilityEvent hasn’t already fired when I try to play my first StageVideo instance – and getting perfect results in 10 consecutive tries on my Samsung S4 and S3 phones, I figured that was IT.
    Next day, same devices and same code, it DIDN’T work! I pulled hair, issued profanities, hammered on the table. It didn’t matter—I still got a ‘mis-fire’ on the first play of a video whenever (almost whenever) I opened the app. After the first play everything was good – which is the exact problem that I started with many days ago. When I played Colin’s Sesame Street ‘Let’s Get Ready’ app again – the same first-play-of-video problem shows up there too.
    This problem does not show up on Nexus 7  and the Samsung Galaxy 5 Tab. It is a royal p.i.t.a. on Samsung phones, where I need my app to work.
    I created a bare-bones app to reproduce the problem, code below. Just a single class to play a single video with no controls. A few parameters (path to the video, and viewport stuff) are passed in from the document Class. I run it 10 times on my S4. It fails 7 times and plays well 3 times. The 'initialize2()' function never fires, proving that the stageVideos array already exists by the the time the 'initialize1()' function is called.
    I'm pretty sure that this is not a coding problem (because it works well on some Androids and in iOS), but WHAT is it??
    package vidTestSource
      import flash.desktop.NativeApplication;
      import flash.desktop.SystemIdleMode;
      import flash.display.MovieClip;
      import flash.display.Sprite;
      import flash.display.StageAlign;
      import flash.display.StageScaleMode;
      import flash.events.Event;
      import flash.events.NetStatusEvent;
      import flash.events.StageVideoAvailabilityEvent;
      import flash.geom.Rectangle;
      import flash.media.StageVideo;
      import flash.media.Video;
      import flash.media.StageVideoAvailability;
      import flash.net.NetConnection;
      import flash.net.NetStream;
      public class MobileVideosolo extends MovieClip
          public var stream:NetStream ;
          public var video:StageVideo;
          var xx:Number;
          var yy:Number;
          var ww:Number;
          var hh:Number;
          var mymoov:String;
      public function MobileVideosolo(mymoov,xx,yy,ww,hh)
          this.xx = xx;
          this.yy = yy;
          this.ww = ww;
          this.hh = hh;
          this.mymoov = mymoov;
         addEventListener(Event.ADDED_TO_STAGE, onstage);
    function onstage(e)
        if (stage.stageVideos.length != 0)
           initialize1();
         else
          stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, stageVideoState );
    function stageVideoState(e)
           initialize2();
           stage.removeEventListener (StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, stageVideoState);
    function initialize1()
          var nc:NetConnection = new NetConnection() ;
          nc.connect(null) ;
          stream = new NetStream(nc) ;
          stream.client = this ;
          video = stage.stageVideos[0] ;
          video.viewPort = new Rectangle(xx,yy,ww,hh) ;
          video.attachNetStream(stream) ;
          stream.play (mymoov) ;
          MovieClip(parent).sVtext.text = "Init 1";
          stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    function initialize2()
        var nc:NetConnection = new NetConnection() ;
         nc.connect(null) ;
         stream = new NetStream(nc) ;
         stream.client = this ;
         video = stage.stageVideos[0] ;
         video.viewPort = new Rectangle(xx,yy,ww,hh) ;
         video.attachNetStream(stream) ;
         stream.play (mymoov) ;
         MovieClip(parent).sVtext.text = "Init 2";
         stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);

  • AIR for Android Captive Runtime

    Is it possible to package android apps with AIR (or will it be) using Flash CS5.5? I don't see anything on the web about. Just how to do it with Flex and ADT etc...

    Hi,
    I've made a complete working example for publishing an application with captive runtime, assets and native extensions starting from Flash CS5.5
    I was able to make it thanks to hints and suggestions I found in this thread.
    Note: english is not my native tongue so I hope you understand what I've written also if sometime it sounds "engrish".
    Here it is the link to the zip file:
        http://www.genereavventura.com/hosted/Air3NativeExtensions/AirVibrate.zip
    Requirements:
    - You must have Flash cs5.5 pro (obviously)
    - You must have installed the overlay for Air3.0 sdk on your Flash cs5.5 pro
    Here it is a link that explain how to accomplish it: http://forums.adobe.com/message/3939712
    Here the steps I made.
    1) Open Flash CS5.5 and create a new AIR for Android application
    2) Add the swc to the libraries used by your FLA (open Actionscript 3.0 settings and add "VibrationActionScriptLibrary.swc")
       Btw, you can find this "ready to use" native extension inside the zipfile that you can download from here: http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/vibration.html
       However in my example you will find also a directory named "extension" that contains it.
    3) Open and then close the "air for android settings": by doing this Flash will create yourapp-app.xml file in the directory where your FLA resides.
       For example my fla is named "vibrate.fla" so Flash created for me a "vibrate-app.xml" file.
    4) Make a copy of this "vibrate-app.xml" file by naming it "real-vibrate-app.xml" (or choose whatever name you want)
       I've done this because after modyfing the original one by adding the <extension> tag (see below) I wasn't able to test my app from within Flash IDE (when I compile it it simply doesn't start)
       Instead by doing this all worked fine.
    5) Edit the "real-vibrate-app.xml" file by adding somewhere these lines (I added it just before the <initialWindow> tag)
        <extensions>
          <extensionID>com.adobe.Vibration</extensionID>
        </extensions>
    6) Add <uses-permission android:name="android.permission.VIBRATE"/> in the <android> <manifestAdditions> part in "real-vibrate-app.xml" file.
       You should do something like this:
       <android>
          <manifestAdditions>
            <![CDATA[<manifest>
              <uses-permission android:name="android.permission.VIBRATE"/>
            </manifest>]]>
          </manifestAdditions>
       </android>
    7) Develop your application
       I made a simple one that loads an external jpg and shows it on the stage: then the user can tap on it to make the phone vibrate.
       The function "doVibration" is called only when the app is running on Android Device so I do not get any executions error when I run the app from within Flash Ide
    8) Publish and test it to your USB connected device by launching the "publish.bat" file I have created
       Open a dos prompt and move to your project directory then type publish.bat and press enter.
       Note: it can be that you have to edit the bat file in order to change the path to the ADT tool that comes with Air3.0 sdk
       It should be in [your adobe flash cs5.5 directory]\AIR2.6\bin\adt (rememeber, you must have installed the Air3.0 sdk overlying the old Air2.6/2.7 in the AIR2.6 directory)
       Inside the bat file you can change easily the target type (captive or not) simply by commenting/decommenting the right line.
       Captive version is about 8Mb more than the normal one but the big deal is that the user that installs it do not need the air runtime installed on his phone!
       The "big line" that creates the package is the following one:
       call %ADT_LINK% -package -target %TARGET_TYPE% -storetype pkcs12 -keystore certificate/vibrate.p12 -storepass android AirVibrate.apk real-vibrate-app.xml -extdir extensions vibrate.swf icons assets
       where:
       call %ADT_LINK%          it's just the path to the ADT tool
       -package                 it's the command that we want ADT to execute
       -target %TARGET_TYPE%    captive/non captive version
       -storetype pkcs12        certificate related
       -keystore certificate/vibrate.p12  path to your self signed certificate
       -storepass android       certificate related, I created the example certificate with "android" password and this parameters tell ADT to always use it without prompting
       AirVibrate.apk           the name of the Apk
       real-vibrate-app.xml     the apk-xml to use that is the one we modified manually above
       -extdir extensions       it's the path to the directory that contains the native extension
       vibrate.swf              the main swf
       icons                    the icons directory
       assets                   the assets directory (where I put the external jpg)
    That's all.
    If everything is correct, the batch file creates the AirVibrate.apk then installs it on your attached usb device and run it.
    When you tap over the Android image that will appear, your phone should vibrate.
    Now.. does someone wants to develop a Native Extension to show Admob banners in our Android Air Applications?
    If I missed something, please let me know.
    Thanks

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

  • 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

Maybe you are looking for

  • Bridge Crashes on startup.  How to get it to run?

    With CS6 on Win7 64b or 32b, Bridge crashes on startup (output listed below).  From browsing discussions, I suspected it has something to do with admin priviledges so I set it to run as administrator in my account for both 64b and 32b.  Now it doesn'

  • Photoshop 11 in Windows 8

    I am trying to install Photoshop Elements 11 in Windows 8 and keep getting the following message. "Setup.exe was not able to locate some components required for successful installation of the product. Please retry after making sure the complete set o

  • Label sound clips

    I have dozens of sound clips in my movie.  Any way to label them? Keywords don't seem to work.

  • Menu spry bar

    Does anybody know how to modify the spry menus? like changing the background color, the shape, etc. The only thing I figured is how to change to with for the main menu. Is there another way to do drop down menus in DW cs5? Please any help will be gre

  • Where are fIle type / MIME preferences?

    I have run into a bit of a problem. I can't force Safari to download a certain type of file instead of trying to view it as text. There is a Flash-site that links to a nice file I want to download. The file is "rare" and possible misunderstood by the