PLEASE NOTE: The Samsung Developer Community forums are being replaced by a newer forum site based on the popular Discourse platform. The new Discourse forums are available today at forum.developer.samsung.com and are monitored by the same Samsung support team that is here on Community. You will need to use your Samsung account to log into the new forums.

In the next few weeks, we will update the Community site to no longer accept new discussion topics. Several weeks later, no new replies will be allowed on Community. We will keep the Community forums available 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.

Thank you for your support of the Samsung Developer Community. We're looking forward to seeing you at the new Discourse forums.

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 : 725 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