×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    2

    DeviceControl.setLights on 6670

    Hello everyone.
    Is there any way to turn on light on Midp 2.0 ?
    It was working perfect with my 6610 nokia no i have 6670 and seems to not work at all.
    I readed somewhere that backlight should be set every 15 seconds so i added timer, but still nothing. Can't find any bug report for this.
    In depreciated list there is similar function com.nokia.mid.ui.DeviceControl.flashLights but nothing about setlight..

    Any ideas how to keep light on, or even better how to select brightness ?
    Regards

  2. #2
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: DeviceControl.setLights on 6670

    Hi,

    6610 nokia is a series 40 phone and so com.nokia.mid.ui.DeviceControl.flashLights should work. Whereas AFAIK this is not present in the 60 series phones. 6670 is a 60 series phone and so it won't work.

    Have to tried the default javax display backlight in midp2.0.
    javax.microedition.lcdui.Display.flashBacklight(int duration). please read the midp2.0 api specs for more details


    regards,
    Wang

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: DeviceControl.setLights on 6670

    Hi Wang,

    Nokia 6670 does have Nokia UI API, so com.nokia.mid.ui.DeviceControl.flashLights should work as javax.microedition.lcdui.Display.flashBacklight(int duration), but light behavior is somewhat inconsistent, AFAIK.

    See the 6670 specs - http://www.forum.nokia.com/main/0,,0...tml?model=6670

    BR,

    Juarez Junior

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    2

    Re: DeviceControl.setLights on 6670

    Exacly, there is no word in documentation that this isn't working.
    But it simply ignored, i wrote program that allows to read text documents packed in jar, and it was working perfect with 6610, but now, it's no use, after few seconds light is dimishing, have press a key to make it back, unusable during night...flashing ligts is too dangerous to eyes.

  5. #5
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    90

    Re: DeviceControl.setLights on 6670

    It has never worked on S60, and it has not been fixed for the latest 3rd edition devices, even though it would have been trivial. I assume this is because they are depreciating these extensions. So the real fault is with J2ME, which has no provision for this basic functionality. Yet we're drowned in a steady stream of JSR's addressing coolness at the expense of solid base level support.

Similar Threads

  1. 6670 viewfinder performance problem
    By dc-huang in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2005-07-21, 06:10
  2. 6670 viewfinder performance problem
    By dc-huang in forum Symbian
    Replies: 0
    Last Post: 2005-07-21, 04:50
  3. 6670 bluetooth modem help
    By kolombino in forum Bluetooth Technology
    Replies: 0
    Last Post: 2005-03-22, 05:14
  4. 6670 Bluetooth/RFCOMM problem: program exits without any exceptions
    By fah@daimi.au.dk in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2004-12-09, 09:01
  5. FM Radio in 6670
    By sengfoo in forum General Development Questions
    Replies: 1
    Last Post: 2004-11-19, 15:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×