Thursday, May 3, 2012

Removing BlackBerry Port From LWUIT

Dear LWUIT developers,

We have an important notice for you. As of May 3rd, we are removing the BlackBerry port and BlackBerry support code from LWUIT's main source trunk and binary file.

We tried hard to resolve third-party licensing issues related to the port, but after months without progress we decided to remove the BlackBerry port from the main trunk and relocate it in LWUIT's incubator source trunk.

Note: We will update you when the BlackBerry port is live.

Here are the details.

1. We are removing the directory Ports/RIM and its subfolders. The subfolder includes IO_RIM and UI_RIM, which contains the following files.

2. We are removing BlackBerry themes from the Resource Editor.

We acknowledge that this change impacts some of you who chose LWUIT because of its multi-platform support. We apologize for any such inconvenience.

Be assured that the Blackberry functionality will soon be available from its new home in the LWUIT incubator source trunk. Watch this blog for further notice.

- LWUIT Team


  1. Hi. I'm tryign to contact Shai Almog. Will it be possible for him to contact me at martin -at-


  2. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

    Blackberry Repair I Blackberry Screen Repair

  3. Hi Please let us know whether you continue support the blackberry port!! Because we had a issue in our blackberry port and i would like to know if there any solution for that. Issue is, lwuit form is not scrolling up when i click on a textbox. Textbox is hided below the virtual keyboard when it is pops up in blackberry 4.7.

  4. Thanks for all tutorials, which were posted previous. Keep the GREAT work!

  5. I'm trying to show a digital clock (like in UC Browser and Opera mini) within my LWUIT app so that the user won't have to quit the app to check the time. The issue is getting the device time and showing it, either on the soft button bar or form title. LWUIT has UNBELIEAVABLY OVERLOOKED this functionality leading to a somewhat POOR USER EXPERIENCE which beats the purpose of its use. So far, trying to achieve this is like trying to leap into space from the diving board of my backyard pool. Any help?

  6. Master OF J2ME's pls solve this problem........



    i build j2me application for reading text file.......
    it runs on emulator but when i deployed it on device it does not
    why this is ....happening.....
    my mobile is Nokia 3110C

    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;

    public class ReadFile extends MIDlet implements CommandListener{
    private Display display;
    private Form form;
    private Command read, exit;
    private Alert alert;

    public ReadFile(){
    display = Display.getDisplay(this);
    read = new Command("Read", Command.SCREEN, 1);
    exit = new Command("Exit", Command.EXIT, 1);
    form = new Form("Read File");

    public void startApp(){

    public void pauseApp(){}

    public void destroyApp(boolean unconditional){

    public void commandAction(Command c, Displayable s){
    String label = c.getLabel();
    if (label.equals("Read")){
    String string = null;
    try {
    string = file();
    } catch (UnsupportedEncodingException ex) {
    if (string != null){
    alert = new Alert("Reading", string, null, null);
    display.setCurrent(alert, form);
    } else if (label.equals("Exit")){

    private String file() throws UnsupportedEncodingException{
    InputStream is = getClass().getResourceAsStream("/data/aardvark.txt");
    InputStreamReader isr=new InputStreamReader(is,"Unicode");
    StringBuffer sb = new StringBuffer();
    int chars, i = 0;
    while ((chars = != -1){
    sb.append((char) chars);
    return sb.toString();
    }catch (Exception e){}
    return null;