Adding devices in Wireless toolkit

Hi,
I'd like to know how to add my Sony Ericsson p800 to the device list of my wireless toolkit. I presume I'm ok with using the default color device put have seen in some ericsson java developers guide that it can be done. Just don't know how.
Cheers for any help

With reference to original question. It is not very clear to me from the question by what you mean by adding a device. As far as I read, the concept of adding devices to W2K is to change the display properties, font properties, etc. This can be done using the following way.
Assume your installation of w2k is at D:\WTK20
1. Go to D:\WTK20\wtklib\devices directory.
2. Create a new directory with your device name.
3. Copy DefaultColorPhone (say MyNewDevice)
4. Copy the DefaultColorPhone.properties file from DefaultColorPhone directory to your new directory and rename it to MyNewDevice.properties (This is to simplify things. Otherwise you can choose to create a totally fresh file).
5. Go through the properties and try to play with it by changing the values and openng your midlets in this new device. This way I could create a emulator that supports Indian language.
Hope this gives some pointers on how to do it. But not sure whether it answers your question. All the best.

Similar Messages

  • Stylus support in wireless toolkit

    Hello people,
    I'm doin a project which involves creating a drawing pad on which a user can draw..How can i do with Sun Java Wireless Toolkit??..any classes for stylus??..or any mouse events/classes??..or any other means??
    Thanx in advance

    With reference to original question. It is not very clear to me from the question by what you mean by adding a device. As far as I read, the concept of adding devices to W2K is to change the display properties, font properties, etc. This can be done using the following way.
    Assume your installation of w2k is at D:\WTK20
    1. Go to D:\WTK20\wtklib\devices directory.
    2. Create a new directory with your device name.
    3. Copy DefaultColorPhone (say MyNewDevice)
    4. Copy the DefaultColorPhone.properties file from DefaultColorPhone directory to your new directory and rename it to MyNewDevice.properties (This is to simplify things. Otherwise you can choose to create a totally fresh file).
    5. Go through the properties and try to play with it by changing the values and openng your midlets in this new device. This way I could create a emulator that supports Indian language.
    Hope this gives some pointers on how to do it. But not sure whether it answers your question. All the best.

  • 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

  • How to use KAWT with "Sun Java Wireless Toolkit 2.3 Beta"?

    Hi!
    Im new to developing java for mobile devices so all of this is pretty confusing for me. I started with installing suns:s "Wireless Toolkit 2.3 Beta" and it works fine but now I want to use awt classes so I started to look it up and that�s how I found out about kawt. I followed the tutorial at http://www.kawt.de/ and i was able to use it for Java Wireless Toolkit 1.0.4_02 so that it compiled fine and was run able.
    Then I tried the same thing in v 2.3 but I got a error that looked like this "Uncaught exception java/lang/NoClassDefFoundError: awtDemo: /awt/event/ActionListener: Cannot create class in system package." when i tried to run it. It compiled fine when I pressed the build button witch wouldn�t have happened if i hadn�t installed it correctly. So I�m wondering if someone knows were to find a tutorial for installing kawt for "Sun Java Wireless Toolkit 2.3 Beta" or if anyone knows what might be wrong?
    I'd welcome any help
    Thanks!

    If using the zip install of DSEE, you need to use your own java container to host DSEE. Try downloading the latest Tomcat (http://tomcat.apache.org) and deploying your dscc in it.

  • Need help adding device to Canon ELPH 320 HS

    I just bought a Canon ELPH 320 HS. I am having trouble adding my laptop as a device. I have Windows 8, and I downloaded what I thought was the windows 8 compatible version of Canon Picture Window. All of the settings in my control panel seem to be correct as far as media sharing, etc. 
    Here are the steps I've been taking. Please tell me if I'm doing something wrong. 
    I touch the internet icon 
    Then the computer icon 
    Click Add a device 
    Our wireless connection shows up, so I select that, I enter our network password and 
    then my laptop shows up and I select that. 
    And at this point it says connected to Kelly's Laptop, and has that spinning circle. It takes forever to connect. And then I get a communication error/connection failed error. 
    Please tell me what I'm doing wrong! Thanks!! The wifi was one of the main reasons why I bought this camera. It will be a huge disappointment if it doesn't work. 

    Hi kelly1010!
    The instructions for setting this up also mention needing to make some changes to the Windows Firewall settings.  Certain ICMP Inbound Echo Requests and UPnP services must be enabled.  You mentioned you have been through the necessary Control Panel options already.  Did you also enable these in the Windows Firewall settings?
    If this is a time sensitive-matter, additional support options are available at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • System.out.println crashes wireless toolkit

    I'm using system.out.println calls to create debugging commands to test my application. They mostly work but if I try to print out a lot at once the wireless toolkit crashes.
    This is all on my computer, not on any mobile device.
    The error I get is:
    Exception in thread "Child process stdout copier" java.lang.ClassCastException: sun.java2d.NullSurfaceData cannot be cast to sun.java2d.d3d.D3DSurfaceData
         at sun.java2d.d3d.D3DRenderer.copyArea(D3DRenderer.java:55)
         at sun.java2d.d3d.D3DSurfaceData.copyArea(D3DSurfaceData.java:638)
         at sun.java2d.SunGraphics2D.doCopyArea(SunGraphics2D.java:1986)
         at sun.java2d.SunGraphics2D.copyArea(SunGraphics2D.java:1968)
         at javax.swing.BufferStrategyPaintManager.copyArea(BufferStrategyPaintManager.java:315)
         at javax.swing.RepaintManager.copyArea(RepaintManager.java:1228)
         at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1604)
         at javax.swing.JViewport.windowBlitPaint(JViewport.java:1573)
         at javax.swing.JViewport.setViewPosition(JViewport.java:1118)
         at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:1027)
         at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1016)
         at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
         at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
         at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151)
         at javax.swing.JScrollBar.setValue(JScrollBar.java:446)
         at com.sun.kvem.toolbar.MainWindow$ConsoleStream.write(Unknown Source)
         at java.io.PrintStream.write(PrintStream.java:430)
         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
         at com.sun.kvem.environment.StreamCopier.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)Am I doing something wrong or is this a bug in the toolkit?
    Once I get this exception the whole toolkit becomes unresponsive and I have to close it and re-open.

    mydreamgirl, welcome to the forum. Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
    I'm locking this thread now.
    db

  • Using palm os emulator through java wireless toolkit!!.....pls help

    I have palm os emulator 3.5 installed.I am trying to integrate it wid d java wireless toolkit 2.2,in addition to d default devices provided by d toolkit.But i hav failed to integrate pose in jwtk.
    i am running midp2.0 and cldc1.1.
    Also i have downloaded d rom files required by d emulator.
    Pls anyone help me!!
    How can i use palm os emulator through java wireless toolkit?
    thanking you
    shivam sahai

    hi,
    I hope that you already have the J2ME Toolkit and that your emulator works okay. In the toolkit you get several examples to show you how to program a MIDlet. One has to do with a HTTP client server connection. Also in the API documentation for the J2ME there is a Connector class that you used to set up this communication and in the description of this class it pretty thoroughly explains how to set up an HTTP protocol client.
    However, if you want to do some other kind of networking then you are pretty much out of luck, as the TCPIP socket protocol has not been fully implemented and is optional to the J2ME specifications, only the HTTP protocol is certain to be available. This means that mobile phone companies can add other networking functionality to their phone's java virtual machine if they feel like it. This is a bummer I know.
    I hope this helps.
    Cheers,
    Mark

  • No Image in my cell but there's an image in J2ME wireless toolkit

    Hi all,
    I'm really lost here. I coded my java code and run it in J2ME wireless toolkit and the image is there, I put the image on the res folder and the image file format is .PNG, its working in the default color phone. However whe send it to my cellphone, sending the .jar file, and after installation, as I run the program, I cant see the image, all UI is ok but not the image. Thanks a lot
    Here's the code:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class HelloWorld extends MIDlet implements CommandListener, ItemStateListener
    private Form frm;
    private Display display;
    private TextField txtName;
    private TextField txtAge;
    String[] genderArray = {"Male", "Female"};
    private ChoiceGroup gender;
    String[] statusArray = {"Single", "Married", "Widow"};
    private ChoiceGroup status;
    private Command cmdExit;
    public HelloWorld( )
         display = Display.getDisplay(this);
         frm = new Form("Hello World");
         txtName = new TextField("Name: ","",40,TextField.ANY);
         txtAge = new TextField("Age: ","",2,TextField.NUMERIC);
         Image[] imageArray2 = null;
         Image[] imageArray3 = null;
         try {
              Image icon = Image.createImage("/icon.png");
              Image img = Image.createImage("/myPic.png");
              imageArray2 = new Image[] {icon, icon};          
              imageArray3 = new Image[] {icon, icon, icon};
         frm.append(new ImageItem(null, img, ImageItem.LAYOUT_CENTER,null));     
         } catch(java.io.IOException err)
              // Found an error
         gender = new ChoiceGroup("Gender: ",ChoiceGroup.EXCLUSIVE,genderArray,imageArray2);
         status = new ChoiceGroup("Status: ",ChoiceGroup.POPUP,statusArray,imageArray3);
         cmdExit = new Command("Exit",Command.EXIT,1);
         frm.addCommand(cmdExit);
         frm.append(txtName);
         frm.append(txtAge);
         frm.append(gender);
         frm.append(status);
    public void startApp( )
         display.setCurrent(frm);
    public void pauseApp( )
    public void destroyApp(boolean unconditional)
    public void commandAction(Command c, Displayable s)
    if ( c == cmdExit )
         destroyApp(false);
         notifyDestroyed( );
    public void itemStateChanged(Item item)
    Thanks.

    HI Phoenix_Mj
    I'm a beginner in J2ME world and it might happen that I'm be missing some impt step from coding to transferring.
    Do I have to configure anything?
    Im I right by saying, only the .jar file is then transmitted to the device?
    Lastly, where should I put my images? what folder to be specific?
    I can't run the application correctly even trying to run it over the OTA....
    No images is being displayed...
    Please help guys.
    By the way thanks, Phoenix_Mj
    God Bless to all

  • Does J2ME Wireless Toolkit Check Memory Usage?

    I just want to confirm that does the J2ME wireless Toolkit check the memory usage by a MIDlet and only allow it 128KB of memory usage as specified by the MIDP 2.0 specification???
    Or do we have to calculate and check manually about the memory usage of a MIDlet???

    Hi,
    The WTK doesnt set heap memory unless u specify in the preferences. Most of the devices allow upto 200 KB heap size or more. The least being Nokia 7250 which allows only upto 200 KB heap size. SO if u are developing for a particular device in mind specify the heap size in the preferences. You will also get the memory utilized at runtime thru.
    Runtime.getRuntime().* functions. eg.
    Runtime.getRuntime().freeMemory();
    wil give u free memory.
    in new emulators such as Nokia 7210 emulator , u can see the memory real time , on the details secction.
    Hope this helps.

  • 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.

  • JSR 82 for the 2.5.2 wireless toolkit

    Can someone please confirm if the implementation for JSR 82 is included in the Sun Java Wireless Toolkit 2.5.2 for CLDC?

    I'm new enough to j2me programming and the wtk itself so I may have missed the point of your question but in my understanding...
    The sun wtk does contain an implementation of the bluetooth specification but this is only an interface and it does not actually enable communication with a device as stated in the wtk faq <link = http://java.sun.com/products/sjwtoolkit/FAQ.html#general>
    "Can I connect the wireless toolkit to an external bluetooth device, such as a mobile phone?
    No, the wireless toolkit does not enable communications with wireless devices. "

  • 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.

  • Sun Wireless Toolkit - ktools.properties?

    Hi friends,
    Does somebody know how can I change the ktools.properties (placed on C:\WTK21\wtklib\Windows) in order to make the Wireless Toolkit find all the classes it needs in a third party jar file? Actually I don't know if this is the file I need to change.
    Let me explain. Siemens devices put all CLDC, MIDP1.0 and proprietary classes in a single JAR file called api.jar. I would like to know how can I set the Wireless Toolkit to use this file instead of the files midpapi10.jar and cldcapi10.jar. In prior versions of the WTK all the classes used in the compilation process were available in a single file calle midpapi.zip and I could rename the Siemens api.jar file to midpapi.zip and everything was ok, but now they are split in configuration and profile jar files. What can I do?
    Thanks in advance fellows
    Cleverson

    I tried to deal with it by ktools.properties but it didn't work. On some tech details about WTK I read that it simply doesn't support proprietary apis.
    However, I found a way to get around it. I put api.jar (siemens) in the lib dir. When I create the package, this api is inserted in the midlet.jar . All is left to do is delete the com/* directory from the jar file. Then the program can be run on the phone.
    It's a bit messy but I set up macros for these tasks and everything works quite smoothly. And I don't like all these monstrous IDEs so I prefer to work with plain WTK.

  • 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

  • City guide at sun java wireless toolkit

    hi
    has anybody tried to launch city guide-apps(example from sun java wireless toolkit 2.3) on real device?
    i have motorola a1000 with integrated agps-modul and the example doesn�t work.
    can anybody help me?

    the problem is that a1000 doesn�t support cldc 1.1 so i had to change the example a little bit working without float arithmetic. The result is: the screen simply freezes. I thought the condition of supporting locationAPI is at least MIDP2.0 AND cldc 1.1.
    is there any special example for motorola using locationAPI?
    i think the problem is that a1000 doesn�t really support locationAPI(jsr179)
    may be it uses propery API�s (like com.motorola.location or sth like that)
    writing
    System.getProperty("microedition.location.version")i�ll get null. it�s sure
    so is there any way to use j2me for programming simple example like:
    i am here [lattitude, longitute]?

Maybe you are looking for

  • JDeveloper 10.1.3 - Application Server Connection Error

    Hi When I use the connection wizard to create an 10.1.3 AS connection, I get the following error : "No OC4J process up for AS instance identified by domain: opmn-home+oc4j-<<hostname>>-<<port#>-default" OC4J - home instance is up and running fine. Tr

  • Radio Group in Master Detail Form

    Hi There, I want to create a radio group with 2 options (Yes, No) for a detail-record within a master-detail form and I would like to save the selected option in a table-column, which is of Varchar2 and has the length of 1 (Y,N). How can I do that. I

  • Multiple Oracle Homes

    Hi everybody, I have Oracle 9i installed on my Windows machine. I installed Oracle Developer Suite, but could not login due to TNS errors. I have a little idea of what the problem is. We need to edit TNSNAMES.ORA file so that it could resolve the ser

  • Can't find rented videos partially downloaded

    I rented four videos from iTunes. I went into my video application to see the progression of the downloading. I opened on up and then accidentally touched a button that has an arrow facing down. The video disappeared from my video application and is

  • Connecting gaming console. MoCA adapter or Router?

    Hello all,     I haven't really been able to find a definitive answer to this anywhere.  Currently, my FIOS setup has the routers/wireless transceiver in a bedroom at the front of the house.  I have a game console in the den at the back of the house.