Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8697511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:32:38+00:00 2026-06-13T01:32:38+00:00

For example, i have a java based old phone and i want to write

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:32:41+00:00Added an answer on June 13, 2026 at 1:32 am

    If your phone supports widely spread MIDP 2 (JSR 118) then you can use Display.flashBacklight API:

    Requests a flashing effect for the device’s backlight. The flashing effect is intended to be used to attract the user’s attention or as a special effect for games. Examples of flashing are cycling the backlight on and off or from dim to bright repeatedly. The return value indicates if the flashing of the backlight can be controlled by the application.

    The flashing effect occurs for the requested duration, or it is switched off if the requested duration is zero. This method returns immediately; that is, it must not block the caller while the flashing effect is running.

    Calls to this method are honored only if the Display is in the foreground. This method MUST perform no action and return false if the Display is in the background.

    The device MAY limit or override the duration. For devices that do not include a controllable backlight, calls to this method return false….

    Generally, the answer to your question is no – eg very old MIDP 1.0 (JSR 37) Java phones do not support such a functionality.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Context: The Cloud We have a java-based web application that we normally host on
I have a web application based on Java/Spring that uses Oracle 11g. Currently, the
We have an issue related to a Java application running under a (rather old)
I have a Java GUI-based application that writes some diagnostic messages to System.out and
Let's share Java based web application architectures! There are lots of different architectures for
For example I have a file name call A.java. Here its structure: public class
For example, I have the java code below: URL u = new URL(http://google.com); URLConnection
I was reading Enumerations in Java, and every example I have come across uses
I have a simple java project (adapted from the example here ), which is
Say suppose I have the following Java code. public class Example { public static

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.