android6.0 camera flash

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

android6.0 camera flash

2,144件の閲覧回数
yangguang
Contributor II

I use the android6.0 system, the current debugging mipi camera ov5640 flash, but open the camera application, there is  no flash options. How to open this option, such as flash on, flash off ,etc.When I use android4.3,I added the following code in the HAL layer,

"   

  uint8_t flashAvailable = 1;
  ADD_OR_SIZE(ANDROID_FLASH_INFO_AVAILABLE, &flashAvailable, 1);

"

camera flash option will appear in camera application auto.when i use android6.0, I also use Android4.3 method, but open the camera application ,there is not camera flash option, I would like to ask how to modify the Android6.0 HAL layer to let it support the flash option by default?

ラベル(5)
0 件の賞賛
返信
3 返答(返信)

1,570件の閲覧回数
deepakbeniya
Contributor III

Hi @igorpadykov 
The link is not working .
Can you provide any new link of flashlight for Android 11.

Thanks 
Deepak Beniya

0 件の賞賛
返信

1,570件の閲覧回数
deepakbeniya
Contributor III

hi @yangguang 
Where did you added this line , in which .c file you have added?

"   

  uint8_t flashAvailable = 1;
  ADD_OR_SIZE(ANDROID_FLASH_INFO_AVAILABLE, &flashAvailable, 1);

"

Thanks 
Deepak Kumar Beniya

0 件の賞賛
返信

2,029件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi guang

please check

Android Developing Flashlight Application 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信