×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    12

    Exclamation How to obtain System Colors

    Is there a way to know what color (text color, selection box color, etc) that is currently set on the phone (i.e. theme colors). I want to know, because I am creating a custom canvas and would not want to have a white text in white background and black text in black background. I made the the canvas background transparent so the theme background can be seen by setting this property:
    "Nokia-UI-Enhancement: CanvasHasBackground". this was done to make my app fit in with the phone colors.

    Please help, thank you very much

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: How to obtain System Colors

    Hi markchua_99,

    unfortunately, there is no way to access Themes data from a Java ME application.

    Pit

  3. #3
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: How to obtain System Colors

    Have you check the values returned by Display.getColor() ?

    Hartti

  4. #4
    Registered User
    Join Date
    Apr 2008
    Posts
    12

    Re: How to obtain System Colors

    oh, I forgot about that. Thanks for reminding me.

  5. #5
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: How to obtain System Colors

    Thanks for reminding me too!

    Pit

Similar Threads

  1. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  2. Is there anybody know file system filter in S60_3rd?
    By zhangwei_Nirvana in forum Symbian
    Replies: 5
    Last Post: 2008-04-26, 07:06
  3. HELP !auto-reply sms system (using 8250 & VB6)
    By dancingqueeneng in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2007-02-08, 07:08
  4. Replies: 1
    Last Post: 2006-02-08, 15:22
  5. System Help with nokia pc connectivity SDK
    By gotka in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2004-07-06, 09:56

Posting Permissions

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