Use just JavaME or BlackBerry JDE

Hi all, I have this simple doubt, im begins with the programming of blackberry, I already checked the docs of blackberry and examples, got the eclipse plugin and I like the API and everything,
but I wonder how you can do just with javeME, maybe in this way he would be transferred to other devices.

So my question is how much can be done for blackberry comes with javaME?
You can access the network? bluetoth, mail, etc. and portable with other devices.

Thanks, Eduardo.

Most JavaME/J2ME phone are Bluetooth, network connections, audio, etc.

There are many classes that are specific to the BlackBerry that you simply cannot do with just J2ME/JavaME without recreating the code yourself or find libraries do.

If you want to develop for multiple platforms, I would say you should find as J2ME classes, that you can use and if and only if you need a BlackBerry specific class, then you should use it.

This should get you most portability.

* Note: In some cases, you can not mix and match the two a bit of elbow grease. **

Tags: BlackBerry Developers

Similar Questions

  • How do you see the System.out.println (without using Eclipse and BlackBerry JDE)

    Hi all

    I just want to know if there is no solution to see System.out.println.

    I use neither Eclipse nor BlackBerry JDE for my development.

    I have my jar, jad files. I convert my jar file using the CAP tool. The .cod files are generated.

    I start the trainer. Now I have 2 windows: Windows Simulor and the output (see picture).

    Then I load my .cod files. But I see not all System.out.println ("...") in the output windows.

    How can I see these System.out.println ("...")?

    Please help me.

    Thank you all.

    Thanks for your help.

    I try your solution EventLogger.

    But I have another problem:

    My request is not a native application (it is a midlet in J2ME, not a UIApplication). Do you think that it will work with EventLogger?

    How can I make a registry for EventLogger:

    static boolean register(long guid, String name) 
    Registers the name and the guid of the calling application.
    static boolean register(long guid, String name, int viewerType) 
  • BlackBerry JDE

    Hello

    I just installed the Blackberry JDE 6 and JDK (newest).

    After installation, it ran very well, so I closed the JDE and attempted to reopen it, it gives me the error message

    Cannot find RIMIDEWin32Util.dll. It is a prerequisite of the IDE.

    I HAV changed something that's directly after installation!

    Thank you

    In my setup, the RIMIDEWin32Util.dll file is here:

    C:\Program search in Motion\BlackBerry JDE 6.0.0\bin

    If you are running on Win 7, it could be a permissions problem.  Search the forum for Threads of installation of Win 7.  Most of them are in Eclipse, but you may get advice on things that can go wrong.

  • How do I use a different version of the BlackBerry JDE?

    Hello

    I installed BlackBerry JDE version 4.5 to 6.0.

    How can I find out the current version used to Eclipse?

    I also try to change using the JDE follosing version this article, http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_To_-_Confi...

    But there is no such ide.bat under the directory.

    Thank you.

    Under your project directory, there is a JRE System Library. Right-click on it and select Properties. After that, I think you know what to do.

    I hope this helps.

  • PC configuration to use BlackBerry JDE v4.7

    I'll expand BlackBerry Connect via BlackBerry JDE. Someone could give me an opinion on PC hardware configuration required to use BB JDE v4.7, as the speed of the CPU and the size of RAM?

    Thanks in advance.

    Hello, Victor.

    Configuration you provided will be enough to create applications of BB with JDE 4.7

    It's ok and it will work.

  • How to change the icon of the Application on Blackberry JDE 6

    Hi, do someone know how to change the icon of the application of the project, we have created in the JDE? I searched the forum, and suggestions should go to the project properties, go to the "resources" tab and add the icon file. I have also included the file icon (PNG 68x68pixel) to the project.
    But this does not seem to work for me.
    I also tried to build clean, remove files jad and others, always not when I tried the app Simulator or on real device. Any help will be appreciated.
    I use Blackberry JDE 6, test the application on the actual device (9800), Simulator (9700). And the app that I'm testing is just a pushscreen simple helloWorld app, not a lot of code here. Thank you.

    Here's how to put the icon in BlackBerry JDE.

    1. Add the image to your project.
    2. Right-click on the image and choose Properties.
    3. Check "use as icon for the Application.
    4. Rebuild the application.
  • trouble setting up Blackberry JDE and the JDE plugin Eclipse

    Can someone please tell me what I'm doing wrong here? I just downloaded blackberry JDE, tried to launch an example helloworld app that came with the IDE, but it keeps displaying error in the building.

    Then I tried to use the blackberry with eclipse plug-in. I downloaded the eclipse IDE, installed the plugin on the same folder as the eclipse IDE, and then when I click the icon blackberry on the eclipse toolbar, it asks me a key sigature... of course there must be something I am doing wrong.

    I tried some of the materials and videos on the site but you can't always find my way through...

    Would be happy if someone could take me through the steps. Thank you!

    Rex007 wrote:
    Watch "install signature keys...". "I also see the"request for signatures"and"Manage workspace for blackberry", but it seems that I won't be able to click on one of them, until I do something about signing keys 'install '.

    No, don't worry about the "install key Signature...". "That will not matter until you want to run on a real device.  The "configure BlackBerry Workspace' is grayed out until you have a BlackBerry workspace to configure.  Yes, a bit strange, but that's the way it works.

    To do this, you will need to either import a file from workspace BB existing (.jdw) or a file existing project BB (.jdp), or to build a new BB project from scratch. You build a new project of BB with file-> New-> project, which opens a new project dialog box, and then select BlackBerry-> BlackBerry project and run the new project wizard.  But you probably just want to import the demonstration project you are trying to build.

  • Import in Blackberry JDE J2ME Application

    Hello

    I wrote a J2ME application using CLDC1.1 and Midp 2.1 in Java (TM) ME Platform SDK 3.0, now how can import this project in Blackberry JDE 4.7.

    I tried a lot of things, but I don't get how to import it in Blackberry JDE 4.7. Please suggest me in this regard

    What have you tried?

    I thought you just create a project, then add all the sources for this project?

  • How to get a handle to the window to screen using just group id and the id of the window?

    Hello

    We are trying to develop a video application, and we use ForeignWindowControl to display the video on the screen.

    We have those ForeignWindowControl declared and defined in a QML file that appears as needed.

    Using the CameraAPI, we are able to get local video displayed correctly on the local video ForiegnWindowControl. For this we have just the window group id and the id of the window api camera and it automatically configures the window newly created by the camera to the position API and the size defined in the QML file.

    However, this is isn't the case with the video remotely. Since there is no method/function similar to the createViewFinder of the camera api, we need to create a new window of ourselves that goes under the Group shared by the ForeignWindowControl remotely, using screen_create_window_type and set all the required parameters.

    To view the video, hard-code manually the position and size of the newly created window so that it corresponds to the position and the size of ForeignWindowControl remote in QML file and is displayed correctly.

    My question is how to find the ForeignWindowControl using just the group id and the id of the window? the way in which the cameraAPi done in-house?

    Any help would be appreciated.

    Thank you.

    There are 3 ways to associate a window with a ForeignWindowControl.

    1 tell the ForeignWindowControl to expect a window with a given windowId.  Then after that libscreen allows you to create your window with the same windowId, use screen_join_window_group() to adhere to the same group that uses the FWC.  The FWC should automatically capture this event and associate the window itself.  This is how the camera it.

    2. call the bindToWindow() of the ForeignWindowControl method to associate the FWC a particular windowId/groupId.  Similar to the #1, but doesn't seem more useful if you create the FWC after the window of the screen has been created.

    3. call the setWindowHandle() of the ForeignWindowControl method.  Similar to the #2, but instead of using windowId/groupId, you spend just the actual handle.

    See the FWC docs:

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__foreignwindowcontrol.html

    If you have created the window, you can use one of the 3 approaches.  If the window has been created in a different process (eg. mm-engine rendering, or photo-service device), then generally #1 is the approach you would use.

    See you soon,.

    Sean

  • How to write a program that allows an HTTPs connection to the APACHE TOMCAT server in blackberry JDE

    Hello.. I am very new to the blackberry JDE environment. But then, I have a project in which I should write a program that will make an HTTPs connection to the apache tomcat server using blackberry JDE. The simulator which I use is 8330-JDE.

    Here is my code...

    import java.io.IOException;

    Import java.io.InputStream;

    Import javax.microedition.io.Connector;

    Import javax.microedition.io.HttpsConnection;

    Import net.rim.device.api.ui.UiApplication;

    Import net.rim.device.api.ui.container.MainScreen;

    public class Httproto extends UiApplication

    {

    public public static void main (String [] args)

    {

    Httproto instance = new Httproto();

    instance.enterEventDispatcher ();

    }

    public Httproto()

    {

    pushScreen (new HttpsConnectionScreen());

    }

    }

    final class HttpsConnectionScreen extends screen

    {

    public HttpsConnectionScreen()

    {

    HttpsConnection c = null;

    InputStream is = null;

    int rc;

    try {String url =

    "https://192.168.2.3: 8443/cit/j_acegi_security_check? j_username = sanogo & j_password = redhat;

    c = (HttpsConnection) Connector.open (url);

    c.setRequestMethod (HttpsConnection.POST);

    System.out.println ("connection is open with the server");

    Get the response code is open the connection,

    Send the request and read HTTP response headers.

    The headers are stored until asked.

    RC = c.getResponseCode ();

    System.out.println ("response from the server" + rc);

    if (rc! = HttpsConnection.HTTP_OK) {

    throw new IOException ("HTTP response code:" + rc);

    }

    is = c.openInputStream ();

    Get the ContentType

    The string of type = c.getType ();

    The length and process data

    int len = (int) c.getLength ();

    if (len > 0) {

    int actual = 0;

    int BytesRead = 0;

    byte data = new byte[len]; while ((bytesread! = len) & (real! = - 1)) {

    real = is.read (data, bytesread, len - bytesread);

    bytesRead += real;

    }

    } else {}

    int ch;

    while ((ch = is.read (())! = - 1). {

    }

    }

    } catch (ClassCastException e) { throw new IllegalArgumentException ("not a HTTP URL");}

    }

    catch (IOException ioe) {}

    finally {

    Try

    {

    if (is! = null)

    is. Close();

    if (c! = null)

    c.Close ();

    }

    catch (IOException ioe) {}

    }

    }

    }

    When I run this program in the Simulator, I can do nothing. Please correct me if I'm wrong in coding.

    As I am new to this blackberry JDE environment, ideas and suggestions on how to write and run the sample applications in the blackberry are more welcomed.

    Concerning

    Hinduja

    Make sure that your MDS starts when the Simulator starts.  In the JDE will in Edition > Preferences > Simulator > General and click the checkbox "launch Mobile Data System connection with Simulator Service.

  • Full duplex to BlackBerry JDE 4.7

    Hello

    I know that his duplex (play and record at the same time) is not supported in BlackBerry JDE 4.6.

    I saw the article - "not sure I have it is a bug or a feature. We use two players: one for record, another for reading ', but I couldn't find the solution.

    Does anyone know how to implement the application with the duplex sound?

    Alternatively, the BlackBerry JDE 4.7 does support duplex sound?

    Thank you.

    Best regards, Ricos.

    Yes. It is possible. Play and record on two separate applications. Oh, make basic applications.

  • Device = BlackBerry software? Blackberry JDE version?

    Hey there everyone, I'm rather new in java programming on blackberry, and I feel like there is a mistake of very basic communication between me and my program.

    I am writing a small program to my blackberry a short work for me, but I don't know if it'll work on my older curve blackberry.

    I use Netbeans 6.8 and added the Blackberry JDE 6.0.0 as a custom Java ME platform.  So my question is:

    How can I make sure that the classes and methods of the JDE 6.0.0 will work on my long-since-updated Blackberry 8330 m, which has a software system 4.5.0.186 (Platform 3.2.0.59).  Is there something in the classes and methods that would make me look out?  I should rather check all my imports and the method calls against http://www.blackberry.com/developers/docs/4.5.0api/index.html ?

    Indeed, how can ensure me that I can use with BB, which are even older?

    the JDE version must be equal to or lower than the version of the BB OS. If for example on a device running 4.5.0, you can use 4.5.0, JDE 4.3.0 4.2.1 etc., descendant of the version of the device

  • Add a notification icon in the status bar in Blackberry JDE 4.5.0

    Hi all

    I write a java application in Blackberry JDE 4.5, which will begin to listen to some event during startup. I want to display a small icon in the status bar

    I know that his support in version 4.6.0 of the BlackBerry API set of classes ApplicationIcon, ApplicationIndicator and ApplicationIndicatorRegistry but what classes exist in the set of API BlackBerry JDE 4.5.0?

    I think that some support is there for 4.5.0 as I m using Blackberry Pearl 8100 with OS v4.5.0.81 which displays Notification icons in the toolbar State for incoming messages or calls.

    Hi shreyasb,

    I don't think that there is an API for this for 4.5 and below. Your Pearl 8100 with OS 4.5 can display the icon notification such as incoming messages and calls because they were developed using the internal API of RIM which are not exposed to third-party developers.

  • SDK for BlackBerry JDE 4.3.0

    Can someone give me the download link for the SDK BlackBerry JDE 4.3.0

    I had searched and tried many links on the same and I could not able to download the SDK (not available).

    Thank you

    -A

    In order to develop for 4.3, you will need to use the legacy JDE, which you can find here:

    http://us.BlackBerry.com/developers/javaappdev/javadevenv.jsp

  • How to run SQLite on Blackberry JDE 5.0... ? Simulator of

    Hai,

    How to run SQLite on Blackberry JDE 5.0... ?

    Is it really need all jde settings? for sqlite running applications?

    I use the source-

    class InnerClassScreen extends form {}
         
    sqliteDB public database;
    public InnerClassScreen() {}
                
    LabelField title = new LabelField ("Create DB application",
    LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
    setTitle (title);
    Add (new RichTextField ("initialize db create process..."));
                
    try {}
    URI uri = URI.create)
    "file:///SDCard/Databases/database1.db");
    sqliteDB = DatabaseFactory.create (uri);
    Add (new RichTextField)
    (("Status: database was created successfully."));
    } catch (Exception e) {}
    System.out.println (e.getMessage ());
    Add (new RichTextField)
    (("Status: database has not been created."));
    Add (new RichTextField (e.getMessage ()));
    e.printStackTrace ();
    }
    }
    }

    Unfortunately had the exception-

    net.rim.device.api.database.DatabasePathException: invalid path name. Path does not contains a list of appropriate root. See class FileSystemRegistry for more details.

    Hello
    In your eclipse go to debug configurations in select tab Simulator, in memory of Simulator tab selection in this last use system files from the pc to SDCard policy file box to check this and give some trail (IE any path of the folder) this directory is worked as a SD card in your Simulator...

    Thank you...

Maybe you are looking for