Camera shows distortion tint/color pink when you access in Flex Mobile Application on Android

Hi all

I use Flash Builder 4.5.1 and test capabilites camera using simple super code just to see that it works, but I have enctountered a bug I can't fix.

Description of the bug

When I debug on the desktop using the webcam everything works fine, but when I test my application on a Samsung Galaxy S2 (Android) the colors of the image are distorted - all the bright colors have a pinkish tint.

  • The problem occurs in when you debug and when running a build of the final version.
  • I set the permissions of camera for the project.
  • The unit works fine when tested in the native application of camera of the device.

The application code

It's all of my application code:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                 xmlns:s="library://ns.adobe.com/flex/spark"
                                 xmlns:local="*"
                                 xmlns:assets="assets.*"
                                 applicationDPI="240" xmlns:mx="library://ns.adobe.com/flex/mx"
                                 creationComplete="init()">
          <fx:Script>
                    <![CDATA[
                              import mx.core.UIComponent;
                              import mx.events.FlexEvent;
  
                              protected function init():void
                              {
                                        var camera:Camera = Camera.getCamera();
                                        if(camera)
                                        {
                                                  var ui:UIComponent = new UIComponent();
                                                  var video:Video = new Video(320,320);
                                                  camera.setMode(320,320,24);
                                                  video.attachCamera(camera);
                                                  ui.addChild(video);
                                                  cameraGroup.addElement(ui);
                                        }
                              }
  
                    ]]>
          </fx:Script>
          <s:Group id="cameraGroup" width="320" height="320" />
</s:Application>

Example of bug (screenshot taken of Android device)

screenshot.JPG

Anyone know how to fix this? Help !

Thank you!

I have attached, just update your version of adobe air (on computer and Galaxy) 3.0

Tags: Flex

