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.

BlackBerryCanvas.java
BlackBerryImplementation.java
BlackBerryTouchImplementation.java
BlackBerryTouchSupport.java
BlackBerryVirtualKeyboard.java
MMAPIPlayer.java
ImplementationFactory.java

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

7 comments:

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

    Thanks.

    ReplyDelete
  2. 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.

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

    ReplyDelete
  4. 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?

    ReplyDelete
  5. Master OF J2ME's pls solve this problem........

    ????????????????????

    hellow......sir......

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

    import java.io.*;
    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");
    form.addCommand(exit);
    form.addCommand(read);
    form.setCommandListener(this);
    }

    public void startApp(){
    display.setCurrent(form);
    }

    public void pauseApp(){}

    public void destroyApp(boolean unconditional){
    notifyDestroyed();
    }

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

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

    ReplyDelete