PLEASE NOTE: The Samsung Developer Community forums have been replaced by a improved forum site at forum.developer.samsung.com and are monitored by the same Samsung support team. You will need to use your Samsung account to log into the new forums.

We will keep the Community forums available as read only for some time, but eventually this site will no longer be available. We suggest that you save any information from this site that you find valuable.

CLICK HERE to visit forum.developer.samsung.com

Subscription preference

Notification emails are sent to your Samsung account email address.

* Email : anonymous@samsung.com

  

Close

Front FLASH not detected

Forums View
Started by Newbie tiag6610 , 500 Seed Nov 06, 2018 15:40 Replies : 2 View : 792 Likes : 0

When trying to verify that the front camera has flash on the phones  J5 Pro , J7 and J8, return false. But the device has front flash available.
Dipositives with version 8 of android.

used code:
SCameraCharacteristics cameraCharacteristics = mSCamera.getSCameraManager().getCameraCharacteristics("1");
return cameraCharacteristics.get(SCameraCharacteristics.FLASH_INFO_AVAILABLE); 

or

CameraCharacteristics cameraCharacteristics = mCameraManager.getCameraCharacteristics("1");
return cameraCharacteristics.get(CameraCharacteristics.FLASH_INFO_AVAILABLE);


The return is always false, but the return should be true
Tags

#Flash#Camera

Post Reply
Board View
Samsung Developer Iqbal , 57320 Seed Nov 07, 2018 05:17 Post #1 0
May be these are not available on public API ... 
Post Reply
Board View
Newbie Scheiber_d , 210 Seed Apr 12, 2019 11:32 Post #2 0
Same Problem with Samsung Galaxy A6 ...

https://stackoverflow.com/questions/55574133/is-there-a-possibilty-to-activate-front-camera-flash-on-samsung-phones



Post Reply