×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    17

    Proble with a gauge into an Alert

    Hi, I'm trying to put a Gauge into an Alert and set it to a value. On emulator it work fine but on the phone it not show the value but only ghe Alert and Gauge set to 0.
    Im trying it on Nokia n70.

    Code:
    Alert a = new Alert("Time");
    Gauge g= new Gauge(null,false,100,50);
    g.setValue(50);
    a.setIndicator(g);
    a.setTimeout(500);
    display.setCurrent(a);
    Thanks

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Proble with a gauge into an Alert

    Hello zidia,

    setValue() method doesn't seem to work with S60 2nd Edition phones (N70 is a S60 2nd Edition, Feature Pack 3 phone).

    Check the following Known Issue at Forum Nokia Wiki:

    http://wiki.forum.nokia.com/index.ph...ress_indicator

    Regards,
    r2j7

Similar Threads

  1. Alert confusion
    By Peanuts1971 in forum Mobile Java General
    Replies: 2
    Last Post: 2007-05-29, 04:40
  2. Alert problem
    By antonio5982 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-05-15, 02:51
  3. doubt regarding alert codes
    By swroop in forum OMA DM/DS/CP
    Replies: 5
    Last Post: 2006-08-10, 10:16
  4. Alert Class
    By shadid in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-11-19, 14:45
  5. Using the Gauge
    By newmania in forum Mobile Java General
    Replies: 1
    Last Post: 2003-04-08, 12:26

Posting Permissions

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