App resume fail with MediaCapture WP8.1

Hi everyone,
Which is the good place to initialize MediaCapture? I used Panorama theme to create a TorchControl and on itemPanorama_Loaded I set:
MediaCapture mc = new MediaCapture();
await mc.InitializeAsync();
mc.Failed += new MediaCaptureFailedEventHandler(Failed)
When App start, nothing happen but if I use other apps and resume, it keep loading, then MediaCaptureFailedEventHandler throw error out about access cross-thread.
If I tried to move code to button event then it fail to create MediaCapture on 2nd tap
Any suggestion? Thank you

Another finding : Keeping this MediaCapture initializing code inside the page event handlers might be an issue.I removed the async & await from Loaded / OnNavigatedTo event & the app resumed immediately but if the async await code is executed on
these handlers then the app remains on that 'resuming' window for an infinite time.
Suggestion : you can probably move the initializing code when user tries to capture the the picture and keep only one instance of it throughout and then check subsequently on each button click if its null, if it is then only create a new object otherwise
not. You can declare a variable MediaCapture _mc at the top of page for this, to have its visibility throughout the page.
http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8
Again, I actually did it the same as your suggestion before also. App resume normally but if the button event is raised (MediaCapture is created) then app can not be resumed

Similar Messages

  • App installation fails with error 0xE8000004

    hello,
    i have purchased a navigation (GPS) application for iphone and ipad but installation fails with error 0xE8000004, even if the application is the only one (i have removed all other apps). I have tried on iphone and ipad and using different OS: Windows 7 professional 64 and Windows XP 32.
    Has anyone an idea of the problem ?

    Already done and this was the reply:
    Response (Frederick) - 03/01/2011 12.59 PM
    Dear Ettore,
    Thank you for contacting CoPilot Technical Support.
    If you are experiencing download issues between two Apple platforms (here between the iPhone and iTunes), I advise you contact Apple directly from your purchase history in iTunes then 'Report a problem' as ALK is not in charge of the installation on this device.
    Then i contacted Apple and the reply was:
    Ettore, please call up to the iPhone technical support. To find the appropriate phone number, please visit:
    http://www.apple.com/support/contact/phone_contacts.html
    I am a little bit disappointed.

  • Open -a "lmenaria.app"  LSOpenFromURLSpec() failed with error -10810

    Hello every one,
    I have created a Java application for MAC, so I have configured .app. Its working fine. But now my friend got the issue while opening with double click on it, it just blink some times and failed to open.
    When tried using open -a "lmenaria.app" then its shows error LSOpenFromURLSpec() failed with error -10810.
    When it runs using command line, it works.
    Go to "/Applications/lmenaria.app" directory and applied a command
    java -jar Contents/Resources/Java/lmenaria.jar, the app starts up.
    So what is the issue, Please let me know.
    Thanks,
    Laxmilal

    http://forums.macrumors.com/showthread.php?t=467307
    Issue could be related to anything...the above thread is just one example. You might try running Application Monitor to see if there are multiple threads related to one app that have run amok...
    It may be related to your friends computer/environment...try another computer.

  • IPhone app installs fail with Notification of iTunes pre-order from 2009 "Top 5..." by Matt Giraud

    Whenever I try to install/update an iPhone app I get notified of a old 2009 pre-order which is now expired. If I tap Not Now then install aborts. If I tap OK then install starts and then fails with "Cannot connect to iTunes Store". If I then repeat the same install it completes fine. Can anyone help me remove this annoyance?

    Whenever I try to install/update an iPhone app I get notified of a old 2009 pre-order which is now expired. If I tap Not Now then install aborts. If I tap OK then install starts and then fails with "Cannot connect to iTunes Store". If I then repeat the same install it completes fine. Can anyone help me remove this annoyance?

  • AIR App Update fails with ApplicationUpdater (IOErrorEvent 2032)

    I hope somebody can help me with this issue as I'm completely clueless of what could be the problem...
    I've integrated the AIR ApplicationUpdater into my app and doing update tests but they fail if I download the update for my app and then press "Install" so that the app exits and tries to install the update. there I get the following message:
    Sorry, an error has occured.
    The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author.
    If I postpone the update install until the app is restarted, all works fine. This happens on Windows 7 as well as on Mac OSX. And I tried it too with uninstalling both AIR and my app and re-install it all freshly but this didn't help.
    Here's part of the install log I'm getting:
    [2011-05-31:02:51:30] Application Installer begin with version 2.6.0.19140 on Windows 7 x86
    [2011-05-31:02:51:30] Commandline is: -update "c:\program files (x86)\test\test application\test application.exe" "C:\Users\user\AppData\Roaming\testappid\Local Store\#ApplicationUpdater\update.air" 1.0.1
    [2011-05-31:02:51:30] Installed runtime (2.6.0.19140) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2011-05-31:02:51:30] Installed app (testappid) located at c:\program files (x86)\test\test application\test application.exe
    [2011-05-31:02:51:30] Unpackaging file:///C:/Users/user/AppData/Roaming/testappid/Local%20Store/%23ApplicationUpdater/updat e.air to C:\Users\user\AppData\Local\Temp\flaD894.tmp
    [2011-05-31:02:51:30] Got an unexpected fatal error while unpackaging: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032" errorID=2032]
    [2011-05-31:02:51:54] Launching subprocess with commandline c:\program files (x86)\test\test application\test application.exe
    [2011-05-31:02:51:54] Application Installer end with exit code 7
    ... Anyone have any clue what could be the source of the trouble? It's very important for me that this all works flawless.

    I am having this same issue. Have you by chance found a reason for this?

  • Multilingual App Toolkit fails with TFS ready only files

    I have added Multilingual App Toolkit to a ASP.NET web form application, in this application is used TFS for version control.
    My problem is that every time the application is build Multilingual App Toolkit need to update the files, but it does not check out files before compile and so generates an error:
    "Update xliff build failed, one or more errors occurred, multilingual app toolkit build completed with errors"
    If I check out the files he can build normally.
    What can I do about it?

    Hi Elton,
    I'd like to know the reason that Multilingual App Toolkit need to update the files during build process, and how do you check out the files.
    If you have to update files, you can update the files and check in then do the building. Please confirm whether you can build successfully on your local machine. You have to build succeed with MSBuild on your local machine before you can build with TFS build
    since TFS build use MSBuild as its default compiler. Also build on your build server directly to see if there any errors.
    If the issue still exist after taking above methods, please elaborate more details about your scenario, including TFS version and reproduce steps etc.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • When installing cc desktop app installation fails with error code 1

    when trying to install CC desktop app on macbook pro running Lion, the installer downloads the software then says installation failed error code 1 when trying to install the files…help

    Signals7 please try the steps listed in Error "Failed to Install" Creative Cloud Desktop application - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html to install the Creative Cloud Desktop application.

  • Connection to Apps EUL fails with Disco 4

    Hi all,
    anyone has a hint for me what the problem might be?
    - I want to connect to an applications EUL with Discoverer 4
    - I checked the 'connect to Oracle Applications EUL' box
    - I filled in GWUID en FNDNAM
    - I checked the user and password works in applications itself
    Still, when i try to connect, i get the error message that user/password is incorrect.
    I am out of ideas.
    Any help is highly appreciated

    Hi Sandra
    Are you using Desktop or 4i?
    I am going to assume that you are using Desktop and that you have everything setup correctly inside Tools | Options.
    In order to connect to Apps you need to have a secure folder on your machine and place a copy of the dbc file for the Apps server into that folder. The file is usually named after the instance so that if it is called PROD the file will be prod.dbc. Your DBA should be able to get it for you.
    Next, you create a folder called c:\oracle\secure on your hard disk and place the dbc file into that folder.
    The final step would be to create an environment variable called FND_TOP which points at the c:\oracle folder (not the secure folder). On an XP machine use this workflow:
    1. From the Start button use Start | Settings | Control Panel
    2. If in Category mode (pretty icons) switch to classic view
    3. Double-cick System
    4. Click the Advanced tab
    5. Click the Environment Variables button
    6. Click the New button in the top half of the screen
    7. In Variable Name enter FND_TOP
    8. In Variable Value enter c:\oracle
    9. Click the OK button twice
    If you try connecting again you should be able to authenticate.
    Best wishes
    Michael

  • Any Create Cloud App update fails with U44M1P7

    I am trying to update my Create Cloud apps using the Creative Cloud Desktop and no matter what app I try to update I get the Update Failed and the Error is U44M1P7.
    I really don;t feel like uninstalling all my CC apps and reinstalling them everytime this happens. Is there another solution? Thisis not for CS6 apps but CC apps using the CC desktop.

    http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html
    Mylenium

  • Open command fails with error -10810

    Switching from 10.4 to 10.5.3 I can no longer launch applications from the command line using the open command. For example:
    some bloke's macbook$ open TextEdit.app
    LSOpenFromURLSpec() failed with error -10810.
    Seems to be some kind of permissions issue since it does work if I sudo open. Anyone know how to fix this?

    It's interesting, yogh's post above might be the reason it's failing for you.
    Based on that post, I removed execute permissions from the TextEdit binary in /Applications/TextEdit.app/Contents/MacOS, then tried to use open to run the application. Here's what I get:
    % open -a TextEdit
    LSOpenFromURLSpec() failed with error -10810.
    Now, it may be that the above error is generic and could be generated by several things, but as yogh suggested it may be something to check...

  • Fast App Resume crashing on WP8.1 when not attached to debugger

    Hello,
    I am developing a WP8.1 app using MVVM Light. Fast app resume is activated by default which is great as I want to include it in the app.
    It works as expected when the app is launched from visual studio. However problems arise when the app is launched directly on the device. The following scenarios result in a crash:
    launch app from device start menu
    go out of app (using windows button)
    go back to the app either via the back button or via the icon in the start menu.
    At step 3 the app crashes without any error message.
    p.s. I am testing on a Lumia 1520
    Best regards,
    Tom
    Have a look at my windows phone apps on http://www.blugri.com

    Exact same thing is happening to me too, but with WinJS. It says "Resuming..." then nothing. What do I do?
    Ok... found the solution after trying for 3 days.
    Removing all the EventListeners on Pause and re-attaching them on Resume works.
    [Update]
    The main issue seems to be HTML5 Audio. If too many tracks (14) are loaded, it is crashing...
    What is going on Microsoft? There is already a crippling Audio bug, now this?https://connect.microsoft.com/IE/feedbackdetail/view/970180/audio-crashes-windows-phone-html5-games
    And in another thread I reported Accelerometer bug:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/bff129f5-6959-4e0d-8336-b494bb242be2/accelerometerremoveeventlistener-causing-app-freeze?forum=wpdevelop
    All these are making me think if I should quit Win OS and go for other platforms!

  • Office 2013 VL and app-v 5 SP2 on RDS server - package add fails with script error

    We have used the MS Office Depolyment Tool for click-to-run to download the latest Office 365 version, and flatten it into an app-v 5 package - not a problem.
    When we try to add the package to our client machine (Server 2008R2 running the app-v 5 SP2 client software), it fails with an message that a script has failed and not returned a 0 code.  We have not added any scripting to this automatically created
    package, so it seems that the app-v client does not like the "official" package.  Any hints and tips gratefully accepted, thanks
    App-v client has scripting enabled.
    The powershell command line we are using is:
    PS C:\windows\system32> Set-ExecutionPolicy Unrestricted
    PS C:\windows\system32> Add-AppvClientPackage -path file://hostname/app-v/o365-noaccess/ProPlusVolume_en-us_zh-cn_x86.appv -DynamicDeploymentConfiguration \
    \hostname\app-v\O365-NoAccess\ProPlusVolume_en-us_zh-cn_x86_DeploymentConfig.xml
    with a result of:
    Add-AppvClientPackage : Embedded Script process exited with an error code indicating failure (return code other than 0). Please ensure that Embedded
    Script process can complete successfully and exits with 0.
    Operation attempted: Configure AppV Package.
    AppV Error Code: 100000000C.
    Please consult AppV Client Event Log for more details.
    At line:1 char:1
    + Add-AppvClientPackage -path
    file://hostname/app-v/o365-noaccess/ProPlusVolum ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidResult: (:) [Add-AppvClientPackage], ClientException
        + FullyQualifiedErrorId : ConfigurePackageError,Microsoft.AppV.AppvClientPowerShell.AddAppvPackage
    and these are the error messages we see in the debug app-v client logs:
    Script Launcher successfully waited for script with command line: '"C:\ProgramData\App-V\D24C3BDD-8FAD-44D3-998C-933F8F053682\CD9725CE-4503-4932-863B-4FCDA3F9551D\Root\..\Scripts\Integrator.exe" /I /Msi /License /AppV PackageGUID=D24C3BDD-8FAD-44d3-998C-933F8F053682
    PackageRoot="C:\ProgramData\App-V\D24C3BDD-8FAD-44D3-998C-933F8F053682\CD9725CE-4503-4932-863B-4FCDA3F9551D\Root" MsiName=SPPRedist.msi,SPPRedist64.msi PidKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx,xxxxx-xxxxx-xxxxx-xxxxx-xxxxx,xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    PRIDName=ProPlusVolume'.
    and...
    Package {d24c3bdd-8fad-44d3-998c-933f8f053682} version {cd9725ce-4503-4932-863b-4fcda3f9551d} failed configuration in folder 'C:\ProgramData\App-V\D24C3BDD-8FAD-44D3-998C-933F8F053682\CD9725CE-4503-4932-863B-4FCDA3F9551D' with error 0x79100E10-0xC.
    and...
    machine script for event AddPackage with command line: '"C:\ProgramData\App-V\D24C3BDD-8FAD-44D3-998C-933F8F053682\CD9725CE-4503-4932-863B-4FCDA3F9551D\Root\..\Scripts\Integrator.exe"'
    exited with failure error code: The extended attributes are inconsistent.. Because Rollback is set to true in the script definition, the current AppV Client operation was rolled back.
    We believe this last error message is the kicker, but can't debug any further.

    Just to validate the problem, I started again.
    I have just downloaded the latest ODT from MS, and then downloaded the latest Office 2013 packaged - volume license.  Then created the app-v package - all went perfectly, no error messages.  Uploaded the package to the app-v 5 server and published
    it.  I have made NO changes to any of the files.
    I have just built a brand new Windows Server 2008R2 Datacentre VM, patched it to the hilt, and installed the RDS role, powershell 3 and appv 5.0 SP2 client for RDS.
    I then use powershell as above:
              scripting unrestricted
              app v client scripting enabled
             app v server added
              global and user update enabled
             add-appvclient package  "url of office package.appv"
                 and received exactly the same error message.  
    It is not complaining that scripting is not allowed, it is complaining that the script is invalid.
    Help!!!!

  • Error when deploying EAR file: Operation failed with error: java:/app/jdbc/

    I created application using JDeveloper 11g, and have the deploy file EAR read to deploy to oracle application server 10g, but I am encouting the error of Operation failed with error: java:/app/jdbc/jdbc/HRConnDS not found
    Below is the log. What did i do wrong? I have created the datasource of HRConnDS, and it shows in EM.
    Nov 6, 2009 10:06:12 AM] Application Deployer for hra1 STARTS.
    [Nov 6, 2009 10:06:12 AM] Copy the archive to /u01/OraHome_app1/j2ee/home/applications/hra1.ear
    [Nov 6, 2009 10:06:12 AM] Initialize /u01/OraHome_app1/j2ee/home/applications/hra1.ear begins...
    [Nov 6, 2009 10:06:12 AM] Unpacking hra1.ear
    [Nov 6, 2009 10:06:12 AM] Done unpacking hra1.ear
    [Nov 6, 2009 10:06:12 AM] Unpacking webapp2.war
    [Nov 6, 2009 10:06:12 AM] Done unpacking webapp2.war
    [Nov 6, 2009 10:06:12 AM] Initialize /u01/OraHome_app1/j2ee/home/applications/hra1.ear ends...
    [Nov 6, 2009 10:06:12 AM] Starting application : hra1
    [Nov 6, 2009 10:06:12 AM] Initializing ClassLoader(s)
    [Nov 6, 2009 10:06:12 AM] Initializing EJB container
    [Nov 6, 2009 10:06:12 AM] Loading connector(s)
    [Nov 6, 2009 10:06:12 AM] Starting up resource adapters
    [Nov 6, 2009 10:06:12 AM] application : hra1 is in failed state
    [Nov 6, 2009 10:06:12 AM] Operation failed with error: java:/app/jdbc/jdbc/HRConnDS not found
    Thank you very much for your help.

    How did you create your datasource, can you post the content, without passwords of course.
    Greetings.

  • Dbconsole config in oracle apps 12i (db 11.1.0.7)  failed with emca

    Dear all,
    I started configuring dbconsole for oracle apps 12 with oracle 11.1.0.7 database using emca.
    It failed while supplying dbsnmp password.
    CONFIG: Failed to update account status.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACL
    E not available
    I changed the password manually using alter user cmd and tried to confiure it but it doesn't work.
    I restarted the db tier and tried to configure it but with same error.checked the password policy for profile its unlimited.
    I don't understand what is wrong.
    Can someone throw some light on this.
    Thanks & regards,

    Have you changed the password correctly? If yes, can you login using the new password via SQL*Plus?
    Please see these docs.
    EMCA Fails With Error "ORA-01034: ORACLE not available" and "Invalid username/password." For DBSNMP User [ID 550484.1]
    How to Troubleshoot EMCA Failures Due to Connectivity Issue to Database [ID 1106623.1]
    If none of the above helps, please log a SR.
    Thanks,
    Hussein

  • CC app manager update  failed with error code 50 after reaching about 35%

    Trying to update the CC app manager. The update is always very slow  (I have ATT DSL, lowest level) and I usually terminate it after an hour or so. Today I let it run and it failed with error code 50 after reaching about 35%. Any ideas?

    Update to my original post. I read through some of the suggestions that I found in other threads for fixing this problem, and it appears that this has been an ongoing issue. Numerous fixes have been suggested, some very convoluted, difficult, and involved, including those that came from the customer support folks.  I passed on those as this should be something simple. How Adobe manages to let updating of their own software turn into an ongoing problem is beyond me and sort of defeats the purpose of subscribing. I then noticed that a simple fix had been suggested a few times, so I tried that.
    The user suggested fix that worked for me was:
    1) Restarted computer (Asus Windows 7 i3 machine for me) in Safe Mode with Networking. Logged into my separate Admin account just in case.
    2) Started the creative cloud desktop app.
    3) The app said it needed to be updated. I hit the update button.
    4) Update started and proceeded slowly as it had in many previous failed attempts (I have ATT DSL at the slowest level, but it is not dial-up). Within about 30 min, the update succeeded.
    5) Restarted computer in normal mode.
    6) The creative cloud desktop app now did not say it needs to be updated, and I can update my other apps normally. Have not updated LR or PS yet, but plan to try. If that fails, I may try doing it in the Safe Mode with Networking.
    So, that was relatively painless and much much simpler than many of the other suggestions I saw. Do not know if it will work for everyone, but I wanted to post the fix that worked for me. Thank you very much to the 2 or 3 users who had suggested this fix earlier (sorry, I did not write down your IDs, but the threads can be found by searching for creative cloud desktop update fail error code 50). Hope this saves some people a lot of time.

Maybe you are looking for