×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    8

    Get phone's background image

    Hi

    I want to make a custom component which uses the phone's default/theme's background image, like the J2ME Form & List does.

    Currently I can only get the phone's background color, which does not suit me. Like my Nokia 6500c has a dark background image, but its background color is white - so the default foreground text is barely visible since it's a bright yellow color.

    Any ideas on getting the background image? According to the thread http://discussion.forum.nokia.com/fo...d.php?t=134792 it is not possible, but I would really like to be proven otherwise

    Thank you in advance
    Chris
    Last edited by Pada; 2009-01-20 at 08:16.

  2. #2
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: Get phone's background image

    afaik not possible...

  3. #3
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Get phone's background image

    You can try adding:

    Code:
    Nokia-UI-Enhancement: CanvasHasBackground
    to the Manifest. How many devices support this, and how well, I have no idea. Obviously, this will only work on Nokias, if at all. I don't think it works in full-screen mode.

    Cheers,
    Graham.

  4. #4
    Registered User
    Join Date
    Dec 2008
    Posts
    8

    Re: Get phone's background image

    Thank you very much!

    I've set that value in the manifest, removed the line
    Code:
    getColorSchema().paintBackground(g, false);
    from my paint function...

    and now it is working perfectly with the NetBeans' TableItem, which extends CustomItem!
    It's also working on my own Canvas item too!

    I've tested it on a Nokia 6500c. I'll test it tonight on a Nokia N95 aswell.

  5. #5
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    55

    Re: Get phone's background image

    Quote Originally Posted by Pada View Post
    Thank you very much!

    I've set that value in the manifest, removed the line
    Code:
    getColorSchema().paintBackground(g, false);
    from my paint function...

    and now it is working perfectly with the NetBeans' TableItem, which extends CustomItem!
    It's also working on my own Canvas item too!

    I've tested it on a Nokia 6500c. I'll test it tonight on a Nokia N95 aswell.
    did this work on your N95? I have the N95 8GB, but it doesn't work...
    Added to the manifest, but still white background...

    Thanks in advance!

Similar Threads

  1. RichTextEditor with background image
    By bmmmec in forum Symbian User Interface
    Replies: 5
    Last Post: 2007-10-07, 09:46
  2. Replies: 6
    Last Post: 2007-06-28, 11:22
  3. [ListBox] Change Background Image of ListBox
    By lsword0112 in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-03-31, 08:53
  4. background of image
    By k.sandeep in forum Symbian
    Replies: 1
    Last Post: 2006-03-29, 06:56
  5. Get pixel data from an image object on Nokia phones?
    By inopia in forum Mobile Java General
    Replies: 1
    Last Post: 2002-05-15, 09:27

Posting Permissions

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