Question of JDE 5.0

I'm having a problem with blackberry jde 5.0. Every time I load the program it says loading class information, then the program closes. No idea why this would happen?

too bad I guess I just opened it wrong. It works now

Tags: BlackBerry Developers

Similar Questions

  • Dummy question: add several files to the project to JDE

    Hello

    I try to use JDE (standard single application, not the eclipse plugins).

    I try to search through all the menu of this software and I can't find a way to add many source files in a project. I can only add a single file each time with "add a file to the project feature.

    I create a project in Eclipse plugin with a large amout of source file, and I want to import in to the JDE environment (for testing with the component pack 4.2).

    Is there a good way to do that than to add a single file to add the file to the project feature?

    Thank you

    You can copy the jdp (project) of your plug-in in eclipse. Open it in a text editor (notepad ++ for example) and change the paths for source files, if necessary.

  • Simple question on building projects in the JDE

    I open a few sample tests in the JDE.  When I Isaiah to compile a project, it gives an error "i/o error: cannot run program"javac": CreateProcess = 2 error, the system cannot find the file specified. '.  Can someone explain what I need to do?

    Apppend this to your PATH variable:

    C:\Program Files\Java\jdk1.5.0_18\bin

    That should do the trick.

  • API of OS, JDE and the current storm and a few questions

    Hello.. can someone tell me what is the

    current operating system

    Current blackberry JDE

    and for touchscreen there API and additional details?

    who is the first JDE that supports touch screen.

    Thanks in advance.

    "4.7 is the first that has support for display of taouchs or there is also a precedent?" - 4.7 is the first.

    "If I develop any application on 4.7 while it will be compatible with 4.5?"-No. forwards is supported, not backward.

  • question about Signtool (JDE 4.2.1)

    Hi guys!

    Is it possible to sign my application from command line (like the command line compilation)? I need to do without Signtool UI interaction (without file without typing password selection and etc...).

    I tried this command:

    javaw-jar signaturetool.jar - a - c MyApplication.cod MyApplication.cod

    .. but just run signtool application.  How can I register my application automatically without having to type a password and etc... ? Is this possible?

    I thank in advance.

    Vlad.

    Hi Svat,

    You can use signature of JDE 4.6 tool. It does not affect what id target you BONES for the application.

    Thank you

    Eugen

  • JDE 4.7 CAP question?

    I I have a problem with a JDE 4.7 code signing application and it seems that it is apparent to the CAP JDE 4.7 compiler.

    Basically I modified HelloWorld.java that comes with JDE 4.7 examples to add an API call control (see below for more details). Then, I compiled and generated the jad and jar files. After that, I used the following command line to generate the .cso, .csl and .cod files JDE 4.2 and 4.7 JDE environment respectively with exactly the same file jad and jar file:

    CAP import = net_rim_api.jar = HelloWorldSigning = HelloWorldSigning.jad HelloWorldSigning.jar jad codname

    However, I found that HelloWorldSigning.cso generated under 4.7 environment does not have entry "52525400 = RIM Runtime API" in it compared with that generated under environment 4.2. (The HelloWorldSigning.csl files are the same). As a result, the signed HelloWorldSigning.cod less 4.7 will get "attempts to access a secure API" error loading on devices of the storm, then the HelloWorldSigning.cod signed under 4.2 has no problem. If I manually fix the file cso by adding the missing entry under 4.7, it will solve the problem.

    No idea what's wrong with him?

    PS:

    HelloWorldSigning.csl under 4.2 and 4.7 as follows:

    52525400 = RIM API implementation

    HelloWorldSigning.cso less than 4.7:

    33000000 = RIMAPPSA2
    52424200 = RIM Blackberry Apps API
    52434300 = RIM API Crypto - Certicom
    52434900 = RIM Crypto API - internal
    52435200 = RIM API Crypto - RIM

    HelloWorldSigning.cso minus 4.2:

    3000000 = RIMAPPSA2
    52434300 = RIM API Crypto - Certicom
    52434900 = RIM Crypto API - internal
    52435200 = RIM API Crypto - RIM
    52525400 = RIM API implementation
    52424200 = RIM Blackberry Apps API

    Code source HelloWorld.java:
    /**
    *
    * HelloWorld.java
    * The sentinal sample!
    *
    * Copyright © 1998-2008 Research In Motion Ltd.
    *
    * Note: For simplicity, this sample application cannot operate
    * resource bundles and resource strings.  However, it is STRONGLY recommended
    * that make application developers use available location functions
    in the development platform BlackBerry to ensure uniform application
    * experience in a variety of languages and geographies.  For more information
    * on the location of your application, please refer to the BlackBerry Java Development
    * Environment Development Guide associated with this version.
    */

    package com.rim.samples.device.helloworlddemo;

    Import net.rim.device.api.notification.NotificationsConstants;
    Import net.rim.device.api.notification.NotificationsManager;
    Import net.rim.device.api.ui.UiApplication;
    Import net.rim.device.api.ui.container.MainScreen;
    Import net.rim.device.api.ui.Field;
    Import net.rim.device.api.ui.component.Dialog;
    Import net.rim.device.api.ui.component.LabelField;
    Import net.rim.device.api.ui.component.RichTextField;

    /*
    * BlackBerry applications that provide a user interface must extend
    * UiApplication.
    */
    class HelloWorldDemo extends UiApplication
    {
    /**
    * Entry point for application.
    */
    event object public final static = new Object() {}
    public String toString() {}
    return to "sing";
    }
    };
    Public Shared Sub main (String [] args)
    {
    Create a new instance of the application.
    NotificationsManager.registerSource (0x8f8c19257ffbb06fL, event, NotificationsConstants.CASUAL);
    PAP HelloWorldDemo = new HelloWorldDemo();
           
    To apply to enter the event thread and the beginning of message processing,
    We invoke the enterEventDispatcher() method.
    theApp.enterEventDispatcher ();
    }

    /**
    *

    The default constructor. All RIM user interface components creates and runs a push of the
    screen of the application root in the user interface stack.
    */
    HelloWorldDemo() private
    {
    Push the instance main screen user interface for rendering stack.
    pushScreen (new HelloWorldScreen());
    }
    }

    /**
    Create a new screen that covers the screen, which offers default standard
    * BlackBerry applications behavior.
    */
    / * package * final class HelloWorldScreen extends screen
    {

    /**
    * Manufacturer HelloWorldScreen.
    */
    HelloWorldScreen()
    {
    Add a field to the title area of the screen. We use a simple LabelField
    here. the SELECTION option truncates the text of the label with «...» "If the text
    It is too long for the space available.
    LabelField title = new LabelField ("Hello World Demo", LabelField.ELLIPSIS |) LabelField.USE_ALL_WIDTH);
    setTitle (title);

    Add a text field read-only (RichTextField) on the screen.  The RichTextField
    is active by default.  In this case, we provide a style to make the field
    non-focusable.
    Add (new RichTextField ("Hello World!", Field.NON_FOCUSABLE));
    }

    /**
    * Show a dialog box to the user with "Goodbye!" when the application
    * is closed.
    *
    * @see net.rim.device.api.ui.Screen #close)
    */
    public void close()
    {
    Display a farewell message before closing the application.
    Dialog.Alert ("Goodbye!");
    System.Exit (0);
           
    Super.Close ();
    }
    }

    Mark Merci for the quick reply.

    I have added the work around my build script, it seems to works fine.

  • Questions of performace driver JDBC Type 3 of JDE (interoperability)

    Hi all

    We have a scenario where we need to read the data of the company (JDE E1 (9.0)) of the other java application.
    We thought to read data from JDE E1 Application Java using a driver of connectivity of database using Java (e1jdbc.jar) as described in the guide to interoperability.

    However, we are about to give up this idea because one of the engineer installation of JDE E1 suggested that we could address seriously the performance issue with TYPE 3 driver suggested in the connectivity guide.

    I would like to know if anyone in this forum experienced serious performance with the driver of JDBC Type 3 JDE issues.

    An experienced Java programmer, I'm sure that Type-3 pilots gives great flexibility and quite a point of view as well performance. However, I'm not very experienced with JDE E1 so forum suggestions/input are appreciated.


    NOTE: Both applications are (JDE and Java Applcaiton) still in the development stage (5 more months to go on Production).

    Best regards
    Fitted

    Hi khadija

    The link above works fine for the me... Please try again. You can also search for document 814163.1 on the Support of Oracle.

    In addition, you can download the driver from the site of delivery of Oracle. The file you need is:

    JD Edwards EnterpriseOne 8.98.3 data access driver V20876-01

    It's in JD Edwards EnterpriseOne Tools Update 3 8.98 Media Pack for Microsoft Windows (32-bit). It comes in the form of nominal file that needs to be installed via Server Manager. You might be able to install it on the DEMO by extracting the nominal file and the DADriver_EAR.jar who is that it contains, but I can't guarantee it.

    Dave

  • Custom menu item at the request of Message: two questions

    I try to add a custom menu to the Blackberry message request and get two questions:

    1. When you click the custom menu, the "Application.getApplication () .requestForeground (); method call does not call the main() method of my application "DemoMI".
    2. If I changed the method of

    Application.getApplication () .requestForeground)

    TO

    ApplicationManager.getApplicationManager () .runApplication (app); Where app is the "DemoMI" application descriptor

    Will be called the main() method. However, how can I make the subject of the Message around in the method "run" for the application "com.demo.DemoApp"?  I tried to use a static variable 'mi ContactsDemoMenuItem', but I've always had "null" value when the "main()" is called.

    My environment:

    • JDE: 4.2.0
    • Feature: Pearl 8100 with OS 4.2.0
    import net.rim.device.api.system.*;
    import net.rim.device.api.ui.component.Dialog.*;
    import net.rim.blackberry.api.menuitem.*;
    import net.rim.blackberry.api.pdap.*;
    import javax.microedition.pim.*;
    import net.rim.blackberry.api.mail.Message;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    
    public final class DemoMI extends Application
    {
        private static final String ARG_LAUNCH_CONTACT_DEMO = "1";
        private static  ContactsDemoMenuItem mi;
        public static void main(String[] args)
        {
            if(args == null || args.length == 0)
            {
                DemoMI app = new DemoMI();
                app.enterEventDispatcher();
            }else
            {
                String appToLaunch = args[0];
                if(ARG_LAUNCH_CONTACT_DEMO.equals(appToLaunch))
                {
                   new com.demo.DemoApp(mi.getMessage()).enterEventDispatcher();
                }
            }
        }
    
        DemoMI()
        {
            long locationToAddMenuItem = ApplicationMenuItemRepository.MENUITEM_EMAIL_VIEW ;
            ApplicationMenuItemRepository amir = ApplicationMenuItemRepository.getInstance();
            ApplicationDescriptor app = ApplicationDescriptor.currentApplicationDescriptor();
    
            app = new ApplicationDescriptor(app, new String[]{ARG_LAUNCH_CONTACT_DEMO});
            mi = new ContactsDemoMenuItem(app);
            amir.addMenuItem(locationToAddMenuItem, mi);
            System.exit(0);
        }
    
        private static class ContactsDemoMenuItem extends ApplicationMenuItem
        {
            ApplicationDescriptor app;
            Message msg;
            ContactsDemoMenuItem(ApplicationDescriptor app)
            {
                super(20);
                this.app = app;
            }
    
            public String toString()
            {
                return "My Menu Item";
            }
    
            public Message getMessage()
            {
                return msg;
            }      
    
            public Object run(Object context)
            {
                if ( context instanceof Message )
                {
                    msg = (Message)context;
                    try
                    {
    
                        Application.getApplication.requestForeground();
                        //ApplicationManager.getApplicationManager().runApplication(app);
                    }catch(Exception e)
                    {
                        e.printStackTrace();
                    }
    
                 } else
                 {
                    throw new IllegalStateException( "Context is null, expected a Contact instance");
                 }
                 return null;
            }
        }
    }
    

    What you see is the expected behavior.  The ApplicationMenuItem runs in a different process where your application was run.  You have two options.

    You can store the subject of the Message in the RuntimeStore when the ApplicationMenuItem is called.  Your application you are undertaking could then read the subject of the Message of the RuntimeStore.

    Or you can create an application based on the drawing below:

    How to allow - a listener in the background to detect and update a GUI application
    Article number: DB-00406

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800783/How_To _...

  • What has changed? JDE 4.5 JDE 4.6 versus

    Hello

    Developing an application for the 8310 one using JDE 4.5. Until Friday, everything was a lot and then... Has started getting this error checking of COD. In my original post, someone said that these can usually be attributed to trying to access something API which is not available on the device.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&thread.ID=61077

    My question is though, how back to pasting what it is that you are using is not compatible with the version target device and hance I?

    Thank you

    Schalk

    Hello

    Thank you for your insightful response. In the end, we found that it was not a question of using a call API or class that was the problem but using the. forName() on a class that was not supported on the 8310/JDE 4.5

    Kind regards

    Schalk

  • BlackBerry jde 5 and code through jde

    Hi there, im new to post on the forum but I'm still going through it. Anyway, I have two questions in the hope that they will receive a response. Not sure I have them separated but, I recently formatted my laptop and reinstalled everything back except my jde built without generating my cod file.

    Second, I always had this problem, whenever I sign my code, I have to use the local server, because on my laptop, the siging tool crashes and normally sign correctly.

    Thought it would be fixed by formatting the laptop computer. So was hoping if some would give me more specific information on how to sign up with the jde. I tried researching on the two, but no luck please help.

    Welcome to the support forums

    I suggest that you try the latest available signature tool (sigtool.jar).
    about the jde, I suggest you use eclipse + plugin. the jde is expected to produce cod in the same folder as the project unless configured differently.

  • Some questions on development on the Blackberry Pearl 8110?

    Hello. I have a few questions about the development of java applications on this unit.

    Well, asumming my old pearl supports Java...

    I have the Eclipse plugin for java installed using the 5.0.0 jre so I think this means that the application works on OS5 and above all, Yes?

    Not sure what OS this old Pearl works (I personally don't think it runs OS5?), and if he ran to an older operating system (say OS 4 or less) then my developed apps still work on this unit?

    Sorry if these are stupid questions.

    Thank you

    "applications developed in the usual Blackberry JRE 5.0.0 run on machines running less than 5.0.0 OS?"

    It is more accurate to say - are not supported on.

    A few apps, when compiled using the API calls that have not been changed, will work on 'low' operating systems, at least a number of people on the forum (yourself included) have told me they have managed this.  However, I tried it by accident (when I plugged the wrong device to load an application) and a device in brick.  So I wouldn't recommend it, even if it does not work.

    "do you mean that if I develop my app in JDE, it works on any device blackberry hosting any level of the operating system?"

    JDE versions have the same restrictions - there are versions JDE as there are JRE versions.  I think JDE 4.2.1 and JDE 4.3 are always available, so if you want to develop is a phone which works 4.3, because I think that yours, you could use the JDE-, but it should have the JDE 4.3 or earlier.

    You can also upgrade your phone and use Eclipse (which is what I would do).

    Clear now?

  • Problem while generating a pgm on JDE

    Hi guys, I got this error when I clicked on "building together and run" option in JDE. It currently shows following error

    Building HelloWorldProject
    H:\Program Research In Motion\BlackBerry JDE 4.6.0\bin\rapc.exe-silencieux import =... name of code \lib\net_rim_api.jar = HelloWorldProject HelloWorldProject.rapc warnkey = 0 x 52424200; 0 x 52525400; 0 x 52435200 "H:\Program Research In Motion\BlackBerry JDE 4.6.0\bin\HelloWorld.java"
    I/o Error: Cannot run program "javac": CreateProcess = 2 error, the system cannot find the file specified
    Error while building project

    until now, I have done projects in NetBeans IDE, but now I have decided to spent at BB JDE, and I'm new to this envoirment JDE, then I decided to get an idea of the development using the JDE, but it shows what could be the error

    Concerning

    Rakesh Shankar.P

    Please mark this topic as resolved..., new questions, you can start a new Thread...

    in any case, here are answers to your questions according to my knowledge

    (1) you can see your outputs in the Debug tab...

    (2) it's basically connect your JVM Simulator & do some process more to connect your JDE Simulator in debug mode, according to my knowledge... So I dnt think so you can remove it. Without connecting to your JAVA virtual machine, how you can run your program on Simulator...

  • question how to get/use the line separator

    I'm trying to get the line of the system separator and use it in a text that is getting added to a TextField.

    System.getProperty ("line.separator") returns null.

    What is the correct way to do it?

    Here is a code example:

    String newLine = System.getProperty("line.separator");
    String text =   "First line of text." + newLine +
            "Secon line of text." + newLine +
            "Last line of some more text.";
    
    TextField t  = new TextField(TextField.READONLY);
    t.setText(text);
    

    I tried this with the Simulator and on a Pearl 8100.

    I use JDE plugin for Eclipse 1.0.0.50

    BlackBerry component Pack 4.5.0.14.

    2.9.0.52 - Blackberry 8100 smartphone Simulator

    The device software is 4.5.0.110

    Thank you

    If I understand the question, what right do something like "\n"?

  • More beginner questions

    Hello

    Getting started with Java development and fairly new to BlackBerry, so I have a few questions that I hope are easily treated.

    (1) I am aware that there are different levels of API for Java on BlackBerry. I need to write an application that is a little more sophisticated than a web app, but not need features like GPS or motion control. I would like to reach a large part of the audience with a single application. Is BlackBerry JDE 4.0 the best choice

    (2) should what screen size I write to? Is there a small number of standard sizes, or is it everywhere in the jury? Are there still many people using monochrome displays or can only be ignored?

    (3) at some point I need to show my boss of information on what the BlackBerry user market looks like in terms of peripheral distribution and give him a pretty good guess as to what percentage of this market will reach our application. Where can I find this information?

    (4) I really need one of the features is the ability to view external documents from within my application. These documents are mainly PDF files, Microsoft Word or HTML documents. Is it possible on BlackBerry without writing my own code to decode documents? (For example on the iPhone, I can just open a document viewer and pass it a URL).

    (5) I saw some references to a 'business' server or a "synchronization server" that I do not completely understand. In the application, I want to write, all I need to do is to make a HTTP request to a server on the internet and analyze XML data that it returns. I guess that will be OK? Will I have access to a XML parser and HTTP connection object somehow? There is a limitation with regard to what I can connect to the servers?

    Thank you

    Frank

    I'll answer 1, 2, and 5 for you, although others may have answers to spare.

    1. it is a matter of how many devices you want to achieve. I think that 4.6 is to achieve a good balance between compatibility and the camera, well that others may say, 4.5 or 4.2, for legacy devices.

    2. I don't think you need worry too much about the size of the screen, unless you do things that are explicitly graphic, want to do your own drawing for a game or something. If you add a standard user interface elements, should ebb of things, but you obviously test on multiple devices if you are worried a lot about this.

    5. you can certainly analyze content XML on the internet (there are DOM and SAX parsers), but you have to be concerned about the methods of connection on a mobile device, if the connection is by proxy through a corporate server, through the Blackberry Internet Service in public or through the carrier's internet gateway. There are here some guides on how to handle this.

  • Question to find the coordinates of an address

    I worked on an internal BlackBerry application to see the map of the site of the Agency on the States. I use Eclipse Plugin and BB JDE 4.7.0 with the BB 9530 Simulator. My question is how to locate a given address GPS coordinates. I tried both approaches, and all were unsuccessful.

    My first approach is to use the API of BB net.rim.device.api.lbs.Locator to get the coordinates of an address. But the Landmark returned by the Locator had a length zero (no found the coordinates). What I have to install any application of location map BB on the Simulator? The Simulator has the pre-installed BB card application. Given the coordinates of an address, the invocation of the MapView also gave me internal error. Here are the code snippets used in the application:

    AddressInfo addressInfo = new AddressInfo();
    addressInfo.setField (AddressInfo.STREET, empDetInfo.getStreet ());
    addressInfo.setField (AddressInfo.CITY, empDetInfo.getCity ());
    addressInfo.setField (AddressInfo.STATE, empDetInfo.getState ());
    addressInfo.setField (AddressInfo.POSTAL_CODE, empDetInfo.getZip ());
    addressInfo.setField (AddressInfo.COUNTRY, empDetInfo.getCountry ());
    Coordinated coordinated new = startCoords (Constants.LATITUDE_STARTCOORDS, Constants.LONGITUDE_STARTCOORDS, 0);
    Historic landmark [] = Locator.geocode (addressInfo, startCoords);

    MapView mapView = new MapView();
    mapView.setLatitude (lat);
    mapView.setLongitude (lon);
    mapView.setZoom (10);
    Invoke.invokeApplication (Invoke.APP_TYPE_MAPS, new MapsArguments (mapView));

    The second approach is to use the Google Geocoding V2 Web Service to locate contact information and start Google Maps using the details. By giving the fixed coordinates, the application can display the right card for them. But the problem is that the application got constantly bad request "400" State Code returned by the Web Service of Google, even if I can get good state code (200) with the data of contact details by gluing directly the same URL in the Internet Explorer browser query string. I also tested the application at home and could not get back the Google Web Service in good condition code if the PC was not connected to the corporate network. But if the PC is plugged into the network, the application always to return 400. I have no idea what would cause this issue.

    If anyone had a similar experience and work around, please make me light.

    Thank you in advance!
    yc6963

    I think that Google Maps uses a direct TCP connection.  When you use the simulator of BlackBerry smartphone that this type of connection is from the Simulator itself, which connects directly to the destination server (without using the simulator of MDS - CS).

    Since you have a proxy in your workplace, it is likely that the connection is blocked.  Unfortunately there is no way to configure the simulator of smartphone BlackBerry Connect via a proxy at this time.

    BlackBerry Maps (and MapField) works in version 4.7 of the BlackBerry JDE, however you may run into problems due to the power of Attorney in your environment.

Maybe you are looking for