Raw Camera Display on Air

2019-08-11 10:38发布

问题:

We are trying to display Camera on a part of screen(raw camera). It shows a strange black and white display on Android device, but it works properly on emulator. What do you have any idea about how to solve this problem ?

EDIT: "Tour de Mobile Flex" application in Camera->Raw Camera have same problem.

回答1:

I set <renderMode>direct</renderMode> in app.xml. That configuration solve my problem.



回答2:

Setting render mode to direct works for me as well (AIR 3.4 on Nexus S 4.1.2).

If you don't want to manually manage your manifest file, this can be done in the publishing settings dialog ("Edit Application Settings") in CS6.