WTK 2.5 SVGDemon on a device

Hi,
I'm trying to get the Wireless Toolkit 2.5 SVGDemo to run on a mobile device. The code works fine in an emulator, but when I install the jar on a MIDP 2.0 CLDC 1.1 device I can't get any of the MIDLets to run. The app installs and I can load the suite, but when I select any of the MIDLets, the screen flashed black and returns to the main screen of the MIDLet suite.
Any suggestions?
Thanks.

OK then... I may be doing this myself.
The question now is, what type of SATA connector do I need.
I've tried asking locally (UK) but no one seems to have a clue.
I did manage to find this cable that at least looks like the one
used in the iFixit and OWC videos, but I just need confirmation.
http://www.lindy.co.uk/cables-adapters-c1/i-o-c125/sata-c128/0-3m-internal-sata- extension-cable-22-pin-male-female-extension-p6724
It's only 30cm long but the SATA connector on the back of the
Logic Board is only about 20 cm from the back of the drive and
should be long enough.
I did get one reply from Lindy saying that I probably need a
slimline combined data and power full SATA to full SATA but
they didn't stock it.
For an established technology that almost every computer uses
it seems somewhat extraordinarily difficult to get components!
Any help would be appreciated.
TIA.

Similar Messages

  • CommandAction works through OnDeviceDebug, but not when installed from jar

    Hi everybody,
    I'm trying to run a HelloMIDlet example and if I run it on emulator it works fine, also when I run it on mobile through OnDeviceDebug from eclipse it works fine, but when I install a jar file and run the application it ends with Application Error message and it exits. I found out that the problem might be in the CommandAction method, because when I use this:
    public void commandAction(Command c, Displayable s) {
              notifyDestroyed();
    }then the application works also when installed from jar, but when I use this:
    public void commandAction(Command c, Displayable s) {
       String label = new String("Exit");   //just for test
       if (label.equals("Exit"))
         notifyDestroyed();
    }then it ends with Application Error right after I run the program (and it works when I use OnDeviceDebug). I'm using jdk1.5.0_06 and WTK from Sony Erricsson (my target device is W800i, which supports CLDC1.1 and MIDP2.0)
    My manifest file is
    Manifest-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-Name: HelloMIDlet
    Created-By: Sun Microsystems Inc.
    MIDlet-Vendor: Sun Microsystems, Inc.
    MIDlet-1: HelloMIDlet, , HelloMIDlet
    MIDlet-Version: 1.0
    MicroEdition-Profile: MIDP-2.0
    MIDlet-Description: Hello Worldand I don't use the jad file when installing the application (seems to be unecessary when you have a manifest file inside the jar). And I'm unable to debug it because when debugging then it works normally. Also I tried to recompile the BluetoothDemo and the same error(and works through OnDeviceDebug). And when I installed the jar file, which is originally distributed with BluetoothDemo then it worked. When I compared original jar file and my jar file then the only difference was in the size the class files (class files compiled by me were bigger then the class files in original jar file (which work)).
    Any ideas guys and girls?

    I tried that approach but it doesn't work either. I think maybe my directory structure is wrong.
    C:\IRS\IRS.jar
    C:\IRS\irs.hs
    referenced: jar:file://C:/IRS/IRS.jar!/irs.hs
    Am I doing this right?

  • How to use net.rim.device.api.system.GPRSInfo in WTK 2.5.2 for CLDC

    I have just started with JME coding for a month or so and done the following:
    - install sun_java_wireless_toolkit-2_5_2-windows.exe
    - install BlackBerry_JDE_4.6.0.exe
    - set PATH environment variable to ...;c:/program files/java/jdk1.6.0_07/bin;C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\bin
    - add in my source file import net.rim.device.api.system.GPRSInfo to get the Cell-ID (s = String.valueOf(cellinfo.getCellId()))
    but get the following error when I try to build my project:
    ... package net.rim.device.api.system does not exist
    import net.rim.device.api.system.GPRSInfo;
    What do I need to do to fix this?
    Thanks

    Thanks Shan but this is not what I want to do. I don not want to develop into the BB JDE but stay with the WTK. The 2 MIDlet programming models are different and I want to use the standard J2ME model.
    Anyway, I solved my issue by adding just the net.rim.device.api.system classes I need into the midpapi20.jar by simple unpacking the BB jar and the WTK jar into a new environment tree where I mixed what I need (actually just added the net.rim.device.api.system.GPRSinfo and GPRSCellInfo classes into the complete midpapi20.jar structure and repack the whole thing into a new midpapi.jar.
    I can now access the RIM API form within my MIDlet buitl with WTK

  • WTK 2.5.2 device properties files

    Hello,
    is there a list which contains all valid key and maybe values that can be used in the wireless toolkit device properties files (e.g DefaultColorPhone.properties)?
    And is there anywhere some documents how i can create own devices?
    Thanks
    Micha

    but with "camera.src.file" you can define a video to simulate the camera so its not needlessMakes sense. Changing "camera.src.file" probably allows that... did you try it?
    The problem is, is this ability intended by design or not? If it is, then why is it not documented? and why is it absent in QwertyDevice properties?
    If it is not (I mean if "camera.src.file" is not intended to be modified by users), then why it is present in DefaultColorPhone properties?
    In other words, is changing this property a misuse or a legal feature? WTK docs don't clarify this - that's why I call this a problem.

  • Application works no WTK but not on phone

    I created a very simple application, with a form, some textfields, nothing fancy, no images, no menus, etc.
    It works fine on the WTK simulator, and it installs on the phone, but when I execute it I get "Application Error" and it doesn't even open.
    I'm manually creating the JAR file... is there anything I should add to it? I'm using the manifest file created by WTK and the class file (only one).

    Hey thanks mate.
    I have posted my code in other thread if you would like to have a look at it.
    I m using 3G to access my webserver. Oh yeah, I m using pure HTTP and not WAP-HTTP since I have changed the configuration.
    But, as I said previously I had no problems doing the samething from the same device although I didnt send any data, just something like pinging the web server and getting a reply in form of say " works1","works2" and so on....
    Ok, I will have a look at device config. data sheet.
    Thanks for your reply

  • How to use Iden SDK with WTK 2.5.1 ?

    I have installed WTK, and it has been working but I realized I forgot to add the iden SDK for my motorola phone. I installed the SDK but I assume I need to link the files to WTK somehow?
    What I am wanting to do :
    So... I think I know what I need... I thought I had installed the iDEN SDK from Motorola, but I never did. So I installed the SDK but now I don't know how to use it with WTK. For you people proficient with this I am sure this is a simple task, but for me I am lost.
    The SDK has a class file called StatusManager which can retrieve phone battery level...
    From documentation:
    "Field Detail
    BATTERY_LEVEL
    public static final int BATTERY_LEVEL
    This is the value passed to the status manager to retrive the battery levels
    The return value is in the range of [0 - 3] with 0 being no charge and 3 being a full battery.
    BATTERY_LEVEL has a value of 0"
    QUESTION IS: Where do I put the SDK files so WTK can use them? I am lost here.
    I found the StatusManager.class file in :
    C:\Program Files\Motorola\iDEN SDK for J2ME (MIDP 2_0)\lib\i730\com\mot\iden\device\
    Can someone give me the detailed process of using the SDK with WTK... please??

    Thanks Sree.
    Is there something so called as the back-door approach to it.
    I read in the articles of Struct Objects and Connection that:
    If connection is obtained via:
    weblogic.jdbc.jts.connection jtsConn = getConnection();
    OracleConnection oracleConn = jtsConn.conn;
    And this should ideally work in WLS5.1,
    but still i wonder how did they obtain the connection.
    It would be obligatory if someone could help me with it.
    Thanks,
    Kavita
    "Sree Bodapati" <[email protected]> wrote:
    Hi Kavita,
    This is not possible to do this via a connection from the pool. Oracle
    implements non standard methods which require OracleConnection object
    instead of standard java.sql.Connection object which the pool returns.
    You
    have to use a direct connection using the thin driver.
    sree
    "Kavita Rajdeo" <[email protected]> wrote in message
    news:3c6fc1f5$[email protected]..
    The connection pool is created using the Oracle thin driver. The connection
    so obtained when passed to the ArrayDescriptor throws a
    ClassCastException at ArrayDescriptor.createDescriptor(connection con.
    While deployment,deployer throws an exception saying unresolved reference
    to
    oracle/sql/Datum, either include the class files for the same or remove
    the
    reference using the file.
    Would u kindly help me with this as urgently as possible.
    Thanking in anticipation.
    Kavita

  • Java ME SDK 3.0 does not run sample files, but WTK 2.5.2 does

    Hi guys,
    I have following problem: I am using the Java ME SDK 3.0 and I am trying to run some sample MIDlets. For example this very basic HelloMIDlet which can be found here http://developers.sun.com/mobility/midp/articles/wtoolkit/src/HelloMIDlet.java
    Build runs successfully, but if I try to run it, the emulator appears, but nothing happens. Here is a warning from the logfile:
    Starting emulator in execution mode
    Installing suite from: http://127.0.0.1:3607/HelloMIDlet.jad
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\javame-sdk\3.0\work\0\appdb\_delete_notify.dat
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\javame-sdk\3.0\work\0\appdb\_ch_suite.raw
    bdj-run:
    cdc-run:
    profiler.check:
    open-profiler:
    run:
    BUILD SUCCESSFUL (total time: 20 seconds)The exact same source code used with the WTK 2.5.2 builds and runs without a problem. Any ideas what the problem is?
    Thanks a lot,
    iobytrap

    1. Start ME SDK
    2. File -> New Project -> MIDP Application
    3. Select Project Name AND(!) check "Create Hello Midlet". Click "Next"
    4. Select Device "DefaultCldcPhone1"; other as Default; Click Finish
    5. Change body of the HelloMidlet.java according to http://developers.sun.com/mobility/midp/articles/wtoolkit/src/HelloMIDlet.java
    //As you described
    6. Click F6 (Run Main Project)
    As a result: "BUILD SUCCESSFUL"; ME SDK open with "Hello,World".
    So, all works. Please provide step by step scenario if you see problem yet. Also tell me please version of java.
    Regards,
    Mikhail.

  • What is better?: Compiling with newest WTK or oldest WTK

    HI:
    I have installed the WTK 2.5. It's cool but I have a question. The MIDlets compiled with this new WTK are more or less compatible with older/newer phones?
    If I compile a MIDlet with this WTK instead a older WTK (like WTK 2.0) Executes the code more quickly? Using less memory?
    Thanks!!

    Comments inlined:
    I have installed the WTK 2.5. It's cool but I have a
    question. The MIDlets compiled with this new WTK are
    more or less compatible with older/newer phones?It is always better to use the new wireless tool kits since, the oler emulator related bugs would have been eliminated from the providers. Also, most of the toolkits are backward compatible.
    If I compile a MIDlet with this WTK instead a older
    WTK (like WTK 2.0) Executes the code more quickly?
    Using less memory?May be on the desktop environment you'll feel that difference since, new toolkits would have been optimized for performance but it is better to determine the behaviour on device (or) set the heap configurations based on the device in the emulator and check.
    Compiled byte codes remains the same whether you compile with toolkit 2.0/2.5.
    ~Mohan

  • WTKs - Creating a network of them / using several KVMs at once

    Hello,
    I've been using the J2ME wireless tookit for almost two months, and I've already have a look at the documentation, tips and a more-than-beginner approach in programming area, since I use EclipseME. But I need to create a small network and I just need some ways to set off one small project :/.
    I do know that every MIDLET is nothing without a KVM. The toolkits provide a way to let small simulated devices to load them as tiny apps. They are real powerful machines, that can let us view every aspect of the application before actually loading them in a mobile. The problem is when we need to use more than one WTK :(
    Let say someone created a GUI program using Eclipse that shows a canvas of loaded 'squares', that is, instances of the class 'MobileSquare2D'. He or she wants to link every square to KVM virtual machines running in the background and loading the simpliest application (e.g: one that pings to one's requests). He or she can think about using WTK since its emulate mobile phones well. But how about the communication between the KVM machines? And how about the cluttering of wireless toolkit consoles opened up?
    So my question is:
    - Is there a way to run several midlets, in several wireless toolkits in one machine? If so, is there a way not to use its GUI? (that is, not graphical output, since I only want to send a data from one WTK to another?) If its not possible to run many WTKs, someone know an alternative to WTK? Maybe a 'MIDP Midlet loader'?
    - Is around there any opensource project of a WTK? Thats because I would need to use a Java SE1.4 class that outputs in my GUI these small retangles, as said above, each one being a mobile phone, that is, everyone running KVM on them.
    As I know I would have extremme work if reinventing the whell (in regard to implementing a UDI program), and Im only a student, it could be more productive if using classes that references KVM and loads small JAR files (or even the simplest program which uses only a .class file) Which can access KVM and external protocol modules and create a small simple connection of virtual mobile phones, in order to do experiments like receiving a ping response and sending XML files to be outputted in the other's screen.
    I will be very glad and stimulated if someone helps me a bit here. I do know the great potentials of using KVM and its midlets not only for mobile phones but network sensors, as well. I tried to get some help with other Wireless Toolkit developers but they appear to not exist at all :/ And googling about it wasn't useful (no topic about).
    Regards,
    Ivan Aedler

    1. sym.$("video").hide(); will hide all the video elements, then you can selectively show a particular video  as sym.$("Vidoe01").show();
    2. Write a function in the compositionReady like:
              sym.hideShowVideo = function(name) {
                   sym.$("video").hide();
                   sym.$(name).show();
    And call this function for each button like sym.hideShowVideo("Video01");
    hth,
    Vivekuma

  • WTK 2.5.2 change camera resoultions

    Hello!
    I'm using NetBeans 6.1 with WTK 2.5.2, where can i see which camera resolutions are allowed?
    Can I change the resolutions in the "DefaultColorPhone.properties" file or in any other file?
    Greetings
    Micha

    you can change the camera resolutions using your code . if your target device implements the advanced multimedia supplements API (jsr 234)
    you can get the supported resolutions by
    int []myResolutions= cameraControl.getSupportedStillResolutions();this array will contain the supported resolutions in pairs
    [480, 640, 960, 1280, 1224, 1632, 1500, 2000, 1536, 2048]
    index:
    0 - 640x480
    1 - 1280x960
    2 - 1632x1224
    3 - 2000x1500
    4 - 2048x1536
    next using the cameraControl interface
    cameraControl = (CameraControl)player.getControl("CameraControl");
    cameraControl.setStillResolution(1);

  • JSR 172 XML parser in WTK 2.5: problems compared to 2.2

    Hi,
    I'm experiencing 2 problems with the WTK 2.5 JSR 172 XML parser that do not occur with:
    -WTK 2.2
    -Sony-Ericsson Emulator WTK2
    -Sony-Ericsson devices.
    They are:
    - attributes.getLocalName(i) always returns an empty string
    - documents with multiple roots cause a parser panic
    Anyone has a hunch?
    Thanks a lot,
    Philippe
    Message was edited by:
    philippelaporte

    I wonder if anyone has encountered the same problem as I and has found a workaround about it. I am trying to create a UI builder that generates itself by reading an XML file.
    One of the elements is a Combo Box, which should be read from the following structure:
    <form>
              <combobox>
                       <value>My first value</value>
                       <value>My second value</value>
                       <value>My third value </value>
              </combobox>
    </form>Then I proceed to generate a vector of UI Elements, and process the Combobox, for example, as follows:
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import java.util.*;
    public class UIConfHandler extends DefaultHandler{
         //For knowing to which element am I adding content
         private Stack tagStack = new Stack();
         //An interface that allows me to access content to my elements
         private UIElement element;
         //A container of the elements retrieved from the file
         private Vector envelope;
         public UIConfHandler(){
         public void startDocument() throws SAXException {
              envelope = new Vector();
         public void endDocument() throws SAXException {
         public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException{
              System.out.println("Beginning of the element");
              if(qName.equals("combobox")){
                   //I just cast my element as a Combo Box element, and add specific content from within the attributes of the tag
                   element = new ComboBoxElement(attributes.getValue("id"),attributes.getValue("label"),attributes.getValue("type"),"");
              else{
              //And I add the reference to which element am I currently in via the stack
              tagStack.push(qName);
         public void characters(char[] ch, int start, int length) throws SAXException{
              String chars = new String(ch, start, length).trim();
              if(chars.length() > 0){
                   if((qName.equals("value"))){
                        if (element instanceof ComboBoxElement ){
                             //I add a specific value to a Vector inside my ComboBox content
                             ((ComboBoxElement) element).addElementToVector(chars);
                   else{
                        System.out.println("Content with no action specified.");
         public void endElement(String uri, String localName, String qName, Attributes attributes) throws SAXException{
              System.out.println("End of the element");
              if(qName.equals("combobox")){
                   //After all the values are added inside the internal vector of the element, add the element to the container
                   envelope.addElement(element);
              //And remove the combobox element from the stack
              tagStack.pop();
         public Vector getEnvelope() {
              return envelope;
    }Afterwards, I would use this element to create a ChoiceGroup to be viewed in a MIDlet. The problem is that the code in endElement is never called. Does somebody know what this could be?
    /C�sar
    Message was edited by:
    Sigurdvh

  • Streaming audio-video on the mobile device

    Please, I must do the streaming audio-video on the mobile device using a server standard.
    I must to program the application for the server using j2se:in this case how i can send the file audio/video?This file have specifies classes?
    For the client i must using the j2me:in this case how can receive the file audio and creating the player?
    Thanks.

    Hi, please help,
    I have problem in this area also,
    am intending to stream audio and video data to mobile phone using j2me for my bs project.,
    is that true, midlets can only 'plays back' one file at time specified by url?
    I want to store many files in database( e.g ms access), and call them to midlets, to make some how interactive and real,because i have tomcat server installed in my pc.
    is this possible?
    How can i call file stored beyond path of WTK ?
    can i store audio/ video file in ms- access?
    Please, please help !
    thanks in advance.
    Message was edited by:
    nbkamani

  • How can I tune up WTK 2.5.2 performence except Preferences/Performance?

    Hi
    Is there a way to tune up WTK 2.5.2 performence? I've already checked the Preferences/Performance. I'm developing J2ME application which uses a lot of icons etc. generaly it works ok. However when it comes to the screens with icons, the emulator is very slow :(. How can i change that. Maybe add more RAM to the emulator or something. My app doesn't need to work on real device so optimalization and other concerns are out of the question.
    Anybody knows the answer?
    thx

    Sorry, didn't see that part.
    Anyway, in that case, you should profile your application to find out what part of your code is slow, and try to impove it

  • JSR 172 XML parser in WTK 2.5: problems compared to 2.2 (part 2)

    Hi,
    I'm experiencing 2 problems with the WTK 2.5 JSR 172 XML parser that do not occur with:
    -WTK 2.2
    -Sony-Ericsson Emulator WTK2
    -Sony-Ericsson devices.
    They are:
    1- attributes.getLocalName(i) always returns an empty string
    I tried:
    parserFactory.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
    -> still the same
    Then I tried:
    parserFactory.setFeature("http://xml.org/sax/features/namespaces", true);
    with this I get an exception when I try to create a parser.
    2- documents with multiple roots cause a parser panic.
    It is widely known that an XML document MUST NOT have multiple roots.
    I know. So what you're saying is they fixed a bug...
    Still, since devices and the WTK 2.2 doesn't have it, I was hoping there might be a backwards-compatiblity mode.
    I am trying to use the XML parser to parse a small HTML subset. If at least the panic Exception reported the position in the stream, maybe I could just start parsing again from there.
    The point is, why has ist changed, and will the change move to all implementations.
    Anyone has a hunch?
    Thanks a lot,
    Philippe

    Hi,
    I'm experiencing 2 problems with the WTK 2.5 JSR 172 XML parser that do not occur with:
    -WTK 2.2
    -Sony-Ericsson Emulator WTK2
    -Sony-Ericsson devices.
    They are:
    1- attributes.getLocalName(i) always returns an empty string
    I tried:
    parserFactory.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
    -> still the same
    Then I tried:
    parserFactory.setFeature("http://xml.org/sax/features/namespaces", true);
    with this I get an exception when I try to create a parser.
    2- documents with multiple roots cause a parser panic.
    It is widely known that an XML document MUST NOT have multiple roots.
    I know. So what you're saying is they fixed a bug...
    Still, since devices and the WTK 2.2 doesn't have it, I was hoping there might be a backwards-compatiblity mode.
    I am trying to use the XML parser to parse a small HTML subset. If at least the panic Exception reported the position in the stream, maybe I could just start parsing again from there.
    The point is, why has ist changed, and will the change move to all implementations.
    Anyone has a hunch?
    Thanks a lot,
    Philippe

  • WTK 2.2 hiccup (linux, java 1.4.2)

    Hello
    I have used WTK before.
    I installed:
    - debian testing
    - j2SE 1.4.2.11 (via .bin-methode since the rpm is borked since about 3 years and 20 versions)
    - WTK 2.2
    I start the ktoolbar, open any sample project and click on "run". The emulator comes up and the display stays blank => http://img153.imageshack.us/img153/2923/wtk0en.jpg for 10 min. Closing the emu frezes both the emu and ktoolbar. Same thing with every other "Device".
    After 10 min i get "Warning: Failed to initialize WMA message routing support". i guess waiting for another ... 2 hours will do the trick.
    The PC is fast enough (dual 3 GHz), there is a lot of RAM (2 GB, 1.8 free) and there are no other progs running. I know java is slow, but this is way too much.
    any thoughts ?
    (Just got "Warning: Failed to initialize Bluetooth (JSR 82) support" ... it's getting closer...)

    Hi Ken,
    I m working on a CRM application and its uses struts framework. It is deployed on WAS 7.00.
    What i feel is you have to specify in struts config files, you have to specify the name of the *.action to call any action file.
    Also you need to the action class that is to be called when a particular action is requested.
    Hope this help to resolve your query!!!!
    Rgds,
    Prashil

Maybe you are looking for

  • Photoshop cs5 crashes on open. Use to crash type tool but now wont open at all.

    Hey just bought a MacBook Pro 2 weeks ago. Installed CS 5. Worked for 1 week. and now Photoshop will not open. Have not tried the other sw yet. Please help. Thanks Process:         Adobe Photoshop CS5 [914] Path:            /Applications/Adobe Photos

  • How to get file name on picture?

    Hi there. Is there a way to get the file name on the picture when exporting or "save as" my pictures? I am going to run a web site where people can order pictures and it will be much easier if I can have LR "printing" the file name on the picture. Re

  • Mac wont load properly

    Hi, im a trip away meeting family for a few months so i brought my laptop with me, anyhow i was using my imac fine turnt it off to later go on to finsh some work and for some reason or another when i load my mac the gray apple shows up with noise an

  • Cannot Mount Boot Volume

    My iBook G4 stopped booting properly this morning. I was installing the Adobe After Effects CS3 trial when the screensaver came on after a while, but when I moved the mouse to deactivate it, the authentication dialog did not appear as usual, so I for

  • Important! storing Java counter in database

    How do I store a counter from a Java webpage into a database? It doesn't really matter what database I use, I just need the values of the counter to be stored in the database 3 times a day and if it were clicked, it would be updated with the current