Discussion Board

Results 1 to 2 of 2

Thread: Nokia 6301b

  1. #1
    Registered User
    Join Date
    Apr 2010

    Nokia 6301b

    The following code sets the two boolean values to false - it seems my phone cannot vibrate or have a flashing screen.
    I somewhat believe the code, but i have doubts because although setting the ringer profile to vibrate does not cause the phone to vibrate, it does cause the screen backlight to flash on and off while an incoming call comes through. Why am I unable to replicate the flashing screen with the flashBacklight method from the javax.microedition.lcdui.* namespace? Something tells me there is something wrong with the code.
    Nokia 6301b / s40 / v05.88 firmware.

    bool hasVibe = true;
    bool hasFlash = true;
    hasVibe = Display.getdisplay(this).vibrate(5000);
    hasFlash = Display.getdisplay(this).flashBacklight(5000);
    if (!hasVibe) {
     form.append("No vibrate support");
    if (!hasFlash) {
     form.append("No flashing screen support");
    Your help is appreciated.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Noida, India

    Re: Nokia 6301b

    If you feel that that MIDP display.Vibrate() and display.flashbacklight() doesn't work, they the methods available in Nokia UI API, which supported on this device.

    com.nokia.mid.sound Provides an API for simple audio capabilities
    com.nokia.mid.ui Contains some graphics-related extensions for MIDP low-level UI APIs, such as Graphics and Canvas.


Similar Threads

  1. which phones for laptop
    By dvdljns in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2006-02-14, 12:58
  2. Infra-red capability
    By Symbian_Challenge_0412 in forum General Development Questions
    Replies: 1
    Last Post: 2005-08-16, 18:24
  3. Nokia Mobile VPN Client
    By marcyl in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-12-01, 14:47

Posting Permissions

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