Similar Questions

  • How is it that some machines running windows vista, when the router is updated or changed, they show "limited or local only" when you reconnect then wireless.

    problems with wireless Vista "local only".

    How is it that some machines running windows vista, when the router is updated or changed, they show "limited or local only" when you then reconnect wireless... nothing else was changed on those computers and other devices can connect ok?

    Hello

    Each router is assigned to the specific address (called IP address or IP address). And each router maintains its own database (called as base of router) to follow the networking devices communicate with him. When the router is changed, the particular router is unable to detect the device, especially the network card to communicate with the computer.  Since he does not have details of the database of network devices, communicate with him.

    • You are able to access the Internet?

    Try the steps mentioned below and check:

    Method 1:

    Step 1: Enable or disable a network adapter and then check:

    http://Windows.Microsoft.com/en-CA/Windows-Vista/enable-or-disable-a-network-adapter

    Step 2: Run Network Diagnostic tool and check:

    Network connection issues: http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems

    Method 2: Wi - Fi and in Windows network connection issues:

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Reference links:

    Of network connectivity status incorrectly as 'Local' only on a Windows Server 2008 or Windows Vista-based: http://support.microsoft.com/kb/947041

    Setting up a wireless network: http://Windows.Microsoft.com/en-us/Windows-Vista/setting-up-a-wireless-network

    Connection to wireless with Windows Vista: http://technet.microsoft.com/en-us/library/bb878035.aspx

    Hope it works.

  • Can someone help me change the preference for what color appears when you add content using cultures

    Capture.PNG

    Areas that are circled, used to be a kind of bright blue and was easier to select and see. For some reason any over the past days, he has switched back to that dark gray color. I was wondering if someone could help me to restore.

    Thanks a lot for any help

    Take a look at your foreground and background colors.  When you add to the canvas using the crop tool, filled it with the background color.

  • FF8 + dialog box popup "application/vnd.wap.xhtml+xml" when you access a Web site.

    FF8 cannot use the www.translink.com.au trip planner.

    When I fill in the fields and click on 'Find journey' - a dialog box appears

    "You have chosen to open the trip planner.
    which comes from application/vnd.wap.xhtml+xml a: (27.6 KB): http://jp.translink.com.au
    What should Firefox do with this file?
    Opened with Browse...
    Save the file.

    Also a few other buttons on this site do the same thing, for example. On this page and train travel planner:
    http://TransLink.com.au/travel-information/services-and-timetables/buses/Route-204
    -If you click on the button 'Show time' - it does the same thing.

    This site worked before ok with FF7 and IE8.
    A release with the troubleshooter from the site Web - no response.
    Now it is unusable and don't know what to do.

    Other than this problem only seem to work ok - FF8 so this Web site is to blame?

    Googled the problems forums and looked for a solution - it's a problem similar to mine:
    http://support.Mozilla.com/en-us/questions/796303?s=application%2Fvnd.WAP.XHTML%2Bxml & r = 1 & s = ACE

    PS - to confirm - I use a desktop pc with a mobile broadband usb dongle.

    I hope someone can help.
    Thanks in advance.

    "FF8 + dialog box popup"application/vnd.wap.xhtml+xml"when you access a Web site."

    THE PROBLEM ABOVE IS NOW COMPLETELY RESOLVED.

    The site in question was the problem - NOT 8 Firefox or Linux Mint.

    The site has been fixed and now works as it should.

    If someone else gets a dialog box pop-up similar box to the above - suggest that they contact the administrator of the website the problem and inform them that their site user agent detection Web is not correctly identify your version of Firefox mobile browser and so redirecting to a mobile version, return of mobile specific markup (Content-Type).

    Check the Whirlpool forum: http://forums.whirlpool.net.au/forum-replies.cfm?t=1821427

    and here for a similar problem: http://support.mozilla.com/en-US/questions/796303#answer-158925

    As mentioned above, for the temporary site issue features while it is currently set, install the extension switch from User agent.

    https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/
    
  • "Receive the error message" Microsoft (R) HTML Application host has encountered a problem and needs to close, etc. "when you access user accounts

    Original title: I can't access the accounts of users (XP).

    I can not access (XP) user accounts.  I get the message: "Microsoft (R) HTML Application host has encountered a problem and needs to close etc.."  The APPname is mshta.exe. I have this msg when I click on anything in the user accounts.

    1. What is the problem?
    2. what should I do to fix this?

    Hello Eric_984,

    Thank you for the question!

    It is disheartening to know that have problems you with user accounts. "As I understand it, you get an error message" Microsoft (R) HTML Application host has encountered a problem and needs to close etc. "when you access user accounts.

    I need to ask you a question to help you best.

    Were there any changes (hardware or software) to the computer before the show?

    Perform the steps in the link and check.

    Error message when you try to open the item user accounts in Control Panel on a Windows XP-based computer: "Microsoft HTML Application host has encountered a problem and needs to close."

    Answer to us if you are having problems with user accounts or any other issue of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.

    Good day!

    Hope this information helps.

  • I just upgraded to Firefox 5.0.1 and because the "padlock" icon never appears when you access secure Web sites, where should I look for it?

    I recently upgraded to Firefox 5.0.1 and now the 'lock' icon is nowhere (I don't know) when you access secure Web sites. I've not seen once. It appeared in the lower right of the screen. I also have Norton Internet Security.

    Well, in the secure Web sites part of the address bar is allocated to the part of the security certificate. For example, here in these forums you can see your address bar is as follows: mozilla.com . https://support.mozilla.com... The front ' |' ("mozilla.com") is what I'm talking about. For more information on the security certificate, you can mouse over and also clicking on it.

    Press "Resolved" If this has helped you.

  • Firefox 6 crashes when you access bookmarks menu.

    Gentoo/Linux/GNU

    Firefox crashes when you access bookmarks or history via the toolbar. Unresponsive and must be killed.

    This is a new installation, there was no previous installation of firefox before 6 was installed.

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • How can I get the 'secure site' (padlock) icon to display when you access a web page secured with Firefox 4?

    The "secure" (lock) icon no longer appears on the status bar (or anywhere else I can find) when you go to a secure web page. How can I get the 'secure site' (padlock) icon to display when you access a web page secured with Firefox 4?

    You can add a 'lock' the b-I-S with this extension.

    https://addons.Mozilla.org/en-us/Firefox/addon/padlock-icon/

  • Folders of bookmarks in Safari in the Favorites bar not open click when you access one after another

    Question: The records of Safari bookmarks in the bookmarks bar not open click when you access one after another

    Diagnostic steps:

    (1) create 2 or more folders in the bookmarks with the individual sites in their breast.  (Examples of folder name: career, finances and health)

    (2) safari > display > display favorite bar. All the Favorites should be visible in the main window of Safari with all these files

    3) click on the folder named career and then go directly to Finance. (the record finance should open with a single click)

    (4) or try to open the folder of health directly after clicking on career record. The health record is expected to open in one click. This does not currently happen

    Currently, 2 click are required to open a folder in the Favorites bar. To activate the button and the second displays the Web sites it contains.

    It is annoying and seems as if the browser is obsolete.

    If opening cursor hover is not what apple wants for these records, we are fine with it. But the least we should do, it's that these files opens in one click.

    Thank you.

    Send feedback to Apple. They will not respond, but at least know that there is a problem. If enough people send feedback, it can become the problem solved as soon as possible.

    Your comments

  • Error when you try to run an application that worked when built with 8.6

    I have a simple program that I wrote in the 8.6 version that I've never had a problem generation and execution of applications built with it to 8.6.  Two weeks ago, I got 2009 by mail because we had very recently purchased 8.6 and I get errors when you try to run an application built with the same code using 2009.  The error relates to the Mean.vi.  He claims that he can't find it.  The error I get is as follows:

    Error loading VI 'NI_AALBase.lvlib:Mean.vi '.  LabVIEW support 3 error code: could not load façade.  I don't have access to the front panel of this vi, so I wonder if there is a problem with the runtime and not my code.  Please answer as soon as possible because it will quickly start to the impact of my calendar.  Thank you.

    Hello!

    The same problem ?

    I talked with my local OR technical support team. The application now works without any problem.

    Rule of thumb: when creating a Setup program do not forget that the option "Run Time Engine xxxx" in the category "Other installers" is selected despite the fact that the runtime is already installed.

    Best regards.

  • The computer hangs when you access network resources

    I have this problem with a couple of computers at work.  Here's the question:

    Computer does not display the network icon in the system tray.  When you try to access everything which concerns internet, nothing works.  IE Page not found errors, etc.  When I go to control panel > network connections, my computer freezes and I have to close the Task Manager Control Panel to continue.   My computer will also freeze/hang up when I try to use another application that requires an internet connection.

    Not help not to restart normally.  The only way I could fix is by turning it off for a while, and turning back on later.  But even if it does not work 50% of the time.  Restarting over and over again does nothing; the computer still plays the same, no network icon / freezing when you access network resources.  Once he decides to however works, the computer has internet/network connectivity and no problems until what it is off again.

    I tried all the drivers out there for my network card and reformatted 3 times is not a virus/spyware.  The I'm having a problem with the current computer is one day having no application other than Windows Update, Microsoft Office, Java, Flash and Adobe reader installed.  They are all Dell computers, some are of the Vostro desktops, while some are older of the Inspiron.  Questions computers are running Windows XP SP3.

    Any help would be appreciated!

    Hello

    I suggest you to send your request in the below link that this forum is best suited for your question.

    http://social.technet.Microsoft.com/forums/en-us/category/windowsxpitpro

    I hope this helps!

  • Hotmail problem - "Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer"

    How can I solve the problem with this message: "Please refresh your browser window. "We ask to reconnect when you access your Windows Live Hotmail account from more than one computer, help keep your account secure and private.

    Thank you for visiting the Microsoft answers community site!

    The question you have posted is related to Windows Live Hotmail and would be better suited in the Windows Live Solution Center.

    Please visit the link below to find a community that will support what ask you

    http://windowslivehelp.com/forums.aspx?ProductID=1

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Error 0 x 80070570 when you access my flash drive using windows 7

    I get an error 0 x 80070570 when you access my flash drive using windows 7, but the same flash drive works perfectly on two other PC's with Windows XP. It's frustrating because I need to backup and transfer files.

    Hello
     
    1 you get an error message with this error code?
    2. is it a problem with this particular flash drive only or all flash drives?

    Let us run the check disk utility.
    Here's how:
    a. open the computer by clicking the Start button, click computer.
    b. click the drive you want to check, and then click Properties.
    c. click on the Tools tab and then, under error-checking, click Find now. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    To automatically repair problems with files and folders that the scan detects, select automatically fix file system errors. Otherwise, the disk check will be a problem, but not to fix them.
    To check for errors file and the physical errors, select both automatically fix errors in file system and search for and attempt recovery of bad sectors.
    d. Click Start.
     
    Depending on the size of your drive, it may take several minutes. For best results, do not use your computer for any other tasks while it checks errors.
     
    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.
     
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to cancel name for username/password when you access the WIn7 computer to stream?

    Hello

    I have a win7 computer and I would like to access it from a stream. I see the computer win 7 banners, but when I try to connect to access shared folders, it requires username & password. I don't know what they are. I have another computer with Vista from where I can access the computer of win 7. I can also access files on the computer of vista of banners.
    I turned on the discovery network, printer and file sharing, turn on sharing so anyone can read & write files in the public folder. Disabled password protection sharing and allowed Windows to manage the homegroup connections (recommended).
    Can any suggestions on how I disable the name of user and password? or at least what is it?
    Thank you
    Leon.
    PS: He used to work properly without a username, but suddenly he began to pose for her (probably after that I restarted the computer or the streamed)

    Hello

    I understand that you want to cancel the name for username/password when you access the WIn7 computer to stream.

    I suggest you to send your query on the forum of streamer and I hope that they will be able to guide you in the right direction.

    Here is the link:

    http://support-splashtop2.Splashtop.com/forums

    It will be useful. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

    Kind regards!

  • fatal error when you access preferences, advanced actions, project preview and other functions.

    I get a fatal error when you access preferences, advanced actions, draft preview and other functions. I reinstalled, reimagee my machine according to different scenarios and may not get this problem solved I use version 9.0.1.320 is there a fix or a solution to this problem.  Thank you

    Try to update your PC version to 9.0.2

Maybe you are looking for

  • New messages in IMAP folders do not appear automatically.

    I have an IMAP account with several folders inside, what every email of receipt directly. It seems that Thunderbird provides that all messages coming in the Inbox and be filtered in folders from there, but my e-mail server pre-filters messages in fol

  • Satego X 200 & Windows 7

    Hello I want to updgrade my laptop Satego X 200 (operating with Windows Vista Premium) to Windows 7 PremiumWhat are recommend Toshiba? Vista running Windows 7 drivers or after theUpgrade procedure? Janni cordially

  • Satellite U400 - battery only charge if the laptop is turned off

    When I plug in charge he only charged but when I turn of laptop battery is in charge.So he allways using the battery. What should do?

  • Assessment method regarddu or ByValue

    In the Stimulus Profile Editor (VS2011), parameters can be either selected with the method of assessment being 'simple' or 'byValue. What does it mean and where is there any documentation to this? L.

  • missing samples in the waveform graph

    Hello world When processing a file .wav into pieces, I noticed that there are missing samples on the waveform graph where two pieces must be met for the display. What could be the cause of this? Any help appreciated. Thank you! Milan