StageVideo application crash on mobile devices.

Hello everyone.
The last few months, I've been having trouble with StageVideo on selected Android devices and as of today on all iOS 7 devices.
When I try to switch between the currently playing video and a new one, after a random number of toggles, the application crashes. With the latest update of the iOS, the maximum videos I toggle on my NetStream object is 2, which is extraordinary for a machine such as iPad 4.
I create all the objects that are nessesary to play a video as I should and check the StageVideo availability on my device so I'm sure that this is a StageVideo issue.
Here is some of my code:
            // Connections
            nc = new NetConnection();
            nc.connect(null);
            ns = new NetStream(nc);
            ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
            ns.client = this;
            // Screen
            video = new Video();
            video.smoothing = true;
            // Video Events
            // the StageVideoEvent.STAGE_VIDEO_STATE informs you if StageVideo is available or not
            stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, onStageVideoState);
            // in case of fallback to Video, we listen to the VideoEvent.RENDER_STATE event to handle resize properly and know about the acceleration mode running
            video.addEventListener(VideoEvent.RENDER_STATE, videoStateChange);
        private function onStageVideoState(event:StageVideoAvailabilityEvent):void
            // Detect if StageVideo is available and decide what to do in toggleStageVideo
            toggleStageVideo(available = inited = (event.availability == StageVideoAvailability.AVAILABLE));
        private function toggleStageVideo(on:Boolean):void
            // If we choose StageVideo we attach the NetStream to StageVideo
            if (on)
                stageVideoInUse = true;
                if ( sv == null )
                    sv = stage.stageVideos[0];
                    sv.addEventListener(StageVideoEvent.RENDER_STATE, stageVideoStateChange);
                sv.attachNetStream(ns);
                if (classicVideoInUse)
                    // If we use StageVideo, we just remove from the display list the Video object to avoid covering the StageVideo object (always in the background)
                    stage.removeChild ( video );
                    classicVideoInUse = false;
            } else
                // Otherwise we attach it to a Video object
                if (stageVideoInUse)
                    stageVideoInUse = false;
                classicVideoInUse = true;
                video.attachNetStream(ns);
                stage.addChildAt(video, 0);
            if ( !played )
                played = true;
                ns.play(_videoURL1);
I would be grateful for any help I could get.

Could you please open a new bug report on this over at https://bugbase.adobe.com?  When adding the bug, please include some sample code or a sample application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]).
Once added, please post back with the URL so that others effected can add their comments and votes.  I've also given our mobile team a heads up so they can take a look.

