Microphone starting muted on AIR application SDK 2.5

According to the documentation
http://help.adobe.com/en_US/air/reference/html/flash/media/Microphone.html
"Content running in the AIR application sandbox does not need permission to access the microphone and no dialog is displayed. AIR content running outside the application sandbox does require permission and the Privacy dialog is displayed"
But I'm having problems starting the Microphone object, which starts muted and permissions need to be given right clicking on the flash object.
This function returns always true before permissions is given:
public function isMuted():Boolean {
var mic:Microphone = Microphone.getMicrophone();
return mic.muted;
The swf loaded is inside the application sandbox, but it's failing also from the debugger.
Any ideas what else to look?
Thanks,
Guille

Updated note:
This might be a possible work around...
The limitations I mentioned in my previous email apply when including the SWF file ‘for rendering’ – i.e. when using an <object/> tag.
In AIR a developer can include a SWF file as a script – i.e. using a script tag like so: <script src="lib/applicationupdater_ui.swf" type="application/x-shockwave-flash"></script>. When doing this, the SWF is loaded in the application sandbox and JavaScript can call AS functions as if they were JS functions.
If the customer’s code doesn’t depend on displaying things (or the UI part is reasonably well separated from the rest of the logic), it should work without any changes. If not, it might require some changes, but still not as radical as rewriting their code to JavaScript.  A simple example of using a SWF in this way can be found at http://www.stratulat.com/blog/update-your-javascript-air-application-with-ease - it shows how to use the Application Updater library (a SWF) in a JavaScript application. This could be a starting point for the customer about how to use a SWF as a script and how it should “look like” in order to be used this way (as the framework is open-source).

Similar Messages

  • Launching AIR application When Operating system starts

    Hi
    I want to lauch my AIR application automatically when windows operating system starts. How can i solve this problem.
    Thanks in advance to all
    Regards
    sss

    I found some information about this here:
    http://www.adobe.com/devnet/air/flex/quickstart/startup_options.html

  • Adobe AIR application crash on start in iOS devices

    I have Adobe AIR application that uses Starling and DragonBones.
    We use IntelliJ IDE.
    We can run the application on the device without problem when running from the IDE.
    We build an ad-hoc distribution and put it on a device using TestFlight.
    When we run the application it show the splash-screen image and after that either go into white blank screen or crashes.
    In the XCode Organizer crash report I can't find helpful information.
    How can I debug this problem?

    Any chance of Testing with Flash Professional ? If so than connect your device and in Flash Professional CC go to Debug->Debug Movie-> On Device Via Usb -> Select your device.
    It will start a debug session as soon as you start your app/game and than you can debug whats going wrong on the device, setup your trace statements or breakpoints and see in output panel what actually the problem is.
    I hope it will help or some community guru may assist you or particularly you can post your problem in starling forum too, may be someone will help you there ...
    PS: In debug session mode performance will be low so don't worry about that. This mode is just for debugging and testing purposes.
    Thanks,
    Muhammad Faisal Zaheer,
    Sr. Software Engineer, Team Lead, Cubix Labs

  • Adobe AIR Application Installation will not start

    I purchased a program called Video Alchemy which requires Adobe AIR to run but the installation window will not display and the installation does not start.
    The Adobe AIR log install log file can be found here https://dl.dropboxusercontent.com/u/59423416/Install.log
    Here is a link to the VideoAlchemy.exe install file https://dl.dropboxusercontent.com/u/59423416/VideoAlchemy.exe
    Can anyone help me to get this program to install?

    Thanks for the reply and solution MrSykes.
    I uninstalled adobe AIR and ran a file and registry cleaner to delete any left over files and installs.
    Then installed the v.15 Adobe AIR beta as recommended.
    The cleaners I used (ccleaner & jv16 power tools) did find some temporary install files and remnants of the Video Alchemy install.
    Tried the install again and still no installation window displays.
    I'm running Windows 7 on my PC and even changed the installation file compatibility to Windows XP service pack 2 to no avail.
    Funny that it installed fine on my notebook with Adobe AIR latest version running Windows 7.
    I'm watching task manager as I'm attempting the install and videoalchemy.exe has some cpu usage then drops to zero activity.
    Then Adobe AIR application Installer starts up then cycles to zero cpu activity.
    I'm stumped on this one :-(
    Thanks again for investing the time on my behalf.
    Regards
    Stephen

  • I start the computer the screen has blue vertical stripes and says that the Adobe Air application can not be found. Some of my programs don't run and say: You: Error access violation at 0x0055F525

    I start the computer the screen has blue vertical stripes and says that the Adobe Air application can not be found. Some of my programs don't run and say:
    You: Error access violation at 0x0055F525. I reinstalled Adobe Air. No change. I went to the Adobe webside and they said to repair it with a program. I bought RegCure. Didn't change anything. What to do?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • I have started migration système to transfert from hold Macbook pro to New MacBook air application starter successfully for several hours. But since more than 3 hours I got the message transferring Time zone paramètres with time left less than 1 minute.

    Hi
    I have started migration système to transfert from hold Macbook pro to New MacBook air
    Application starter successfully for several hours.
    But since more than 3 hours I got the message "transferring Time zone paramètres " with time left less than 1 minute.
    Any recommendation or suggestion to solve it ?
    Many tanks

    If it has run for 3 hours it's probably done and you can quit Migration Assistant and reboot the new computer. In the future rather than using Migration Assistant I would recommend using Startup Assistant which tends to be a bit more reliable and does not create a new user account as MA does. If  you're interested here is an article explaining Setup Assistant tips.
    Roger

  • Air application uninstall links in Windows start menu?

    Hi,
    Can anyone help how can be implemented Air application uninstall links in Windows start menu.
    Thanks,
    Premkant

    Thanks, In Windows 2000 it is "C:\Documents and Settings\All Users\Start Menu\Programs".
    One more doubt, How can I create Shortcuts using Java? I have tried to create desktop icons using following script.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsconcreatingshortcut.asp
    Shell = new ActiveXObject("WScript.Shell");
    DesktopPath = Shell.SpecialFolders("Desktop");
    link = Shell.CreateShortcut(DesktopPath + "\\test.lnk");
    link.Arguments = "1 2 3";
    link.Description = "test shortcut";
    link.HotKey = "CTRL+ALT+SHIFT+X";
    link.IconLocation = "app.exe,1";
    link.TargetPath = "c:\\blah\\app.exe";
    link.WindowStyle = 3;
    link.WorkingDirectory = "c:\\blah";
    link.Save();
    But my Antivirus tool is not allowing this script to run using Java.
    Is there any way to create DeskTop icons for Java application and add entry to Start Menu -- programs..?
    thanks

  • Need guidance in developing AIR Application based on flex 4.0.0.10396 sdk beta.

    Hi Friends,
                I need to develop a desktop mail client for web based RIA developed in extjs. The air application has to communicate with a flex application hidden inside the web app and get the SMTP Details and send mail using the socket connection.
    Till date i have found few plugins and i am testing out each one of them.
    1) byteArray SmtpMailer for socket mailing which has login authentication, attachment support.
    2) suiggly with halo rich text editor for spell check enabled mail composer.
    3) flash network localConnection for communication between web flex hidden inside extjs ria app and air app, The flex application and extjs application communicate using FABridge.js.
    4) updateFramework for frequently updating the air app with new features.
    Drawbacks i face:
    1) ByteArray SmtpMailer works fine but i am unable to find a plugin for SSL encryption support which is required for connecting with gmail SMTP server.
    2) The flex web application size grows upto 1.8MB(approx) with all SDK librarys which are part of 4.0.0.10396 SDK, which is thrice as big as the extjs RIA app.
    3) The updateFramework for updating a air application throws errors, which is diffcult to troubleshoot or understand by novice like me.

    Ok, just figured this out. The cert I created was somehow malformed. I simply created a new one with the Flash IDE which worked fine. Any other method of creating the cert that I tried failed, including the keytool command line utility.

  • Android air application crashes while starting it

    Hi All,
    We are  developing an air application for android.
    After packaging, running the above application in android emmulator, we are getting below error. Nothing come on screen. Please help.
    10-07 15:44:16.800: INFO/ActivityManager(71): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=app.AndersonView_Sulpe/.AppEntry }
    10-07 15:44:17.270: INFO/ActivityManager(71): Start proc app.AndersonView_Sulpe for activity app.AndersonView_Sulpe/.AppEntry: pid=292 uid=10032 gids={}
    10-07 15:44:18.360: INFO/ARMAssembler(71): generated scanline__00000077:03545404_00000004_00000000 [ 47 ipp] (67 ins) at [0x3067f8:0x306904] in 1286854 ns
    10-07 15:44:18.770: ERROR/AppEntry(292): error invoking method onWindowAttributesChanged exception = java.lang.NullPointerException
    10-07 15:44:18.790: ERROR/AppEntry(292): error invoking method onApplyThemeResource exception = java.lang.NullPointerException
    10-07 15:44:18.800: INFO/StartupTime1(292): :1286446458802
    10-07 15:44:18.980: DEBUG/dalvikvm(292): Trying to load lib /data/data/com.adobe.air/lib/libCore.so 0x4a216610
    10-07 15:44:19.310: DEBUG/dalvikvm(292): Added shared lib /data/data/com.adobe.air/lib/libCore.so 0x4a216610
    10-07 15:44:19.659: DEBUG/qemud(38): fdhandler_accept_event: accepting on fd 10
    10-07 15:44:19.659: DEBUG/qemud(38): created client 0x150b8 listening on fd 15
    10-07 15:44:19.690: DEBUG/qemud(38): client_fd_receive: attempting registration for service 'sensors'
    10-07 15:44:19.690: DEBUG/qemud(38): client_fd_receive:    -> received channel id 8
    10-07 15:44:19.711: DEBUG/qemud(38): client_registration: registration succeeded for client 8
    10-07 15:44:19.769: DEBUG/qemud(38): fdhandler_event: disconnect on fd 15
    10-07 15:44:20.539: DEBUG/ReleaseLogging:(292): 0
    10-07 15:44:24.450: DEBUG/StartupTime2(292): :1286446463905
    10-07 15:44:26.460: INFO/ActivityManager(71): Displayed activity app.AndersonView_Sulpe/.AppEntry: 9319 ms (total 9319 ms)
    10-07 15:44:26.890: WARN/ActivityManager(71): Launch timeout has expired, giving up wake lock!
    10-07 15:44:27.159: DEBUG/dalvikvm(292): GC_EXTERNAL_ALLOC freed 3901 objects / 279536 bytes in 200ms
    10-07 15:44:28.060: WARN/ActivityManager(71): Activity idle timeout for HistoryRecord{4a30ce90 app.AndersonView_Sulpe/.AppEntry}
    10-07 15:44:31.260: DEBUG/SntpClient(71): request time failed: java.net.SocketException: Address family not supported by protocol
    10-07 15:44:36.010: DEBUG/dalvikvm(130): GC_EXPLICIT freed 2181 objects / 141584 bytes in 2934ms
    Thanks and Regards
    Rajul

    "10-07 15:44:26.890: WARN/ActivityManager(71): Launch timeout has expired, giving up wake lock!"
    Ive seen that error before. :-) It looks like it is bombing out trying to initialize the "WAKE_LOCK" permission. Make sure that you have all the permissions included in your AIR app. If you download the latest Extension for Flash CS5, the App & Installer settings will have a new "Permissions" tab and then you can select the permissions that you would like to include. In your case "WAKE_LOCK". Then publish
    In previous CS5 extensions you would have to open up the release notes and then copy and paste, then edit the permissions in your app.xml file. This makes life much easier.
    Hope this helps-

  • Starting AIR application with parameters

    Hi all
    Is it possible to pass the parameters to the AIR application?
    Something like:
    myapp.air param1 param2
    If yes, how can I get those parameters inside the
    application?

    I actually want to post this link:
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=4&postI d=8003
    -ted

  • AIR application with Flex 4.5 will not render content. What gives?

    OK,
    So I've upgraded to Flash Builder 4.5 Premium and I am unable to develop desktop AIR applications with the 4.5 Flex SDK. I start by simply creating a brand new AIR application using the default SDK (Flex 4.5). I set the title property on WindowedApplication and include a simple Label component. The project compiles fine but when I run the application all I see is the adl window in the dock but that's it. If I modify the Main-app.xml file to set the visible attribute to true, I will get a small window but there is no content although the output window shows the application swf being loaded. Checking the release version of the Main-app.xml file shows the correct path location to the swf.
    Here is what I've tried so far:
    Install/reinstall Flash Builder, 4+ times
    Downloaded the trial installation twice
    Downloaded the SDK's for 3.6, 4.1 and 4.5.0. I then copied each SDK folder and merged the AIR 2.6 SDK with each copy. So now I have 6 SDK versions; one pristine and the other with the AIR 2.6 SDK merged. I then added each SDK individually and created an AIR desktop application for each. Each and every one works fine with the exception of the two 4.5 SDK's. They will not render content.
    I created a simple creation complete handler for the application that declares a simple variable and assigns a value to it. I then put a break point on the assignment and it never gets caught. More evidence that the swf isn't getting loaded.
    The computer I'm running on is a Mac Book Pro with Snow Leopard 10.6.7. If I create a web project in each of the 6 SDK's, those will work just fine. What the heck is it with Flex 4.5 and the AIR 2.6 SDK on this machine? I have the AIR 2.6 runtime installed as well as a number of AIR applications that work just fine. I also tried my 4.5 test on my windows machine and that worked like a champ.
    I am completely out of ideas. Finding information has been difficult because everyone is all about mobile so searching for desktop issues is a losing battle. I realize this is a long email but I'm desperate for help. There must be someone out there that knows more about the low level interaction between Flex 4.5/AIR 2.6 and the OS.

    Well, I finally found the issue, a corrupted mm.cfg file in /Library/Application Support/Macromedia. I deleted the file and then adl ran just fine.

  • How to embed and play mp4 video in HTML AIR application?

    Adobe Air HTML / JS application compiled from SDK command line.  I am not using flash pro or flash builder to create the application.
    I was using dreamweaver but the dw air plugin seems to have stopped being developed so I switched to using the command line tools.
    I am creating desktop air application that has embedded mp3 audio and also I want to embed mp4 video.
    Using jQuery and the AIR js plugin I am able to play audio via buttons hooked up via jQuery and the AIR js plugin from the SDK.
    What I am doing is creating proofs for clients in AIR and sending link to the client to download the application.  I embed the media because I do not want to place them on a website where it could possibly be seen by non-clients and get picked up in the SE's.
    I am finding it hard to understand the AIR process for playing video.  I read that it is the same procedure as audio but it does not work.
    If it was hosted on youtube or somewhere embedding the web player would be simple, just copy paste some code and it works.  When actually embedding the video say mp4, f4v, mov, wmv or similar file formats I can't get AIR to play the video.  Audio, not a problem it works great.
    I would like to do the following with video.
    Embed the actual file in the AIR app.  I can do this, it gets embedded.
    Play, pause and stop the video - Can't get this to work
    Get the current stop point and be able to start the video by sending a start point - This is all working with audio I just want to do it with video.
    I have searched the forums, the search engines, youtube and read through the documentation on Air but the video does not work at all.
    I need code samples and direction on how to make an embedded video play inside of a desktop air application using the HTML / JS air model. I am using the command line tools to create the air package and test the air app.
    Please help if you have figured this out.
    Thank you.
    Not sure if this matters but I am using Windows 7 Pro 64bit as my development machine.

    In addition I also can not get html5 video to play in the adobe air app.  Would this issue be tied to the above?

  • Why is my Air application taking so long to show the first view on iOS devices?

    I built an Air application that runs on Android devices and iOS devices. The application uses Air 3.4 and Flex SDK 4.6. On my Android device, the application starts in 5 seconds. On my iPad device, the application starts in 90 seconds.
    My application has a splash screen, which is launched via the ViewNavigatorApplication property, splashScreenImage.
    The application was built in release mode and the SWF file is 1.384M. After I create the ad-hoc build, which includes the Air Captive Runtime, I see the following file sizes and startup times.
    iPad 2 - ipa size, 8.6M
    12 seconds of black screen. Then my splash screen appears. 80+ seconds of splash screen. Then my first view appears.
    Android Nexus 7 - apk size, 4.0M
    2.5 seconds of black screen. Then my splash screen appears. 2.5 seconds of splash screen. Then my first view appears.
    Here are more details about my app.
    It's a video conferencing app. So I have to set renderMode to "cpu". The app has 5 views and several popups. The popups use the SkinnablePopupContainer. The app uses dependency injection as provided by the Parsley framework to share two small data objects between the views. The app uses web service calls to manage the conference state.
    The problem occurs at startup. I haven't rendered a view with video logic, and the first view is a welcome page with a scrollable text area for terms and conditions, one button with an icon, one toggle button, and one hyperlink button.
    The app has about 400k of embedded images which are rendered using the MultiDPIBitmapSource.
    The app has 43.3K of icons for the various sizes as specified in the application xml file.
    Any help would be greatly appreciated.

    I figured out how to resolve the issue. I had to change the renderMode from "cpu" to "direct". That solved the problem, and the application performs perfectly. Even the video displays work ok. It's interesting that Adobe advises against using "gpu" or "direct" renderMode when displaying video. I need to figure out why and make sure the application is acceptable as is.
    I have more testing to conduct, but I'm very encouraged.

  • Howto: Put in CD / DVD - sample adobe air application with installing process:

    Hello anything,
    Please do not forget!
    With Flex-SDK (newer version)
    CD / DVD: ROM:
    /os
    /win = Windows Version like *.exe, *.msi, *.cmd *.vs or *.ws
    /mac = Macintoch Version like *.pkg, *.app, *.dmg,, *.mpkg
    /lin = Linux version like *.run, *. , *.bin, *.sh, *.rpm,
    *.deb
    /setup = your adobe air application like Custom air-able
    installer = my great installer ( Cominig soon... )
    /images your photos or texture or any styles... , icons too
    /acabs = my suggestion for like Windows *.cab <> Air
    Cab = *.acab
    /locales = for your languages ...
    /folder any your suggestions...
    /flex-sdk = Flex Software Development Kit = Adobe Flex SDK
    (no flexbuilder 3)
    /helps = When you need help like *.pdf Files.for Installer
    / = callable autorun with autostart.jar or autorun.jar
    If you want to build powerful application on Windows 32 or 64
    Bit you can sometime regedit writing. DO NOT WORRY!!!! My special
    installer (coming soon).
    I have been created a sample installer. whe i am final with
    my installer. Do not worry! You can to believe me really. :)
    How do i bind to exec for java? (No javascript! OK)
    How do i create shell for Mac OS X Leopard
    Do not forget!
    I have been created shell in /os/mac/preload_installer.sh,
    How do i know when i do not use with disk image moving and
    clicking? How does my shell start automacally?
    I know for Linux. I have not problem for linux version. I
    have Ubuntu 8.05 LTS Version. :).
    But i haven't Mac OS X :(
    Thank you for cross-plattform-able CD or DVD :)
    Enjoy for making with image and burn an image since cd or
    dvd-rom.
    Best regards, SnakeMedia

    Could you open a new bug report on this over at bugbase.adobe.com.  Please include a copy of your app (or a sample project) along with steps to reproduce.  Once added, please let me know the bug number and I'll have somone take a look ASAP.
    Thanks,
    Chris

  • Error launching AIR application, Debug works

    Hello!
    I just tried to develop an air application that grabs current actions from our local intranet. While developing with aptana everything worked fine. Then i created the .air package and installed the new program.
    But everytime i want to start the program an windows error occurs. Testing the project with aptana or directly with the adt-file throws up NO error. Everything works fine.
    Has anyone an ideo of what is happening here?
    I cant run the program after creating with aptana, same with creating directly with the Air SDK command line tool.
    Here's a jing video of what i mean: http://www.mypoo.de/tmp/adobeair_error.swf
    Thank you

    Hi. I don't think we've seen this before. The engineer who
    handles this area is out on vacation this week, so I apologize if
    it takes us a bit to follow up.. In the meantime, would you mind
    posting your exact steps? I.e. are you literally just running the
    AIR project wizard, adding some code to the default application it
    generates, and clicking the debug button? Anything else? You're not
    double-clicking the -app.xml file directly by any chance, are you?
    If you could also note the version of Dreamweaver you have
    installed that'd be great.
    Thanks,
    Tom

