Android AIR continuous autofocus doesn't work

Hello!
I am making an application for Android using AIR - it has to make a streaming of video from the camera to server. I started with a simple application which draws rear camera preview on the screen, the code looks like this:
camera = Camera.getCamera("0");
video = new Video(camera.width, camera.height);
video.attachCamera(camera);
And I have three problems when tesing the app on my LG L65 with Android 4.4.2:
1) The preview is very dark. It becomes a bit brighter when I show the lamp, or some other sources of light - the brightness is being adjusted continuously, but when i return back to ordinal views with no really-bright sources - it becomes dark again. The front camera does not have such a problem - the brightness is ok. The most important here is that the native Camera Roll application shows good and bright previews from both cameras, and also, when i test a simple Android app to check camera preview - it also shows good and bright picture from both cameras - so, i have this problem only in AIR application and only for rear camera.
  Rear camera preview screenshot From AIR application
   Rear camera preview screenshot From Android application
2) I noticed, that the continuous autofocus doesn't work in AIR application - it works (refocuses) only when manually calling Camera.setMode, but the solution of refocusing every, for example, 3 seconds won't fix the problem, because it will hang the video every time for half a second. There was a discussion here: https://forums.adobe.com/message/3775731, whitch led to creation of a bug in bugbase here: https://bugbase.adobe.com/index.cfm?event=bug&id=2921514, which was closed, but should not. It was concluded there, that if a smartphone does not provide continuous autofocus - it won't work continuously in AIR also. BUT: i checked my LG L65, and also Samsung Galaxy Note 2 for continuous autofocus - made a simple Android application, set the autofocus mode to continious, and it worked for both smartphones. But the AIR continuous autofocus did not, for both LG and Samsung. That's why i really ask you to reopen that bug in a bugbase and try to help to find some solution. The code I use to check continuous autofocus in Android:
parameters.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_VIDEO);
camera.setParameters(parameters);
3) I also tried to use flashlight at the same time, as the video is previewed from camera - and failed: we cannot use one camera object in AIR and one in ANE at the same time - we only can release it in one side to work with it in another, by making camera object null in AIR or by calling Camera.release in android. I could only blink the flashlight, using the native extension (make AIR camera null, start flashlight from ANE, release camera object in ANE, make a new camera object in AIR, attach it to video). What would you kindly suggest to do here - to show camera preview and use flashlight at the same time? Are there any possibilities to change android camera parameters to use in AIR camera with help of ANE or anything else? And maybe you are already planning to add some more functionality to Camera class in AIR to use more camera settings?
Hope this post helps other developers when you answer!
I also submitted the 3 bugs here:
https://bugbase.adobe.com/index.cfm?event=bug&id=3927313
https://bugbase.adobe.com/index.cfm?event=bug&id=3927321
Also, i have made a feature request for using the flashlight in AIR during the camera preview working:
https://bugbase.adobe.com/index.cfm?event=bug&id=3927326
And a feature request for controlling the camera parameters of android and use them in AIR camera:
https://bugbase.adobe.com/index.cfm?event=bug&id=3927339
please, vote it up!
Thanks,
Vassad2214.

Same question here. What I'm looking for is a camera app that would focus continually like a web cam. I think that is the tm you should look for in the app store. Or try googling "continuous auto-focus". I'm going to do that now.

