Wireless Toolkit 103 and NetBeans 33

Hi,
Is there a possibility to integrate (perhaps manually) the wireless toolkit with NetBeans 3.3? The installation doesn't work when I select the option Integrated!
thx
Pascal

I'd like to know too. Anyone ever done this yet?

Similar Messages

  • Base64Binary to byte[] problem in Wireless Toolkit and NetBeans

    Hi,
    I am generating stub with J2me Wireless toolkit. But the problem is that the toolkit can't successfully convert base64Binary to byte[] and gives error "Unknown simple type byte[]". Netbeans also gives some error while compiling it. Please anybody tell me how can i resolve this problem. Using base64Binary type is must.
    Kindly reply if you know. My email address is [email protected]
    Wasif Ehsan
    [email protected]

    public interface JobUpdate {
         @SuppressWarnings("unchecked")
         public String[] getUpdatedJobList(@WebParam(name="phoneJobs")String[] phoneJobs);
         @SuppressWarnings("unchecked")
         public void retrieveJobsWorked(@WebParam(name="data")byte [] data);
    I then use this to start the service
    JobUpdateImpl implementor = new JobUpdateImpl();
              JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
              svrFactory.setServiceClass(JobUpdate.class);
              svrFactory.setAddress("http://localhost:9000/JobUpdate");
              svrFactory.setServiceBean(implementor);
              svrFactory.getInInterceptors().add(new LoggingInInterceptor());
              svrFactory.getOutInterceptors().add(new LoggingOutInterceptor());
              svrFactory.create();
    Then use the wtk stub generator pointing at the service.
    http://localhost:9000/JobUpdate?wsdl
    The error returned by the tool is error: Found unknown simple type: byte[]
    Any ideas?

  • Null Pointer Exception and Illegal Arguement when ran with Wireless Toolkit

    The following code throws a null pointer exception after it tried to initialize the textBox. I am not sure if there is something I am not importing, or if it's just because I'm sick and my head is cloudy. :-}.
    I am using Wireless Toolkit 2.2 and Java 5.0
    Anyhelp would be appreicated. Thank You.
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class TacticalTestMain extends MIDlet implements CommandListener {
         private Display display;
         private Form formMain;
         private TextBox tbHelp;          //Text Box for help Command
         private Command cmExit;          //A button to exit midLet
         private Command cmBack;          //Go "back" to main form
         private Command cmHelp;          //Ask for help
         public TacticalTestMain()
              display = Display.getDisplay(this);
              formMain = new Form("Tactical Survey Program");
              cmExit = new Command("Exit", Command.SCREEN, 1);
              cmBack = new Command("Back", Command.BACK, 1);
              cmHelp = new Command("Help", Command.HELP, 1);
              formMain.addCommand(cmExit);
              formMain.addCommand(cmBack);
              formMain.addCommand(cmHelp);
              formMain.setCommandListener(this);
              System.out.println("Before Create Text Box");
              //Create the help textBox with a max of 25 charecters
              tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
              tbHelp.addCommand(cmBack);
              tbHelp.setCommandListener(this);
              System.out.println("AfTER Create Text Box");               
         }//end constructor
         public void startApp()
              System.out.println("Inside StartApp()");
              display.setCurrent(formMain);
         }//end startApp()
         public void pauseApp()
         }//end pauseApp
         public void destroyApp(boolean unconditional)
              notifyDestroyed();
         }//end destroyApp()
         //Check to see if the exit button was selected
         public void commandAction(Command c, Displayable d)
              System.out.println("Inside commandAction()");
              String sLabel = c.getLabel();
              if(sLabel.equals("Exit"))
                   destroyApp(true);
    Errors from the KToolbar:
    Running with storage root DefaultColorPhone
    Before Create Text Box
    Unable to create MIDlet TacticalTestMain
    java.lang.IllegalArgumentException
         at javax.microedition.lcdui.TextField.setChars(+105)
         at javax.microedition.lcdui.TextField.setString(+27)
         at javax.microedition.lcdui.TextField.<init>(+134)
         at javax.microedition.lcdui.TextBox.<init>(+74)
         at TacticalTestMain.<init>(+134)
         at java.lang.Class.runCustomCode(+0)
         at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
         at com.sun.midp.midlet.Selector.run(+22)
    Execution completed.
    743701 bytecodes executed
    23 thread switches
    741 classes in the system (including system classes)
    4071 dynamic objects allocated (120440 bytes)
    2 garbage collections (91412 bytes collected)

    Hi zoya,
    Here is the problem:
    tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
    This line declares a maximum textbox size of 25 but in reality he is declaring a textbox of size 29.
    Thats why it is throwing the illegal argument.
    happy coding :)

  • Is MIDP 2.0 and CLDC  inluded in Sun Java Wireless Toolkit 2.5 for CLDC?

    I downloaded the "Sun Java Wireless Toolkit 2.5 for CLDC" and "Sun Java Toolkit 1.0 for CDC" and I have JDK 6.
    do I need to download anything else or is this all I need to make applications for cdc and cldc devices??
    please help.
    thank you.

    Most devices used today support MIDP 2.0, but not all of them support CLDC 1.1. If you can do without floats, it's better to restrict yourself to CLDC 1.0 & MIDP 2.0. Devices which only support MIDP 1.0 aren't suitable for today's game development anyway (performance, resolution...) so personally I'd suggest not bothering with them if you don't have to.
    Here are some lists you can use to help you decide what to use, based on how many devices you want to target:
    http://www.j2mepolish.org/devices/platform.html
    These lists aren't complete, so please let me know if you find better ones.

  • J2me wireless toolkit and MIDP,CLDC

    Hi,
    does the j2me wireless toolkit ship the cldc and midp with it ?

    why email, thats a forum because there are more people interested in problems and their solution than you.
    The 2.2beta also ships with the CLDC 1.1 and MIDP 2.0. Its a must because without it, you wouldnt be able to execute anything. And you cant put the JVM, MIDP and CLDC on your phone. The only thing you need is your application. The rest is implemented in hardware (or firmware of the phone). If not, theres no way to ''manually'' put in there (this includes upgrading).
    hth
    Kay

  • JCOP and wireless toolkit communications

    Hi,
    I have used the javacard toolkit with the wireless toolkit and I have made APDU connections and communications correctly.
    Now I have JCOP from IBM and I want to test my midlet with this emulator but my midlet cannot connect itself to the JCOP emulator.
    I have test the differrents port for connections (8050 for JCOP).
    can anyone help me please ?
    Thank's

    Hello,
    This the code I'm using with in my midlet:
    RemoteJCTerminal terminal = new RemoteJCTerminal();
    terminal.init(null);
    terminal.open();
    JCard card= new JCard(terminal, null, 10000);
    JCApplet app = new JCApplet(card, AID);
    app.select();...
    The error log is :
    java.lang.NoClassDefFoundError: com/ibm/jc/JCTerminal
         at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
         at com.sun.midp.midlet.Scheduler.schedule(+52)
         at com.sun.midp.main.Main.runLocalClass(+28)
         at com.sun.midp.main.Main.main(+116)
    I think that the preverifier of my midlet doesn't accept my jar file in my build path.

  • Java Forte CE and J2ME Wireless Toolkit configuration

    I installed Sun Java Forte V3.0 Community Edition and the J2ME Wireless Toolkit 1.0.3.
    I not able to run a MIDlet for the PALM OS Emulator. Wen I execute the MIDLet suite, the output windows returns: "Error could not find a JVM"
    - Does any body knows how to properly configure Java Forte to run application on the Palm OS Emulator (POSE).
    - Does any body knows how to attach Sun Forte debugger for MIDLet applications ?
    Thanks

    hi,
    First Install the forte and then install the j2mewtk.While installating j2mewtk chose integrated option.
    For Palm OS emulator you have to set the POSE location.
    Try out this.
    Open ktolbar.
    OpenProject.
    select an application.(examples)
    set device PalmOS_device.
    Now run the application.
    A window pop for u.
    This may help you
    good luck.
    koka

  • Crash when running basic midlet using  eclipseme and sun's wireless toolkit

    I am trying to run a demo midlet using sun's wireless toolkit in the eclipseme environment and I get the following error;
    ALERT: java/lang/ClassFormatError: Bad version information.
    alongwith a stack dump.
    Any ideas as to what the problem might be?
    Thanks.

    This is just a guess:
    (1) Your applications runs up against the maximum number of lock objects, which triggers an exception. This may be caused by either (a) your application requirements or (b) failure to commit/abort transactions.
    (2) The exception is not caught at the appropriate place, or appropriate action is not taken in the exception handling, which is to deallocate XmlResults and other objects (so the underlying C++ objects may be freed) and to abort the transaction.
    (3) C++ objects the Java wrappers of which should have been deleted (call delete()) are still around when they shouldn't be, and this causes a SEGV to happen, which is what you're seeing.
    If you think the above is possible, you could boil down com.company.MyClass to a minimal example that reproduces the behaviour you're seeing and is easy for others to run at home, and then post it here.
    Michael Ludwig

  • How to run projects on Wireless Toolkit on Solaris 10?

    Hi,
    I've installed Solaris 10 on x86.
    After that I've installed Wireless toolkit and Netbeans Mobility pack.
    I was able to install both of them but, Now, when I try to run any J2ME application I get an error "Cannot find /lib/ld-linux.so.2" and something about preverifying.
    This might bebecause there isn't any perfect version of WTK available for Solaris 10 and I need to use wtk for liunx.
    I think since, solaris and WTK both are product of SUN they should provide solaris compatible version of WTK.
    Please let me know how can I solve this problem or suggest any other tool that can allow me to create and deploy J2ME applications on Solaris 10(x86)
    I need this to be solved pretty quickly since it is very urgent
    Thank you all
    Edited by: parag.rughani on Sep 28, 2007 5:37 PM

    there is no WTK 2.x for solaris, but it is possible to use WTK 2.x and Solaris. You can find how to that here:
    http://wiki.netbeans.org/wiki/view/JavaMEDevelopmentWithSolarisX86?version=21
    Good Luck,
    K.

  • Sun Wireless Toolkit for CDC - JSR75 Application

    Hi All,
    I have Sun Wireless Toolkit for CDC installed in my machine. I have written a sample JSR75 application to access PIM database. At Compile time, it's giving so many compilation errors; it's not recognizing the PIM API.
    I have placed the jsr75.jar file in lib folder of CDC installation directory. At this time it's giving NullPointerException.
    Any body tell me how to access PIM API from Sun wireless Toolkit for CDC.
    Thank you very much in advance
    Thiru

    What platform do you use to develop? I use NetBeans and compilation works fine.
    I have the jsr75.jar in the following places (on old Apple iBook):
    /Users/carl/.netbeans/5.0/emulators/wtk22_linux/emulator/wtk22/lib/jsr75.jar
    /Users/carl/Library/mpp-sdk/jsr75.jar (for mpowerplayer emulator, but this does not work (yet))
    In the netbeans lib files also these jar-iles exist:
    cldcapi10.jar jsr082.jar midpapi10.jar wma11.jar
    cldcapi11.jar jsr184.jar midpapi20.jar wma20.jar
    j2me-ws.jar jsr75.jar mmapi.jar
    Carl.

  • Do I need to install this wireless toolkit?

    I just downloaded and successfully installed NetBeans IDE 5.0 and then also installed the NetBeans Profiler 5.0 and NetBeans Mobility Pack 5.0.
    So I would like to know if I would also need this wireless toolkit to be installed in order to develop applications for the mobiles.
    By the way, what are the NetBeans Profiler 5.0 and the NetBeans Mobility Pack 5.0 used for?
    Thanks in advance.

    Is this your model:
    http://www.everymac.com/systems/apple/macbook/specs/macbook-core-2-duo-2.26-whit e-13-polycarbonate-unibody-late-2009-specs.html
    It should have come with Snow Leopard 10.6.x.  To find what you are running, click on the apple in the file menu, then on about this mac; in the new window, click on the number under the large OS X until you see the version displayed.

  • KXML and Netbeans

    Hello everyone,
    I wish to manipulate some simple XML on my J2ME application. From what i can find the best method seems to be using kXML.
    However, I am having trouble integrating this into my application as a namespace.
    Does anyone have any experience with this please?
    I am running Netbeans 5.5
    Thank You
    James

    Thanks Peace,
    But I am facing the same problem even when I use the source java files of kXML and include those in my project and use them as additional classes to my class.
    It again builds properly when I don't use the highest obfuscation level.
    But if I try to obfuscate using Level HIGH it throws the same error.
    However when I try to run this project from J2ME Wireless Toolkit, it is running fine on the emulator.
    I guess the error is something specific to Netbeans IDE. Have anyone of you encountered such a bizzare error.
    Thanks,
    Vikas

  • Wireless toolkit - add implementation of JSR

    I want to run MIDlets (in the emulator) using a JSR not currently included in the Sun Java Wireless Toolkit.
    I can do the implementation myself and package it as a JAR-file.
    The problem is that the code is in the javax.-package so I can not let code go into my MIDlet's JAR-file. What I would like is if it's possible to drop the JAR-file in the WTK's lib-folder and then the emulator would use the classes just if they were part of the platform. Unfortunately this does not seem to work.
    Does anyone know if this should be possible?
    Do I have to alter some configurations file to tell WTK to use the JAR-file?
    BR,
    Markus

    >
    I doubt that this is possible. Besides jar with JSR code, I think that other code is needed in order to integrate it into emulator.
    What JSR do you want to use? What version WTK do you use - 2.5.2? Did you look into "next generation WTK" - Java ME SDK?
    Java ME SDK supports about 20 JSRs, click here for detailed description. Just as renard1 I am thinking of JSR-257.
    >
    I'm currently using 2.5.2 (integrated with NetBeans IDE) but EA 3.0 looks promising. I will look into that more when it comes to Linux...
    Sure if I would implement everything in the JSR and also have the possibility to attach cards and so on it would require code integrated into the emulator, but I don't need that functionality right now. What I have is a jar-file with pure Java ME code that I want the emulator to consider as part of the platform.
    Is there any special reasons for having which JAR-files to be included hard-coded in the emulator source code? I think that sounds very inflexible.
    >
    I think that I can modify and rebiuld the sources but I hope that there is an easier way. Don't you have ?'
    >
    Is the source code for WTK or EA available somewhere?
    >
    Besides WTK, did you consider testing your NFC MIDlet with other emulators such as for example JSR 257 RI SDK or Nokia SDK for Payment and Ticketing ? If needed, find more details on these emulators at links below:
    - JSR 257 RI SDK FAQ
    - Nokia SDK for Payment and Ticketing FAQI couldn't find if JSR 257 RI SDK (still) was available for download anywhere.
    >
    I couldn't find that JSR 257 Reference Implementation SDK anywhere for download. Have you?
    Currently I'm using Nokia 6131 NFC SDK (http://www.forum.nokia.com/devices/6131_NFC) but I would rather not be limited to that SDK/emulator which among other is Windows-only and has no profiler.

  • Installing Wireless Toolkit 1.0.3 on Suse 8.0 problem

    Hello,
    I try to install Wireless Toolkit 1.0.3 on Suse 8.0. I always get the message:
    uudecode: command not found Failed to extract JavaVersionTester class.
    Walking through all Suse packages didn't help. What could be the problem and how could I solve it?
    Thanks.

    solved it! Suse 8 doesn't install sharutil packages

  • Wireless toolkit in sun one studio 4 update 1 mobile edition?

    I'm starting work on a MIDP 2.0 procect that requires the 2.1 wireless toolkit for JSR-172 (web services) support. I'm currently using Sun One Studio 4 update 1Mmobile Edition with the built-in 1.04 toolkit. Is there any way for me to setup the 2.1 toolkit to work with S1ME4_1?
    I know the Early Access release of ME 5 ships with 2.1 toolkit support, but my project extends beyond the 60 day license.
    Any help would be appreciated. Thanks. :-)

    Hi,
    1. install the WTK 2.1
    2. In your project in S1ME4_1 in the Explorer
    - select Runtime -> Device Emulator Registry -> Installed Emulators
    - click right on that and choose "Add... Emulator" and enter your path to the WTK 2.1 (normally you have then a new "installed emulator" (J2ME WTK2.1)
    3. Open the "Default Emulator" and change it by clicking right on the one mentioned.
    4. add the midpapi20.jar from the lib directory of WTK2.1 to the classpath (i.e. by mounting)
    Hope it works.
    Kay

Maybe you are looking for

  • How to assign contact person with user id to vendor via upload

    Dear All, We have successfully uploaded external business partner (Vendor) from ECC6 to SRM5.0  via BBPGETVD. So vendor is available in PPOMV_BBP. Now we would like to assign the contact person with user ID to this vendor so that he can logon to our

  • ABAP QUERY , Tcode SQ01, operator OR

    Hi I want to create a query that list the purchasing orders created or modified during a given period. however, the creation date and the modification date are two different fields stored in differents tables. if I have these two fields in the select

  • What are all major process in SD?

    Hai Guys,    Do help me out in getting informations about the    following. What are all major process in SD? detailed answers or links for this pls...   Thanku   Regards   Jino

  • Unlock my black berry 8520 curve

    i have black berry 8520 curve and I tried to unlock my black berry without any technical knowledge then i missed my all 10 chances to unlock it now it says (0left mep code ) plz help me to reset mep counter or any possible solution for unlock it i lo

  • Photos for iWeb: do they need to be sized, or does the program do that?

    I have a number of fairly large files that i want to use in a little website I'm making in iWeb.Do I need to rez down, sharpen, etc? Or can I just import?