Maybe you are looking for

  • Horizontal Scrolling - Illustrator CC

    Hello, I just updated from illustrator CS6 to CC but now i can´t do horizontal scrolling, instead of going horizontaly it goes verticaly but faster than the normal horizontal scroll. Is there a way to reactivate horizontal scrolling without pressing

  • How to fill the details tab in the iPad tv shows with description

    Can anyone tell how to fill out the details tab metadata in the tv shows section of iPad? The tv shows purchased from the iTunes Store have the details tab beside the episodes tab filled in with helpful description about the show. Isn't there a way t

  • HT204387 GPS is not working in Maps for my iPad 1?

    My Apple iPad cannot load Maps. When i open Maps, it is not getting my location. I think its GPS is not working. Still its GPS in ON, it is showing "CANNOT DETERMINE LOCATION".

  • [Solved] How can i calculate all possible sums of an int array?

    Hi, i can't figure out the algorithm for that: e.g. array=1,2,3,..n => P1=1+2,P2=1+3,P3=2+3,P4=1+2+3,... For a program language i use Java. thanks. Last edited by br4 (2008-12-10 15:23:40)

  • Problems organizing pictures

    I have a problem, I am sure that we all have or face. I have a iMac as well as my MacBook Pro, plus iPhones Apple Tvs and iPads. I use lightroom 5 for photo organization (yes I love the new lighroom) but the common problem I face is that I can never