×

Discussion Board

Results 1 to 5 of 5

Thread: LWUIT Themes

  1. #1
    Regular Contributor
    Join Date
    Jul 2010
    Posts
    178

    LWUIT Themes

    Hi
    I have to use different Themes for S40 ,S60 and Blackberry.
    If i am selected a S40 then the application look and feel for S40 should done
    and also for S60 and Blackberry

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: LWUIT Themes

    You should search the web before you post the question, this theme is the most important part of the LWUIT and hence is easy to accessible on the web. Click here for the details.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,085

    Re: LWUIT Themes

    Quote Originally Posted by senthil_25 View Post
    Hi
    I have to use different Themes for S40 ,S60 and Blackberry.
    If i am selected a S40 then the application look and feel for S40 should done
    and also for S60 and Blackberry
    You can create multiple theme .res files, keep them somewhere on a public server and when the application launched on the device for the first time - detect the platform and download the matching theme.res file and use it.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  4. #4
    Regular Contributor
    Join Date
    Jul 2010
    Posts
    178

    Re: LWUIT Themes

    Hi
    Thanks for reply.
    How to detect the platform?
    Please help me.

  5. #5
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: LWUIT Themes

    Quote Originally Posted by senthil_25 View Post
    Hi
    Thanks for reply.
    How to detect the platform?
    Please help me.
    AFAIK, will tell you about the Nokia devices platform, to get the details you can use the System properties.
    System.getProperty("microedition.platform"); which when gets calles returns Nokia MODEL_NUMBER “/” SW_VERSION. the same you will find in the doc

    "The name of the host platform or device. In Nokia devices the name consists of “Nokia”, the device model, and software version separated by “/”. There is no space between “Nokia” and the model number nor on either side of “/”. Formally, the syntax of the platform string is: Nokia MODEL_NUMBER “/” SW_VERSION. For example, Nokia6310i/4.42 or Nokia3510i/p1.25"


    All the other properties can bo found here
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. LWUIT
    By ramcsdp07 in forum Mobile Java General
    Replies: 1
    Last Post: 2010-05-10, 19:01
  2. LWUIT
    By ramcsdp07 in forum Mobile Java General
    Replies: 3
    Last Post: 2010-05-07, 15:44
  3. LWUIT help me please
    By Arunesh in forum Mobile Java General
    Replies: 0
    Last Post: 2009-09-08, 12:09
  4. lwuit
    By mahesh_aquarius in forum Mobile Java General
    Replies: 8
    Last Post: 2009-02-20, 13:03
  5. LWUIT help
    By sendal in forum Mobile Java General
    Replies: 1
    Last Post: 2008-10-20, 04: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
  •  
×