M MetalOS Member Licensed User Longtime User Sep 7, 2021 #1 Hello, I use the NFC to read the content of the Ndef tags. So far no problems. At the same time I would like to use the flashlight with the CameraEx class but when the camera is initialized it is impossible to use the NFC and read Ndef tags. I have attached a sample code that reproduces my problem. Thank you in advance for your help. Attachments Rondier.zip Rondier.zip 69.2 KB · Views: 316
Hello, I use the NFC to read the content of the Ndef tags. So far no problems. At the same time I would like to use the flashlight with the CameraEx class but when the camera is initialized it is impossible to use the NFC and read Ndef tags. I have attached a sample code that reproduces my problem. Thank you in advance for your help.
Erel B4X founder Staff member Licensed User Longtime User Sep 8, 2021 #2 NFC unavailable when camera is open This is my Torch app: final Camera.Parameters p; Camera camera=Camera.open(); camera.setPreviewTexture(new SurfaceTexture(0)); p = camera.getParameters(); p.setFlashMode(Camera.Parameters. stackoverflow.com Upvote 0
NFC unavailable when camera is open This is my Torch app: final Camera.Parameters p; Camera camera=Camera.open(); camera.setPreviewTexture(new SurfaceTexture(0)); p = camera.getParameters(); p.setFlashMode(Camera.Parameters. stackoverflow.com
M MetalOS Member Licensed User Longtime User Sep 9, 2021 #3 Well, it's not possible to use both simultaneously. Thanks for your help Erel. Upvote 0