首页 > 移动平台 > 详细

[Android-Camera] If there is no flash setting option in Android stock camera apk, find the code and change it.

时间:2015-10-08 18:00:30      阅读:284      评论:0      收藏:0      [点我收藏+]

On freescale imx6 android platform, when we work on the Android stock camera apk, it‘s found that no flash setting option within it.

So I track the code, and found that, flash avaliable need to be change from default value 0 to 1, it works.

hardware\imx\mx6\libcamera2\MetadaManager.cpp

    // android.flash
    // shawnbai, yes, we have camera flash, flashAvailable 0->1
    uint8_t flashAvailable = 1;
    ADD_OR_SIZE(ANDROID_FLASH_INFO_AVAILABLE, &flashAvailable, 1);

 

 

技术分享

 

[Android-Camera] If there is no flash setting option in Android stock camera apk, find the code and change it.

原文:http://www.cnblogs.com/lake-of-embedded-system/p/4861633.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!