For example, i have a java based old phone and i want to write an application to control it’s flashlight diode. Is there any universal way to do it via j2me?
Something like:
EnableFlashlight();
that should work for every java based phone.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your phone supports widely spread MIDP 2 (JSR 118) then you can use Display.flashBacklight API:
Generally, the answer to your question is no – eg very old MIDP 1.0 (JSR 37) Java phones do not support such a functionality.