Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulate led flashlight in android emulator?

Is there a way to emulate led flashlight in android emulator? I've already tried to see what options are available when setting up the AVD but there was only an emulator for camera!

like image 854
Sam Matt Avatar asked Mar 13 '23 13:03

Sam Matt


1 Answers

The emulator can't do that. You need a device. It's also good to develop on a device since the emulator can sometimes behave differently.

If you just want to test different states of the led, then you can create a small view and change the color of that. You need a device if you want to see the led actually working.

like image 79
stefana Avatar answered Mar 24 '23 06:03

stefana