×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor
    Join Date
    Dec 2012
    Location
    Indonesia,DKI Jakarta
    Posts
    87

    Question How to create UI like whatsapp on s40

    Hello

    I want to make an application chat for s40, the first step is creating UI. I want the UI look like whatsapp, it nice UI. My question is, Does whatsapp use UI framework like lwuit to create UI?? or they draw manually and use lcdui??.



    Best Regards,

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

    Re: How to create UI like whatsapp on s40

    I would recommend you to use LWUIT for it, as it will save you lot of device porting effort as compared to drawing manually directly on Canvas and it will lot more faster to build also.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: How to create UI like whatsapp on s40

    Hi Muhamad

    Whatsup uses canvas/lcdui, not lwuit. As it runs in very simple devices, I believe lwuit was not an option (big/heavy).

    But I think Amitabh is pointing the faster direction: to reuse some nice library like lwuit or even to use standard items over a Form (my additional tip).
    You can create some CustomItem inside a standard Form, with minimal efforts for creating some customized view and reusing all control that a Form already has (kinetic scrolling, for instance).

    Marcelo Barros

  4. #4
    Regular Contributor
    Join Date
    Dec 2012
    Location
    Indonesia,DKI Jakarta
    Posts
    87

    Re: How to create UI like whatsapp on s40

    Quote Originally Posted by im2amit View Post
    I would recommend you to use LWUIT for it, as it will save you lot of device porting effort as compared to drawing manually directly on Canvas and it will lot more faster to build also.
    Hai, im2amit

    Thank you for your reply, yes the first i thought i would use lwuit, but after reading article about lwuit, lwuit is hybrid so it has a problem with performance. But it faster for devopment and porting. Correct me if i was wrong.

  5. #5
    Regular Contributor
    Join Date
    Dec 2012
    Location
    Indonesia,DKI Jakarta
    Posts
    87

    Re: How to create UI like whatsapp on s40

    Quote Originally Posted by marcelobarrosalmeida View Post
    Hi Muhamad

    Whatsup uses canvas/lcdui, not lwuit. As it runs in very simple devices, I believe lwuit was not an option (big/heavy).

    But I think Amitabh is pointing the faster direction: to reuse some nice library like lwuit or even to use standard items over a Form (my additional tip).
    You can create some CustomItem inside a standard Form, with minimal efforts for creating some customized view and reusing all control that a Form already has (kinetic scrolling, for instance).

    Marcelo Barros
    Hi Marcelo

    Thank you for the reply. So your recommendation, i have to use lcdui??. Because i saw a lot of customize UI in whatsapp for nokia. and the UI is lightweight but if i use lwuit it heavy. Correct me if i was wrong.


    Regards Iqbal

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

    Re: How to create UI like whatsapp on s40

    LWUIT is hybrid - for programmers it look high-level LCDUI but it is based on Canvas, it provides good support of themes, localization and portability and fast/easy bug free programming.

    Now days new S40 devices are getting better and faster... almost matching or at times better in performance then many entry level smartphones from other OEM's... and your app will able for perform good on Nokia S40 / S60 and even other OEM's java/j2me supporting devices....!

    You can build your app using high-level forms from LCDUI without using Canvas and without converting everything on the screen into custom items.... then go for it..... but if your UI look&feel need usage of full-Canvas.... I will still recommend some UI library like LWUIT... which is tried and tested.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  7. #7
    Regular Contributor
    Join Date
    Dec 2012
    Location
    Indonesia,DKI Jakarta
    Posts
    87

    Re: How to create UI like whatsapp on s40

    Amithab, Which one is better LWUIT or J2me Polish??

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

    Re: How to create UI like whatsapp on s40

    As per my personal preference - I like LWUIT more.... and you get all the help needed from the forums and LWUIT blogs.
    I found them (LWUIT team) very helpful when I was working on my first project using LWUIT around 2009.

    Its open source and all J2me, if needed you can always go deeper inside the LWUIT open source code base.. identify the issues and create your own work around (something very specific to your needs) if you don't get anything on the net (which is not possible as It is matured a lot in last 4~5 years now).
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  9. #9
    Regular Contributor
    Join Date
    Dec 2012
    Location
    Indonesia,DKI Jakarta
    Posts
    87

    Re: How to create UI like whatsapp on s40

    Amitabh you said to me that LWUIT based on canvas, i download the LWUIT code, and there is no code extends canvas??.

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

    Re: How to create UI like whatsapp on s40

    Quote Originally Posted by muhamad.iqbal View Post
    Amitabh you said to me that LWUIT based on canvas, i download the LWUIT code, and there is no code extends canvas??.
    LWUIT source code - serach <CanvasImplementation.java>

    Refer to LWUIT datasheet - Page 1 bottom
    http://www.oracle.com/us/technologie...eet-167821.pdf

    "Programming with the LWUIT APIs
    LWUIT allows the display of any collection of user interface controls, in a presentation ORACLE DATA SHEET
    2
    analogous to the LCDUI forms mechanism in MIDP. However, unlike LCDUI, all rendering
    is done on a MIDP canvas to ensure wide portability"
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  11. #11
    Regular Contributor
    Join Date
    Dec 2012
    Location
    Indonesia,DKI Jakarta
    Posts
    87

    Re: How to create UI like whatsapp on s40

    Okay, Amitabh i'll check the code. Can you give me information, What is the application that used LWUIT??.



    Thanks,
    Iqbal

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

    Re: How to create UI like whatsapp on s40

    Quote Originally Posted by muhamad.iqbal View Post
    Okay, Amitabh i'll check the code. Can you give me information, What is the application that used LWUIT??.
    Thanks,
    Iqbal
    I can tell you that I have worked with my team on at least 10 J2me apps using LWUIT for my Customers which range from Startup's to furtune 500 companies in last 5 years (staring with LWUIT beta working along SUN team in Israel)... with many of those taken on board by OEM's the big once - with J2me support on their leading platforms at that time... both is Consumer and B2B space.

    I can't name them due to NDAs.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

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

    Re: How to create UI like whatsapp on s40

    If you are targetting the new Asha range of touch devices - you can use the new textbox on Canvas and Texteditor for you app without depending on any 3rd party UI library or LWUIT... refer to http://www.nokiadeveloperindia.com/a..._Series_40.pdf
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. Replies: 4
    Last Post: 2012-03-05, 15:10
  2. Background application and restoring like WhatsApp with QML
    By Chechesa in forum [Archived] Qt Quick
    Replies: 4
    Last Post: 2012-01-26, 11:08
  3. Replies: 6
    Last Post: 2011-12-30, 06:06
  4. WhatsApp Inc! is looking for a Symbian S60 guru.
    By jankoum in forum News and Announcements
    Replies: 2
    Last Post: 2009-08-30, 10:19
  5. Steps to create SIS. How create .pkg file for petran?
    By BobbyFletcher in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-04-21, 18: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
  •