Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to test android app that uses flashlight?

I'm currently developing an app for android that uses the flash. My miserable problem is that I don't have a device featuring a flashlight... Is there any emulator in the world that shows the flash state?

Thank you guys in advance! José.

like image 507
jpaguerre Avatar asked Jan 20 '14 01:01

jpaguerre


1 Answers

There is no emulator that can allow you test the flashlight. You need a real device for it.

You need to add the permission also to your manifest file - "android.permission.FLASHLIGHT"

like image 144
User0911 Avatar answered Oct 06 '22 16:10

User0911