Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User Rahul More's Avatar
    Join Date
    Dec 2012
    Location
    Mumbai, Maharashtra, India
    Posts
    79
    My doubt is I building an **J2ME location based application as a my final year project** which is totally built using J2ME API like high level UI (Form) and low level UI (Canvas). Now i want to use the LWUIT API's to make few changes in high level UI and implement **autocomplete functionality to textfield to select desired place name by user according he/she type** which am not able to do it.
    "To Places autocomplete I am using **Google Place API - Places Autocomplete feature**"

    Is it possible to combine both LCDUI and LWUIT components together?
    i.e. use both LWUIT and Canvas together in an application?

    I am already created my whole design in LCDUI; because of autocomplete functionality I can't re-create my entire design to LWUIT.
    Last edited by Rahul More; 2013-02-18 at 17:19.

  2. #2
    Registered User harsha921's Avatar
    Join Date
    May 2012
    Location
    Hyderabad,AP,India.
    Posts
    60
    Hi,

    Yes you can combine both in single application.

    You can display lcdui elements using: javax.microedition.lcdui.Display.getDisplay(midletObj).setCurrent(lcduiComponent);

    and to switch back from lcdui to lwuit use: com.sun.lwuit.Display.init(midletObj);

    hope this helps....
    Regards,
    Harsha

  3. #3
    Registered User Rahul More's Avatar
    Join Date
    Dec 2012
    Location
    Mumbai, Maharashtra, India
    Posts
    79
    Quote Originally Posted by harsha921 View Post
    Hi,

    Yes you can combine both in single application.

    You can display lcdui elements using: javax.microedition.lcdui.Display.getDisplay(midletObj).setCurrent(lcduiComponent);

    and to switch back from lcdui to lwuit use: com.sun.lwuit.Display.init(midletObj);

    hope this helps....
    I want to display LWUIT controls in LCDUI. What you said in reply is totally vice a versa...

Similar Threads

  1. How to append LWUIT List screen to a LWUIT Form in j2me?
    By pavanragi in forum Mobile Java General
    Replies: 1
    Last Post: 2012-08-06, 07:01
  2. JavaME/LWUIT/Blackberry - how to get lcdui's Display in RIMlet?
    By azakharo in forum Mobile Java General
    Replies: 7
    Last Post: 2012-01-19, 06:28
  3. Replies: 0
    Last Post: 2011-08-25, 05:35
  4. Translate from LCDUI form to LWUIT UI Form
    By debasish_cse05 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2011-02-02, 11:37
  5. LCDUI Alert on an LWUIT Form
    By slugger_2003 in forum Mobile Java General
    Replies: 0
    Last Post: 2010-04-18, 13:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved