I need flashlight API or function for my program;
and I need to know how it works,but I need to this API without
camera flashlight so I want to turn on/off flashlight diode with
program!
Please help me.

Forum rules clearly statets:

Do provide evidence of having done some work yourself if posting questions from school or work assignments

So what have you done so far?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.