CLDC 1.0 to 1.1?

Hey everyone,
I have CLDC 1.0 on my mobile phone, and i need to be able to get CLDC 1.1 due to sqrt and 3D programming...but i have not figured out how to do that...so does anyone know how to get CLDC 1.1 on your phone to update your phone's system
Thanks
Kevin

Seems the problem is that CLDC1.0 doesnt support floating point maths? if thats the problem you could try a third party library like MathFP: http://home.rochester.rr.com/ohommes/MathFP/

Similar Messages

  • How can I connect to a database from ipaq with cldc??

    how can I connect to a database from ipaq with cldc??

    Hi Again
    There is a library by Mimer which allows you do connect to a Mimer SQL Server, don't know must about it, but here is a link.
    http://developer.mimer.com/
    If that doesn't suit you, I suspect that you will have to use some sort of proxy solution. Either by creating a servlet to accept the sql string you want to send, or by creating your own custom proxy server running J2EE. The servlet or the proxy server must be able to receive an SQL String, do the query to the actual database and return the results in some sort of format to the mobile device. Maybe just a space delimited string.
    Hope this helps
    -Daur

  • Problems with CLDC

    Hey all,
    I'm having some problems connecting to a simple Bluetooth device. I want to create a Java application that allows a computer to connect to a generic bluetooth device (at this current point and time my cellphone). I'm having problems using the CLDC to connect. Here is a summary:
    I've plugged Bluetooth adaptor into my computer's usb drive allowing it to detect bluetooth devices. When I run it via the Windows GUI it successfully detects my phone. Now I am trying to use NetBeans to create a java program which detects these devices.
    Here is the relative parts of the code:
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import javax.bluetooth.BluetoothStateException;
    import javax.bluetooth.DeviceClass;
    import javax.bluetooth.DiscoveryAgent;
    import javax.bluetooth.DiscoveryListener;
    import javax.bluetooth.LocalDevice;
    import javax.bluetooth.RemoteDevice;
    import javax.bluetooth.ServiceRecord;
    import javax.bluetooth.UUID;
    import javax.microedition.io.Connector;
    import javax.microedition.io.StreamConnection;
    import javax.microedition.io.StreamConnectionNotifier;
    public class Test {
        public static void main(String[] args) {
          try {
              javax.microedition.io.Connection c = null;
              m_Remote = RemoteDevice.getRemoteDevice(c);
             String remoteAddress = m_Remote.getBluetoothAddress();
    catch (BluetoothStateException ex)
                ex.printStackTrace();
                ex.getMessage();
            catch (IOException ex) {
                ex.printStackTrace();
                ex.getMessage();
            }This leads to:
    Exception in thread "main" java.lang.NullPointerException: null connection
            at com.sun.kvem.jsr082.bluetooth.RemoteDeviceImpl.getRemoteDevice(RemoteDeviceImpl.java:43)
            at javax.bluetooth.RemoteDevice.getRemoteDevice(RemoteDevice.java:192)
            at javaapplication3.ClientServer.SearchAvailDevices(ClientServer.java:116)
            at javaapplication3.ClientServer.InitClient(ClientServer.java:105)
            at javaapplication3.ClientServer.<init>(ClientServer.java:60)
            at javaapplication3.Test.main(Test.java:15)
    Java Result: 1I figured it was a remote device since I was trying to connect to my phone. I've also tried using the local device methods.
    LclDevice = LocalDevice.getLocalDevice();Which leads to:
    BluetoothStateException: nullI've never worked with bluetooth or J2ME before (obviously) and any help would be appreciated. I've also looked up online and seen that I may need to initilize the stack? (The dongle is running Widcomm version5.1 and V6). However, all examples I have seen on that have told me to use the package com.atinav.BCC, and that package is unavailable right now (the website which hosts the package www.atinav.com -> downloads isn't working).
    My overall questions are basically: Do I need to initialize the Bluetooth stack, and if so how? If I do not need to initialize the stack, what am I doing wrong (or what do I need to configure using these libraries in order to make this work).
    Thanks,
    Tim

    Thanks for the response.. unfortunatly I have looked through those examples. They don't give me the same error, instead the examples just seem to detect themselves. When I ask for the address of the local device it found, it spits out whatever UUID I supplied.

  • Problems with File I/O in  java applications at KVM/CLDC Layer

    I wrote couple of programs made use of Connector.open with "file" protocol to perform File I/O.
    Code snippet from java application for File Read
    InputConnection conn = (InputConnection)
    Connector.open("file:/input.txt", Connector.READ );
    I got javax.microedition.io.ConnectionNotFoundException: The requested protocol does not exist file:/input.txt
    Code snippet from java application for File Write
    OutputConnection conn = (OutputConnection)
    Connector.open( "file:/input.txt;append=true", Connector.WRITE );
    I got javax.microedition.io.ConnectionNotFoundException: The requested protocol does not exist file:/input.txt;append=true
    I have couple of questions
    1. Does Connector class support "file" protocol at KVM/CLDC layer of Sun's reference implementation?
    2. If so, what could I be doing wrong?
    Thanks,
    Nuthan
    I'm looking forward to hear from you.

    I believe you can find the right answer here :
    http://forum.java.sun.com/thread.jsp?forum=50&thread=307980
    Hope that will help.
    bye

  • Using CLDC Sun Java(TM) Micro Edition SDK 3.0 EA with netbeans

    Hi ,
    has anyone stumbled upon this - I just installed netbeans and Java(TM) Micro Edition SDK 3.0 and am trying to work with the examples of the sdk inside the netbeans , but when I open them I get the message : "Problem - the project uses platform CLDC Sun Java(TM) Micro Edition SDK 3.0 EA", but it was not found. Create platform named like this - I tried to do it , but it doesn't help.
    Is there any way of overcoming this?

    Ok , I found the solution.
    I installed the Sun Java Wireless Toolkit for CLDC ver 2.5.2.2_01 directly (not as part of the SDK 3.0) , then added new platform and a new project configuration
    according to the new platform.
    In case someone else stumbles on that....

  • CLDC 1.1, MIDP 2.0 and JSR-75,135 in Java(TM) ME platform SDK 3.0, EA?

    Hello.
    I am trying to develope a "simple" MP3 playback application using "Java(TM) ME platform SDK 3.0, EA", but I have a problem.
    I need to write the program for a device that has CLDC 1.1 and MIDP 2.0 configuration, with optional JSR-75 and JSR-135 packages.
    When I start a new MIDP application project, I can choose the platform. Then I have 3 options:
    DefaultCldcMsaPhone 1&2 --- CLDC-1.1 & MIDP-2.1 with MMAPI and File Connection (among others)
    DefaultCldcPhone 1&2 --- CLDC-1.1 & MIDP-2.1 with MMAPI and File Connection (among others)
    DefaultCldcJtwiPhone 1&2 --- CLDC-1.1 & MIDP-2.0 with only MMAPI and Wireless Messaging.
    The other options are greyed, so I can not select a combination that has CLDC-1.1, MIDP-2.0, MMAPI and File Connect at the same time... I have tryied switching to the full NetBeans and then I have more flexibility choosing the device configuration and profile, using "Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC" emulator platform. But when I run my application in the emulator, it takes some seconds to start playing the MP3. When I change to SDK 3.0, it plays inmediately.
    So my question is, can I create a custom device that has everyting I need with "Java(TM) ME platform SDK 3.0, EA"?
    Thank you in advance.
    Marc Vallribera i Ros

    Hi,
    This problem is known and will be resolved in Final Release of SDK.
    Now you can try to change configuration in <your_project_path>/project.properties file.
    platform.bootclasspath and platform.profile parameters should be changed.
    Igor

  • How to install cldc and imaps

    All every one please help me, How to install the cldc and imaps.I download already but i don't know how to install them.

    All every one please help me, How to install the cldc
    and imaps.I download already but i don't know how to
    install them.Why do you post this in the algorithms section?
    Anyway, I don't know what you're talking about. I'd start looking on the website of the company that made the software. Presumably they have a FAQ-page and/or a page with installation instructions.
    Good luck.

  • Pl help me.....in cldc/midp, cldc/pdap based application

    application is developed in cldc/midp environment , will it run in pda devices which also has cldc configuration...
    pl help me in this....
    Thnaks in advance

    CLDC will support jdk1.2 that's Personal java. So if you develope program using jdk1.2 it will support pda computer. Before u run this program using Pjee(personal java emulatior enivronment).
    u run this program using "pjava file name"

  • Class literal in CLDC 1.0 vs. CLD C1.1

    I'm using the NetBeans IDE v3.5 with the J2MEWTK 2.1 module to develop a CLDC1.0 MIDlet.
    I've found that if I use a class literal in my code (e.g. TextBox.class) the compiler gives the very informative error: "Errors compiling TestClassLiteralMidlet."
    I've also found that if I change the CLDC version of the project from CLDC 1.0 to CLDC 1.1 it works properly.
    Finally, I've found that if I compile the MIDlet for CLDC1.1 then try to run it on the "DefaultColorPhone [WTK 1.0.4]" the emulator gives the error:
    ALERT: Unable to load class java/lang/NoClassDefFoundError
    So, I assume the problem is that using a class literal is somehow generating code that requires the java.lang.NoClassDefFoundError.
    Any idea's how to get the compiler to compile this code properly for CLDC 1.0 phones?
    Thanks,
    Dave
    Entire MIDlet file:
    * TestClassLiteralMIDlet.java
    * Created on June 10, 2004, 2:03 PM
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    * An example MIDlet with simple "Hello" text and an Exit command.
    * Refer to the startApp, pauseApp, and destroyApp
    * methods so see how each handles the requested transition.
    * @version
    public class TestClassLiteralMIDlet extends MIDlet implements CommandListener {
    private Command exitCommand; // The exit command
    private Display display; // The display for this MIDlet
    public TestClassLiteralMIDlet() {
    display = Display.getDisplay(this);
    exitCommand = new Command("Exit", Command.SCREEN, 2);
    * Start up the Hello MIDlet by creating the TextBox and associating
    * the exit command and listener.
    public void startApp() {
    String s = "This is a " + TextBox.class.getName();
    TextBox t = new TextBox("Hello MIDlet", s, 256, 0);
    t.addCommand(exitCommand);
    t.setCommandListener(this);
    display.setCurrent(t);
    * Pause is a no-op since there are no background activities or
    * record stores that need to be closed.
    public void pauseApp() {
    * Destroy must cleanup everything not handled by the garbage collector.
    * In this case there is nothing to cleanup.
    public void destroyApp(boolean unconditional) {
    * Respond to commands, including exit
    * On the exit command, cleanup and notify that the MIDlet has been destroyed.
    public void commandAction(Command c, Displayable s) {
    if (c == exitCommand) {
    destroyApp(false);
    notifyDestroyed();

    Actually, neither of your answers is correct.
    TextBox.getClass() doesn't work because getClass() is not a static method (in my actual code, I don't want to instantiate a class just to get the Class reference).
    TextBox.class is a proper class literal and should work (and does with CLDC1.1).
    I just need help working around an apparent bug in NetBeans, JDK1.4, or WTK2.1 where it doesn't work when compiling for CLDC1.1.

  • Problem with cldc emulator

    I built 7-8  java me cldc apps and ran them using netbeans 8.0&java me sdk 3.4.After that I deactivated the java me plugins in netbeans.Later on when I activated them again, the emulator didn't run(unluckily I didn't note down the error message).As this happened many times I uninstalled the java me sdk&the java me plugins.Now i have reinstalled them and when I ran a project I got the following error(and the emulator dosen't run)
    *** Error ***
    Failed to connect to device 4!
    Reason:
    Process launching runtime component exited with code -1073741783
    E:\java m\MobileApplication1\nbproject\build-impl.xml:782: Execution failed with error code 1.
    BUILD FAILED (total time: 6 seconds)
    When I click on the link "E:\java m\MobileApplication1\nbproject\build-impl.xml:782"
    I go to the following location
            <nb-run jadfile="${dist.dir}/${dist.jad}" jarfile="${dist.dir}/${dist.jar}" jadurl="${dist.jad.url}" device="${platform.device}" platformhome="${platform.home}" platformtype="${platform.type}" execmethod="${run.method}" securitydomain="${evaluated.run.security.domain}" commandline="${platform.runcommandline}" classpath="${platform.bootclasspath}:${dist.dir}/${dist.jar}" cmdoptions="${run.cmd.options}"/>

    Hi Sudhakar,
    What is the RFC destination for your syncBo? Check whether the destination does exist. If the destination does exist check whether the table to store the data from the middleware are present and active.
    Also provide me with your system's configuration.
    Regards,
    Rahul
    If this helps, do not forget my points
    Message was edited by: Rahul Gavande

  • Trouble compiling cldc 1.02

    I'm trying to install j2me, and I downloaded midp, j2mewtk, cldc, and midp-palm. Where I'm having the most trouble currently is trying to build cldc. I'm running NT4, but I don't have cl, which the build wants to use. I do have g++. Can anyone help me with this problem? If I try make from the dos window, I get:E:\java_pda\j2me_cldc\build\win32>make
    Syntax error: Unterminated quoted string
    make: *** [all] Error 2If I try make from cygwin:mike@QUARK /cygdrive/e/java_pda/j2me_cldc/build/win32
    $ make
    Recursively making ../../tools/preverifier/build/win32 all...make[1]: Entering directory `/cygdrive/e/java_pda/j2me_cldc/tools/preverifier/bu
    ild/win32'
    make[1]: cl: Command not found
    make[1]: *** [check_class.obj] Error 127
    make[1]: Leaving directory `/cygdrive/e/java_pda/j2me_cldc/tools/preverifier/bui
    ld/win32'
    make: *** [all] Error 1I tried alias cl=g++. But that doesn't work either. I also tried the linux build. This gets no farther (I didn't really expect it to...)
    Thanks in advance,
    m

    I just tried that and got the following error:mike@QUARK /cygdrive/e/java_pda/j2me_cldc/build/win32
    $ make GCC=true
    Recursively making ../../tools/preverifier/build/win32 all...make[1]: Entering directory `/cygdrive/e/java_pda/j2me_cldc/tools/preverifier/bu
    ild/win32'
    ../../src/convert_md.c: In function `native2utf8':
    ../../src/convert_md.c:109: warning: unused variable `i'
    ../../src/classresolver.c: In function `Locked_InitializeClass':
    ../../src/classresolver.c:693: warning: implicit declaration of function `utf2na
    tive'
    ../../src/classresolver.c: In function `InitializeAndResolveClass':
    ../../src/classresolver.c:1002: warning: unused variable `ee'
    /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cann
    ot find -lmsvcrt
    collect2: ld returned 1 exit status
    make[1]: *** [preverify.exe] Error 1
    make[1]: Leaving directory `/cygdrive/e/java_pda/j2me_cldc/tools/preverifier/bui
    ld/win32'
    make: *** [all] Error 1thanks,
    m

  • Floating Point # in MIDP & CLDC...

    What is way of using the floating point numbers in MIDP & CLDC?
    MIDP and CLDC has no built in support for it.
    Plz help me...

    simple.... Don't :P
    you've got fixed point libs available, but theyre not exactly fast.
    It is possible to recompile the KVM and enable floating point support, but none of the embedded implementations have this support, so its a pointless excercise.
    What do you need floating point for?

  • CLDC emulator is not showing windows mobile emulator as a registered device

    Hi,
    I want to run one J2ME application on windows mobile 6 emulator. I have done the setup using CLDC emulation on windows Mobile Emulator.
    After doing installation of CLDC on emulator, need to register the emulator IP address in SDK. Done that using device-address.exe . Its done successfully.
    Though device manager shows IP as its registered address, but emulator does not show the device emulator in its devices list.
    emulator.exe -Xquery ------------> does not show windows mobile emulator it its devices list.
    Can anyone please help for this. Without this am not able to run my J2ME application on windows mobile emulator.
    FYI: I have installed MS Virtual PC but windows mobile 6 emulator is not binded to Virtual Machine Network Services Driver. Because, I am not getting this in drop-down list of adpaters.
    I believe it will not make any effect.
    Please help.

    bkbooth11 wrote:
    Hey,
    I tried connecting my iPhone to a friends Mac and I wasn't able to see the photos in iPhoto either.
    I have solved the problem though, well not me really, I found it in one of the other threads on here about not being able to see the iPhone on iPhoto.
    Go through your Camera Roll and get rid of all the pictures in there that weren't taken with the iPhone camera, I had pictures in there that people had sent me via MMS and pictures that I had downloaded from e-mails. I e-mailed myself any important pictures and deleted the rest, leaving just all the photos I had taken with the iPhone camera. Connected to the computer and the iPhone is showing in My Computer again.
    Hope this helps everyone here.
    Thanks bkbooth11 I did as you suggested and that fixed the problem. Hopefully they will patch that soon as it is rather inconvenient.

  • Regarding CLDC Hotspot

    Hi,
    i am Mukesh From India Bangalore. can any one help me in setting the cldc hotspot implemation ? i mean what are all things required to setup the development enviorment,i have gone through the white papers but it is not clear how to set up.
    secondly i am working on J2ME Application using wtk2.3 beta version, i would like to enable & disable JIT(Just in time) Compiler.
    and last query is: How can i do make my methods as inline ? (Wait before you answer this question) i have already tried my hands with static, final, private, making local variables, but no use @ all.
    -Waiting for you quick response.
    -Mukesh
    Bangalore
    India.

    {color:#000080}Your question is not at all clear, but if you're looking for an IDE for j2me you could try NetBeans, a free product from Sun, with the Mobility pack and WTK 2.5.1 (or latest).{color}
    i have already tried my hands with static, final, private, making local variables{color:#000080}Doesn't make sense to try stuff without understanding. Programming is not a lottery. I suggest you go through some Java tutorials, such as those available at
    {color}{color:#0000ff}http://java.sun.com/docs/books/tutorial/index.html{color}{color:000080}
    To ask better questions which in turn get you better answers, read
    {color}{color:#0000ff}http://catb.org/~esr/faqs/smart-questions.html{color}{color:000080}
    db{color}

  • Converting from MIDP 2.0 and CLDC 1.1 to MIDP 1.0 and CLDC 1.0

    Hello
    I have a Midlet that I set initially to use MIDP 2.0 and CLDC 1.1. I changed the platforms to MIDP 1.0, after i changed to MIDP 1.0 i get an Obfuscation failed with error code 1. error. I am using the NetBeans Progaurd obfuscator.
    When I change to CLDC 1.0 i get a Preverification failed with error code 1 Floating point result not allowed error.
    Can someone please help.

    When I change to CLDC 1.0 i get a Preverification failed with error code 1 Floating point result not allowed error.
    I am using bouncy castle cryptographic classes, i assume these use floating points. This is probably the reason why i cannot convert to CLDC 1.0.
    How about converting to MIDP 2.0?
    null
    null

  • Any API to read Microsoft Office files in CLDC devices?

    Hello,
    Is there any API(Like Apache POI API, for J2SE) available to read Microsoft Office files in J2ME (CLDC)? I think Apache POI API can not be used in J2ME. Am I right?
    Your comments and/or help will be greatly appreciated.
    Best Regards,

    To be able to edit files you need to purchase an additional application.
    Quickoffice is the app you need and it's available here:
    http://www.quickoffice.com/quickoffice_symbian/
    It may also be available in the ovi store.

Maybe you are looking for

  • No GPU Acceleration or MPE benefit (FX3800)

    Yikes Installed CS5  (Full Paid Version) yesterday.  Shaking it down today. Everything is working at light speed except..... I do not get any GPU Acceleration or MPE benefit from the QUADRO FX3800 (or PPRO). As soon as I apply any GPU accelerated  ef

  • Thinking of selling?......

    I was thinking of selling my iBook, its about 8 months old and in brilliant condition. I've done some research and i think if i play my cards right i could get £450 - £550 on eBay its got everything that came with it (including the original box) and

  • 5508 WLC redundancy issue.

    I am trying to set up fail-over for Cisco 5508 Wireless LAN Controller which is using 7.4 version software. I setup the redundancy port and peer redundancy. While checking,one becomes active and other becomes standby. Its showing everything perfectly

  • Can i switch off my tc everyday when i don't use it? can this create troubleshot?

    i want to switch off my time capsule every night (when i don't use my mac). Can this create troubleshot??

  • Adobe Connect - From Email and Aliases

    Hi, Recently my email reminders being sent from Adobe Connect have been from the email "Adobe Connect" [[email protected]] This is despite using the default setting where the event creator email address is normally used, as well as setting up a new a