Similar Messages

  • How to install/deploy JavaFx Mobile application on real mobile devices.

    Hi,
    I had gone through the internet and various links but i'm unable to find the solution regarding how to deploy the application made with JavaFx mobile on real mobile devices. There was some link in which it was written you can install the application in Nokia 40 5edition phone, i tried to install in Nokia 6600 Slider through bluetooth; so while installing the application it shows an error as "Invalid Application".
    I'm also facing same problem which others are also facing as Application is not compatible when i tried to install in Nokia N95.
    So, if anybody knows the method/technique to deploy the application in real mobile devices i'll be grateful to him.
    Thanks
    Gaurav

    Thanks Michael for the reply. I also tried to install one simple application made with JavaFx Mobile in Sony-Ericsson JP-8 platform(K850i, W910i). While installing the application it pop-up the error "Operation Failed".
    So, is there any way to install the application in current available mobile devices in the market or not??
    @ Sun People please help me in this.
    Thanks
    Gaurav

  • StageVideo Application Crash iOS - AIR 3.7

    Hey Everyone,
    Just upgraded all my projects from 3.6 to the latest 3.7 beta and I'm coming across issues with StageVideo on iOS which were not present in 3.6. I've looked everywhere for information about what may have been changed in 3.7 but nothing is noted in the release notes? Is there something I am missing?
    Explanation:
    Play a StageVideo (.mp4) on iPad 2,5 (6.1.2), when the video finishes the application crashes without any useful logs anywhere.
    Further Details:
    Here is some further information and a link to a test application I've put together.
    - Flash Builder 4.7
    - AIR 3.7 SDK (April 2, 2013)(overlayed on 3.6 SDK)
    - Mac OS 10.8.2 development machine
    - iPad Mini version 6.1.2 (10B146)
    - Video Format: H.264 AAC 1024x768 Stereo 733KB
    I've exported and uploaded a sample project (2MB) with the problem I've explained which includes a couple of very short videos:
    http://neurocog.com.au/downloads/bugs/AdobeBugReport12.zip
    I'm stumped!
    Ollie.

    Hi there,
    I'm having the same problem. In addition I noticed that if I don't use the ns.dispose(), just ns.close(), the app dosen't crash but smotimes it plays the previous video on top of the current one. (my app is a video player)
    I didn't get the part of the workarround you sugested, can you be more specifice please?
    What do you mean by setting a double-ly ? Where do you put it?
    As far as I understand the onPlayStatus is being called automaticly when stream is finished.
    Any news from adobe yet?
    Thanks,
    Igal

  • Start up J2Me application on the mobile device when the device is swtiched

    Hi,
    Does anybody know how to start the Midlet when the handset is switched on ?
    I have one J2ME application installed on the mobile. I got to start the application automatically when the device is switched on.
    Thanks in advance
    Mamatha

    Hi,
    Use
       PushRegistry.registerAlarm(String midlet, long time);and keep time of 30 secs.
    and once you application is inovoked unregister the connection
    Regards
    @rjun

  • Windows 7 - sleep mode crashes apple mobile device service

    For all those that are currently using or plan to use Windows 7:
    If your computer goes to sleep with iTunes open, you will need to restart the Apple Mobile Device service under services.msc (type that in the run command). Plugging in an iPhone after sleep will result in iTunes not recognizing the phone. The computer will recognize the phone (as it is detected via explorer and device manager) but iTunes will not respond as if there was an iPhone connected.
    RESTARTING MAY NOT FIX THIS PROBLEM! You will manually have to restart the service.
    Replicated on five separate computers: One Dell laptop, one Toshiba laptop, two custom built PC's and one Dell PC.
    Replicated on all versions of Windows 7: Ultimate RTM, Ultimate RC1, Professional RTM, Professional, Professional RC, Home RTM

    Have you looked at the AMDS topic of:
    iOS: Device not recognized in iTunes for Windows
    I would start with:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • [iOS7] StageVideo Application Crash

    Hello,
    My application sometimes crashes when playing repeatedly MP4 with StageVideo in iOS7.
    It crashes frequently when the local MP4, but rarely occurs it happens in streaming.
    There is no problem in iOS6.
    iPhone5
    iOS 7 GM
    AIR 3.9.1.1080, AIR 3.8.0.1430, AIR 3.7.0.2090
    Test Video Format: H.264 AAC 640x360 Stereo 607KB
    test code here:
    private var _file:File;
    private var _connection:NetConnection;
    private var _stream:NetStream;
    public function init()
              _file = File.applicationDirectory.resolvePath("***.mp4");
              stage.addEventListener(MouseEvent.CLICK, _clickHandler);
    private function _clickHandler(e:MouseEvent):void
              if (_stream) {
                        _stream.dispose();
                        _connection.close();
              _connection = new NetConnection();
              _connection.connect(null);
              _stream = new NetStream(_connection);
              _stream.client = { onMetaData:function(){} };
              var stageVideos:Vector.<StageVideo> = stage.stageVideos;
              if (stageVideos.length >= 1) {
                        var stageVideo:StageVideo = stageVideos[0];
                        stageVideo.viewPort = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight);
                        stageVideo.attachNetStream(_stream);
              _stream.play(_file.url);
    I hope that this issue will be corrected.
    thanks.

    I'm experiencing the same problem. I have filed a bug report with adobe (#3638033)
    https://bugbase.adobe.com/index.cfm?event=bug&id=3638033

  • How to debug a Flex application on a mobile device

    I have a Flex application that has been tested thorougly on all major operating systems and browsers with no issues.  However, it does not work on my Droid device (Droid X also tested on EVO).
    My current Flash version on my phone is: 10.1.105.7
    My application is getting stuck at the very begginning when loading some XML via a URLRequest after loading a policy file manually.  I've looked at the WebServer debug messages and it seems like the request is never made.  What's the best way to debug this?  Is there an equivalent debug player for Android?
    Thanks!    

    Use Flash Builder Burrito from Adobe labs.  I am able to launch debug sessions w/ the app on my nexus one.  Although this is for native apps; I do not know if there is a way to test browser based apps

  • How to deploy application created in SAP MI 7.1 on Mobile Device.

    Hi Friends,
    I have developed a m employee application in SAP MI 7.1 through Netweaver Developer Studio running succesfully on mobile simulater.
    I have also successfuly Installed SAP MI Client 7.1 on my mobile device.
    Now I am struggling with how to deploy my application on mobile device.
    Is there any way that I can simply copy the working project files from developer studio and paste them in Mobile Device to make the application work on mobile device as well.
    or is there any other method to do this .
    Please Suggest.
    Regards
    Nitesh.

    <pre>
    Hi Amit
    Firstly I created the
    1. Employee_sc Service in the Service Explorer
    2. Employee_UI in the handheld UI explorer.<
    3. Emplyee_app in the 'Applicaton Explorer' where I included both the service and the UI together.
    Then I deployed all three in the default Mi location and tested in the simulater . It works fine in simulater.
    In the First View of my application I am not displaying any data from the DOE.
    In the first View I just have the butons to create, search and delete employee details.
    In my whole application I am not using any data objects from the backend. The dataobjects are creted in the frontend (NWDS) only.
    Now Instead of AWT I Installed JSP Container. It is now Showing The employee application.
    But as soon as I click the application it gives the execption.
    Error: 500
    Location: /me/startInternal Servlet Error:<br>
    java.lang.NullPointerException at com.sap.tc.mobile.wdlite.framework.Start.isResponsible() at <br>com.sap.tc.mobile.wdlite.framework.Start.isResponsible() at <br>com.sap.tc.mobile.cfs.framework.spi.FrameworkManager.findFramework() at <br>com.sap.tc.mobile.cfs.framework.spi.FrameworkManager.startApplication() at <br>com.sap.tc.mobile.cfs.jspui.MainServlet.LaunchApplication() at com.sap.tc.mobile.cfs.jspui.MainServlet.doHandleEvent() at <br>com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe() at <br>com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet() at com.sap.tc.mobile.cfs.jspui.MainServlet.doGet() at <br>com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doPost() at com.sap.tc.mobile.cfs.jspui.MainServlet.doPost() at <br>com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service() at javax.servlet.http.HttpServlet.service() at <br>org.apache.tomcat.core.ServletWrapper.doService() at org.apache.tomcat.core.Handler.service() at <br>org.apache.tomcat.core.ServletWrapper.service() at org.apache.tomcat.core.ContextManager.internalService() at <br>org.apache.tomcat.core.ContextManager.service() at <br>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection() at <br>org.apache.tomcat.service.TcpWorkerThread.runIt() at org.apache.tomcat.util.ThreadPool$ControlRunnable.run() at <br>java.lang.Thread.run()
    <br>The contents of Jscout File are :-
    NSIcom Ltd., CrEme(tm)
    CrE-ME J2ME(tm)
    CrE-ME V4.12h B162.221008 22-Oct-2008
      MemoryLimit=64000Kb
    EBCI(TM) Interpreter V1.00,
    Copyright 1998-2002 by Bytecodes, Inc.
    java.io.IOException: SysCall : bind() failed
         at java.net.PlainSocketImpl.bind()
         at java.net.ServerSocket.<init>()
         at com.sap.tc.mobile.cfs.console.MgmtConsole.initialize()
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.startManagementConsole()
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init()
         at com.sap.tc.mobile.cfs.startup.pda.Startup.main()
    java.lang.IllegalArgumentException: SysCall : bind() failed
         at com.sap.tc.mobile.cfs.console.MgmtConsole.initialize()
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.startManagementConsole()
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init()
         at com.sap.tc.mobile.cfs.startup.pda.Startup.main()
    Error starting the framework
    java.lang.reflect.InvocationTargetException: java.lang.IllegalStateException: Cannot initialize framework
         at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init()
         at com.sap.tc.mobile.cfs.startup.pda.Startup.main()
    CrEme jsPexit() called with status=1
    Please Suggest.
    Regards,
    Nitesh
    </pre>
    Edited by: Nitesh Harit on Nov 24, 2009 1:30 PM

  • Apple Mobile Device Support, Apple Application Support, And And Apple Software Update Aren't Working.

    I've had a problem syncing my iphone to itunes ever since updating to 10.7 , so i reinstalled itunes.
    When that didn't work, i uninstalled itunes and all programs related to it (quicktime, apple application support, apple mobile device support, apple software update, mozilla firefox, and safari), and reinstalled itunes again, but to no avail.
    I've tried repair in add/remove programs for itunes, but it didn't work.
    When I tried to do that with any of the other itunes related applications, I got this message: "The feature you are trying to use is on a network resource that is unavailable. "
    When i browsed for the location of any of them, the were no where to be found on my computer.
    Can someone PLEEAASE help me because this is reallllyy stressful for me??

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Apple Application Support entries and click "Remove", as per the following screenshot: 
    Next, select any Apple Mobile Device Support entries and click "Remove", as per the following screenshot: 
    Next, in the list of programs that appears in CleanUp, select any Apple Software Update entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC. uninstall, then reinstall iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) downloaded from the Apple Website:
    http://www.apple.com/itunes/download/
    (That should reinstall the three dodgy components.)

  • Apple Mobile Device USB Driver Not Working (Code 10)

    i have a windows 8 laptop and the "Apple Mobile Device USB Driver" in the Device Manager recently stopped working, it has this little yellow triangle with a '!' in it next to it. i have restarted my computer/iphone several times, i've reinstalled itunes a few times, i've tried different USB ports and different cords.
    it also says "This device cannot start. (Code 10)"
    Please let me know if you have had and fixed this problem
    thanks

    Yep...^^
    I just fixed my ipod nano problem on my own and figured I'd  share as I have just spent the last 4 hours trying to trouble shoot all  of Apple's problems...following everyone's tips...nothing worked until I  figured it out on my own.
    I'm running windows 7 and have an Ipod Nano (6th Gen).  Hard  drive crashed on computer.  Replaced HD.  Everything works fine now.   Downloaded iTunes along with all other programs.  Nano wouldn't show up  or sync on iTunes.  Said Device Driver Software was not successfully  installed (some USB problems).  Tried everything.  Finally, I figured it  out.
    Disconnect Nano.  Uninstall iTunes AS WELL AS
    Apple Application Support, Apple Mobile Device Support, and Apple Software Update.  Apple only
    tells you to uninstall iTunes and reinstall..restart computer bla bla  bla.  I said screw it and uninstalled all Apple programs (well, the  listed ones above).  I hooked up my nano to my computer to make sure the  device manager recognized it without anything else plugged in...and it  did.  I unplugged it.  Reinstall iTunes and all three other Apple  programs listed above will also reinstall.  I opened iTunes and plugged  in my nano.  It started with the "installing device driver software" and  I was sure
    it wasn't going to work.  Well, it did work.  My  nano showed up in the upper right bar of iTunes and synced.  Unreal...  I  unplugged my nano and plugged in the wife's.  Once again, "installing  device driver software."  Voila!  Her's showed up and synced too.  I  plugged mine back it to make sure it worked and it did.  I'm done.  It's  working.  Hope these steps work for you as well. 

  • AIR application with Native application crash on iOS because of numFunctionsToTest

    I wrote a simple Hello World AIR Native Extension and have implemented following context initializer
    void helloWorldContextInitializer(void* extData, const uint8_t* ctxType, FREContext ctx,
                                      uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet)
        NSLog(@"Entering ContextInitializer");
        *functionsToSet = _methods;
        NSLog(@"Method list initialized");
        if(numFunctionsToTest != NULL)
            NSLog(@"numFunctionToTest is not null");
            *numFunctionsToTest = (uint32_t)2;
        NSLog(@"Exiting ContextInitializer");
    My Application crash on iOS device with following message in console.
    Dec 29 15:58:41 unknown HelloWorld[24298] <Warning>: Entering ContextInitializer
    Dec 29 15:58:41 unknown HelloWorld[24298] <Warning>: Method list initialized
    Dec 29 15:58:41 unknown HelloWorld[24298] <Warning>: numFunctionToTest is not null
    Dec 29 15:58:42 unknown ReportCrash[24302] <Notice>: Formulating crash report for process HelloWorld[24298]
    Dec 29 15:58:42 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:org.divy.contactmanagement[0x5c0]) Job appears to have crashed: Bus error: 10
    Dec 29 15:58:42 unknown SpringBoard[15] <Warning>: Application 'HelloWorld' exited abnormally with signal 10: Bus error: 10
    Dec 29 15:58:43 unknown ReportCrash[24302] <Error>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/
    It seems line following line is cause of the problem.
    *numFunctionsToTest = (uint32_t)2;
    modified the line to *numFunctionsToTest = 2; still no luck.
    It seem the pointer is pointing is not correct.
    Following is the Device log if it helps.
    Incident Identifier: 650833B2-9F2E-4186-B499-29C9088EBD66
    CrashReporter Key:   f559e8609ce49e196f1137a3c1c7d27b40377472
    Hardware Model:      iPhone3,1
    Process:         HelloWorld [24065]
    Path:            /var/mobile/Applications/35BEA219-A5DF-48BB-8602-228EB8AF3D61/HelloWorld.app/HelloWorld
    Identifier:      HelloWorld
    Version:         ??? (???)
    Code Type:       ARM (Native)
    Parent Process:  launchd [1]
    Date/Time:       2011-12-29 14:36:08.226 -0800
    OS Version:      iPhone OS 5.0.1 (9A405)
    Report Version:  104
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x011c6d85
    Crashed Thread:  0

    It was my mistake in configuration of extension.xml file. Instead of mentioning Extesion Initialization funtion i was using context initialization funtions there. It started working after correcting this problem.
    Thanks for all the help.

  • How do i install Apple Mobile Device USB driver

    I have just bought an ipad 2 and cannot connect to itunes - various messages tell me to ensure Apple mobile driver is installed - how do i do that?

    Hope you got this fixed.
    I just fixed my ipod nano problem on my own and figured I'd share as I have just spent the last 4 hours trying to trouble shoot all of Apple's problems...following everyone's tips...nothing worked until I figured it out on my own.
    I'm running windows 7 and have an Ipod Nano (6th Gen).  Hard drive crashed on computer.  Replaced HD.  Everything works fine now.  Downloaded iTunes along with all other programs.  Nano wouldn't show up or sync on iTunes.  Said Device Driver Software was not successfully installed (some USB problems).  Tried everything.  Finally, I figured it out.
    Disconnect Nano.  Uninstall iTunes AS WELL AS Apple Application Support, Apple Mobile Device Support, and Apple Software Update.  Apple only tells you to uninstall iTunes and reinstall..restart computer bla bla bla.  I said screw it and uninstalled all Apple programs (well, the listed ones above).  I hooked up my nano to my computer to make sure the device manager recognized it without anything else plugged in...and it did.  I unplugged it.  Reinstall iTunes and all three other Apple programs listed above will also reinstall.  I opened iTunes and plugged in my nano.  It started with the "installing device driver software" and I was sure it wasn't going to work.  Well, it did work.  My nano showed up in the upper right bar of iTunes and synced.  Unreal...  I unplugged my nano and plugged in the wife's.  Once again, "installing device driver software."  Voila!  Her's showed up and synced too.  I plugged mine back it to make sure it worked and it did.  I'm done.  It's working.  Hope these steps work for you as well.

  • HT1926 Installing iTunes 11.1.4 on windows XP issues warning message: Service "Apple Mobile Device' failed to start. starting iTunes shows MSVCR80.dll not found.

    Normal update of iTunes to 11.1.4 fails. Suggests installing from web site
    I install from iTunes.com. Install issues the messages:
    Service "Apple Mobile Device' failed to start.
    Verify that you have sufficient privileges to start system services
    I do have necessary privilegs. I hit ignore. See window with successful install come up and finish with launch. I get the messages:
    iTunes was not installed correctly.
    Please reinstall iTunes
    Error 7 (Windows error 126)
    Tring to start iTunes from desktop gives:
    This application failed to start because MSVCR80.dll was not found
    Re-installing the application may fix the problem.
    Further repair or remove/reinstall does not fix the problem (including after reboot)
    Thie is the first time this has happened. I'm not sure where to go from here
    Thanks for any help.

    Earlier suggestion worked. That is, Use software add/remove to delete all 5 iTunes applications:
    Apple Application Support
    Apple Mobile Device Support
    Aple Sortware Update
    Bonjour
    iTunes
    Reboot and install/

  • I am trying to reinstall iTunes but seems the Service Apple Mobile Device failed to start so I am not able to finish the download, what should I do.

    I am trying to install itunes but at the status of 'Starting Services' it tells me that 'Service Apple Mobile Device failed to start. Verify that you have sufficient privileges to start system services". I clicked retry and ignore button but same result.  What shoud I do? 

    Has your windows previously installed itunes?
    Do uninstall all other apple programs such as
    Apple Application Support
    Apple Mobile Device Support
    Apple Software Update
    Bonjour
    these programs above doesn't remove together with itunes.
    remove these programs and make a reboot for ur windows.
    then download the latest itunes and install.

  • Using Captivate on a mobile device

    Is it possible to use Captivate on a mobile device? For example, if I want to create a CBT describing how to use a specific application on a mobile device. However, instead of using Captivate on a PC, I want to use it on the mobile device so I can mimic the exact procedure. Does anyone know if that's possible?
    Thanks.

    I just created an app for my Android device using Adobe Captivate 5.5. I am able to get the app on the phone, but am running into issues. There doesn't seem to be much support, from what I can tell, on getting the Captivate app to work on the phone. I'm noticing some strange behavior and am now looking for answers to my questions.
    If you're interested in showing how to use an app on a mobile device (Android seems to be easier that getting on an Apple device) you'll need to install an emulator on your computer. Doing this - I was able to capture my screen shots, then bring them into Captivate, add the interaction, create the necessary files to create the Andrioid app, package the files as a .apk file, then upload them to my Android device. You will need an Android device that allows you to set the Developer Options. You'll need to tick the box for 'USB debugging' to use the emulator.

Maybe you are looking for