×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    280

    How to apply theme on lwuit 1.5

    I am working on s40 apps and i want to know how to apply themes already available which i can include in my theme code. I don't know where to get the .res file . And also i want to know how to create themes using resource editor. Where i will get the resource editor and how to use it to make themes.

    best Regards

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: How to apply theme on lwuit 1.5

    what about starting from the documentations

  3. #3
    Registered User
    Join Date
    May 2013
    Posts
    280

    Re: How to apply theme on lwuit 1.5

    hey gaba88
    I already read those but still not getting answer of above.

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: How to apply theme on lwuit 1.5

    Quote Originally Posted by Manpreet_Singh View Post
    hey gaba88
    I already read those but still not getting answer of above.
    Great that your went through the documentation can we know what did you tried and what issues you were facing ??

    Regards,

  5. #5
    Registered User
    Join Date
    May 2013
    Posts
    280

    Re: How to apply theme on lwuit 1.5

    everything i mentioned in my query. I do have the code to apply theme. Where will i find .res file?

  6. #6
    Registered User
    Join Date
    May 2013
    Posts
    12

    Re: How to apply theme on lwuit 1.5

    Load the theme:

    try {
    Resources r = Resources.open("/theme.res");
    UIManager.getInstance().setThemeProps(r.getTheme("Name"));

    } catch (IOException ioe) {
    System.out.println("Couldn't load theme.");
    }

Similar Threads

  1. [moved] please help,how to apply custom transition in lwuit
    By vikranttanwar@ in forum Mobile Java UI and User Experience
    Replies: 1
    Last Post: 2013-07-07, 11:42
  2. can we apply html css to LWUIT Text Area
    By pavanragi in forum Mobile Java General
    Replies: 1
    Last Post: 2012-08-14, 10:29
  3. How to apply listener to LWUIT table
    By rajan701v in forum Mobile Java General
    Replies: 1
    Last Post: 2011-06-28, 14:15
  4. Can't apply theme to the menu :(( pls help
    By Vlady87 in forum Streaming and Video
    Replies: 1
    Last Post: 2006-05-27, 17:28

Posting Permissions

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