Similar Messages

  • Need to convert a AVI video to be able to see it on a MACBOOK Air. VLC doesn't work

    I need to convert a video from AVI format to a other format that can be read on my MacBook Air.
    VLC doesn't work. any other suggestion? Free will be better
    Thank you

    Is it a bad thing to put my MacBook Air 13" directly on my bed not raised on a flat surface?
    Yes, yes, and Yes
    Considerations for the long life of your Macbook Air. Handling and environmental care tips
    Don’t use your MacBook Air on the beadspread or pillow
    Do not place your MacBook on a pillow or other soft material when it's powered on, as the material can block the airflow vents (in particular, the rear vents) and cause the computer to overheat. Never place anything over your keyboard when operating in closed-lid (clamshell) mode. This can cause your computer to cycle on and off, which might create excessive heat and drain your battery. Use a lapdesk if you want or plan on using your Macbook on your bed or couch, or in your lap.
    Use of your notebook on a mattress or pillow blocks your notebook from circulating air as it needs to, and can lead to overheating rapidly
    Lap desk for use with your notebook on the bed, your lap, or couch. Also very useful for removing wrist strain

  • MacBook Air wi-fi doesn't work at home but does everywhere else?

    Hello everyone, out of the blue recently my mid-2012 Macbook air started having wifi issues at home.  Everywhere I go except my house the wifi works excellently.  This would lead one to believe my home wifi is at fault, however all of my family's devices (ipad, iphones, pc, etc) connect to and use the wifi just fine throughout the house.
    Even more strange is the fact that when I am in close proximity to the router (in the basement)  the wifi works and is fast.  It also works in my kitchen, but strangely does not in the living room 10 feet to the left or in my room upstairs.  If it does rarely work in those areas, it is extremely slow and does not take long before it doesn't work at all.  Any suggestions would be greatly appreciated. 
    Just a side note, I updated to OSX mavericks hoping this would solve the issue but it did not.

    In an area where your WiFi is not working, try System Preferences > Network > Assist Me > Diagnostics

  • Air play mirroring doesn't work mac pro desktop 2010 mid 27" display

    mac pro desktop 2010 mid '27" display'
    I have turn on the " show mirroring options in the menu bar " it does not show up
    I also have Imac workes just fine ,Iphone , Ipad , same workes just fine
    so it is in the mac pro is there a down load fix or do I need to buy graphics card or what
    I have had nothing but but troble out of this 27" display no microphone the misplay will stop working
    when avery thing was new you told me that a fix would be out soon but 2 years later not a thing

    be sure you are not confusing "AirPlay Mirroring" and Display Mirroring.
    AirPlay Mirroring is not supported in that Model Mac, only in Macs with Intel integrated graphics:
    About AirPlay Mirroring in OS X
    Your Mac does support Mirroring of displays, and always has. The settings for this are in:
    System Preferences > Displays  ...
    ... [√] Mirror displays

  • [ubuntu 64bit 9.04] AIR Application Installer Doesn't Work

    Hello,
    On Ubuntu 9.04 (Jaunty) 64bit, I have installer the Adobe AIR system as follows:
    1) Downloaded Adobe AIR from: http://get.adobe.com/air
    2) sudo chmod +x AdobeAIRInstaller.bin
    3) sudo apt-get install -y ia32-libs lib32nss-mdns lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6 libc6-i386 lib32nss-mdns libcanberra-gtk-module
    4) sudo wget http://taurinocerveza.com/scripts/getlibs-all.deb
    5) sudo dpkg -i getlibs-all.deb
    6) sudo ./AdobeAIRInstaller.bin
    7) dpkg -l | grep adobeair
    ii  adobeair1.0                                1.5.1.8210                                Adobe AIR
    8) Reboot Ubuntu (just for 'fun')
    9) From Applications > Acessories --> Selecting "Adobe AIR Application Installer" does nothing ... not even a blip.
    10)  .airappinstall.log is a zero-length file (did a 'touch ~/.airappinstall.log')
    Any ideas?  Thanks in advance for the help!

    Hi,
    Here is what happens when I try to invoke the Application Installer from the command line:
    $ "Adobe AIR Application Installer"
    Error loading the runtime (libadobecertstore.so: cannot open shared object file: No such file or directory)
    Thanks!

  • My macbook air 11" suddenly doesn't work with some software

    this is the warning I saw: You can’t open the application “Install VectorWorks (A)” because PowerPC applications are no longer supported.
    What's going on?? I erased my hard drive and I reinstalled it the Mountain Lion, and nothing happened. I need some advice. Thanks

    if it's a PowerPC program, there is no way it works with 10.9 Mavericks.  Search the forums and you will see hundreds of similar posts with the same answer.  The only way to use a PowerPC program is with 10.6 or prior.

  • I updated on IOS7 syncing with macbook air doesn´t work; says "iphone needs iTunes 11"

    I just updated my iphone 4 on ios7. Now syncing with my macbook air (itunes 11) doesn´t work anymore. It says "Iphone needs Itunes 11". Can You help me? What´s wrong or what was my mistake?
    HKBJ

    Make sure you have the Latest Version of iTunes Installed on your computer ( v 11.1)
    iTunes free download from www.itunes.com/download
    On your Computer... Click on the Apple icon.. Top left in Finder...
     > About this Mac > Version...what does it say?

  • IOS8 handoff doesn't work

    iPhone 5S / iPad Air, iOS8 handoff doesn't work. I can't see and continue to work with no Apps either on iPhone nor on iPad. All "handoff-options" are <on> on each device.
    Any ideas?
    regards
    Raphael

    Ok.  Here's the link to the user manual:
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    Page 26 explains what to do.
    This link below, shows what you should see.
    Connect your iPhone, iPad, and iPod touch using Continuity
    It works for my iPad w/retina, and my 5s.

  • Photoshop CS5 Help doesn't work

    I just installed Master Collection CS5 today.
    I discovered that the keyboard shortcuts for changing Brush Hardness (Ctrl-Option-Cmd) now activates something else.
    First thing I did was goto Photoshop Help, just to find out that the fancy new Air Help app doesn't work. It says something like "this installation is damaged, reinstall or call adobe."
    Well I put the disc back in and there's no option in install the Help app.
    So...  I have no Help now. Any ideas?

    Make Layer 3 active and select all (Ctrl-A) and copy it (Ctrl-C).
    Alt-click on the empty mask thumbnail, that will give you a white work area.
    Click on it and paste (Ctrl-V).
    Juergen

  • RTMPS not working in Android Air 3.8.0.820

    If i build my app with 3.7.0.1530 then an RTMPS connection (proxyType = "best") works fine. If I build with 3.8.0.820, on Android I get a NetConnection.Connect.Failed after about 10 seconds. Works fine with 3.8 on iOS & OS X.
    Any ideas?

    Hi xtyler,
    Are they failing to connect first time, but working second time? Or are they completely unable to connect?
    If the latter I have some things that you can try, although I would have expected that these will only assist with Air 3.8 issues, which your customers probably aren't running yet.
    1. Use something like stunnel or Amazon ELB to handle the SSL, and have it forward the resulting non-SSL TCP connection to your RTMP port (not RTMPS)
    2. If your server is something other than Adobe Media Server and is a java program running on openjdk, try the steps listed here and restart your server. NOTE: This effects your SSL configuration. I can't comment on whether this lowers, raises or doesn't effect the resulting security.
    http://shickys.blogspot.com.au/2012/11/addressing-openjdk-bug-with-ssl-on.html
    These workarounds both allow Android Air 3.8.0.930 to establish an RTMPS connection to Red5.
    Dave

  • Bold text formatting doesn't work on Android device

    I've encountered AIR issue with text formatting.  Bold formatting doesn't work on android device.
    I've opened item in adobe bug system https://bugbase.adobe.com/index.cfm?event=bug&id=3638337 which describe the issue.
    Currently I haven't received any helpful feedback from adobe bug system.
    That's why I've desided to ask for support here.
    Does somebody know some workaround for that issue?

    Hello Chris,
    I was wondering if you can remind Adobe dev team about this issue.
    AIR 4 is released already and it doesn't have the issue fixed.
    This issue becomes painful for us because we can't update to new AIR versions.
    Currently we stuck with AIR 3.6. AIR 3.6 has bugs on new Android operational systems.
    But we can't migrate to new AIR4 because bold formatting used heavily by our application doesn't work.
    Thank you,
    Ostap

  • StageWebView Doesn't work on Android with Captive Runtme...

    If I make an apk with the default setup (requires separate runtime download) it works, but not with captive runtime. I need captive runtime so that it can be accepted into Amazon Appstore.
    StageWebView.isSupported appears to return true when run, and then it just doesn't work.
    Is there any way around this? Will this work in the future?
    I am probably just going to work around it and do without it for this release, but would like to see if anyone knows what the deal is with it and let folks know of the issue.
    Edit: I have found that any usage of a StageWebView object not only doesn't work, but makes errors and breaks other parts of the app, so I have had to disable any usage of it...

    I'm also using StageWebView, but I don't have the problems you mention. I am using Captive Runtime to compile my app and it's working fine in the Android Market (I haven't tried Amazon Appstore, though).
    The version of AIR i'm using is 3.1. Are you using this version?

  • My FaceTime Camera of my MacBook Air doesn't work in Skype.

    My FaceTime Camera of my MacBook Air doesn't work in Skype. I try to make a videocall but my camera doesn't work.

    Be sure to check PHOTOBOOTH and FACETIME in more than one user account.  However, don't use the "Guest" account for testing.  If your Mac only has one account, create a new user account for testing.
    • If Apple's http://support.apple.com/kb/HT2090
       suggestions do not help you, (the "reset" suggested there
       often restores normal function,) continue with the following.
    • Use your Mac's Disk Utility to repair permissions and then
       download and apply the latest Combo Update, for your Mac OS,
       the current one is at: http://support.apple.com/kb/DL1484
    • Repair permissions again immediately following the system restart
       that completes the Combo update.
    Properly applying the Combo version of updates can sometimes correct software problems, but, if your trouble is caused by a hardware problem, there are no user serviceable parts of iSight.  For hardware help, contact an Apple-Authorized Service Provider for service.
    The same Troubleshooting help for built-in iSight works for FaceTime (and FaceTime HD) cameras, too.
    If your camera works with Apple apps in every user account you test, search or post for help in Skype's dedicated forum.  The Skype users who post there may have already know the solution for your particular problem.
    Message was edited by: EZ Jim
    Mac OSX 10.7.3

  • Navto doesn't work on Android device?

    Hi all,
    I test my magazine on Nexus 7 and Samsung Galaxy and both devices show the "navto" from one article to another doesn't work in Adobe Content Viewer. Is this a declared problem?
    Have somebody the solution'
    Thanks in advance for your collaboration.
    Michela

    Hello Chris,
    I was wondering if you can remind Adobe dev team about this issue.
    AIR 4 is released already and it doesn't have the issue fixed.
    This issue becomes painful for us because we can't update to new AIR versions.
    Currently we stuck with AIR 3.6. AIR 3.6 has bugs on new Android operational systems.
    But we can't migrate to new AIR4 because bold formatting used heavily by our application doesn't work.
    Thank you,
    Ostap

  • When I click on the 'help' key in the elements 12 program it wants to open it in Firefox2. Firefox doesn't work on my Macbook Pro Air. I use Safari. How do I get it to open?

    When I click on the 'help' key in the elements 12 program it wants to open it in Firefox2. Firefox doesn't work on my Macbook Pro Air. I use Safari. How do I get it to open?

    Hmm, that is very strange. I agree with MichelB that it's probably best just to get the PDF, but you can try going to your username>library>preferences and deleting:
    com.adobe.PhotoshopElements.plist
    Adobe Photoshop Elements 12 settings
    Adobe Photoshop Elements 12 paths
    To see the library, click the Go menu in the Finder and hold down the option key and it will appear below the little house for your user account. While you're in there it wouldn't be a bad idea to go to the Saved Application States folder and delete anything pertaining to PSE.
    Repair permissions and see if that does it.

