×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    33

    Question how to set theme use lwuıt ?

    hi ı want to set theme my mobile app. with lwuıt.I download a theme from a web page.Bu where ı must put the theme in my solition.And how is the code for set theme?

    I hope everybody understand what ı try to tell.....

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: how to set theme use lwuıt ?

    Quote Originally Posted by goktoure View Post
    hi ı want to set theme my mobile app. with lwuıt.I download a theme from a web page.Bu where ı must put the theme in my solition.And how is the code for set theme?

    I hope everybody understand what ı try to tell.....
    If you are using LWUIT, you need to use it with or open with LWUIT Resource editor and make an application resource res file.
    This can be loaded by UIManager.loadTheme(Input Stream)

    See LWUIT demo src code for more info.
    Thanks,
    Ekta

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    33

    Re: how to set theme use lwuıt ?

    ı understood that what u sad

    1-open theme(.res file) which ı download from internet wtih lwuıt resurce editor
    2-And load theme with resource editör

    Do u know a link about this topic.About of Loading theme ?

  4. #4

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    33

    Re: how to set theme use lwuıt ?

    thank u but ı didnt understand one point.After opening theme with lwuıt resource editör how can ı add the theme in my project.ı look all picture but ı didnt see selecting project folders for add theme...

  6. #6
    Registered User
    Join Date
    Dec 2009
    Location
    chennai
    Posts
    137
    Bharath... :)

  7. #7
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: how to set theme use lwuıt ?

    Quote Originally Posted by goktoure View Post
    thank u but ı didnt understand one point.After opening theme with lwuıt resource editör how can ı add the theme in my project.ı look all picture but ı didnt see selecting project folders for add theme...
    You don't need to add them to the project folder, just save them as res files and copy them in your project resource folders.
    Then in you code, load this res theme file as resource and set it on UIManger using UIManager.getTheme();
    Thanks,
    Ekta

Similar Threads

  1. Set a theme in ovi client directly
    By phasmida in forum [Closed] Publishing to Nokia Store
    Replies: 1
    Last Post: 2009-10-20, 23:36
  2. Set theme with J2ME on S40 - possible?
    By magicdave in forum Mobile Java General
    Replies: 2
    Last Post: 2008-11-11, 16:36
  3. Replies: 1
    Last Post: 2007-12-15, 11:16
  4. set label color according to the theme
    By deepthis in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-09-24, 15:35
  5. How to set Wallpaper as Theme Background ?
    By A Cloud in forum Streaming and Video
    Replies: 0
    Last Post: 2007-06-22, 02:32

Posting Permissions

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