Maybe you are looking for

  • Is there a way to have a Numbers spreadsheet show the row numbers on ipad?

    I am have a spreadsheet I am using for keeping count of the current people registered for an event. If there a way to have one of the columns automatically show the row numbers so I can easily see the amount of people confirmed for the event without

  • How to find browser is not supporting cookies using jsp/servlet?

    still....... now i develope one session tracking concept in my project using cookies. but after implementing my application to some client . Its browser dosen't support cookies. so how to avoid this problem before implementing application.

  • [SOLVED] LXQt: Black Background and File Associations Ingored

    Hi, I switched from Razor-qt 0.5 to LXQt 0.7 (both from AUR) recently, and I encountered two problems: 1. After login, there is only a black background and no right-click context menu works on the desktop (see linked screenshot below). 2. "Removable

  • How to edit HDV and HD 24F together?

    Please help! I just did a 2-camera shoot, on Canon HV 40s. The problem is that my partner and I were in two different recording modes: HDV and HD 24f. I am new to HD, and really don't know much about it. What is the difference between the two modes,

  • Any RunningApplications-like function for non-windowed processes?

    Am I missing any RunningApplications-like function for non-windowed processes like Unix executables? To start with I'd settle for processes in user-space but would ultimately like to list processes like Activity Monitor does. Even comparing RunningAp