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]?

Similar Messages

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

  • Reminder: Online chat, June 14: What's New in the Sun Java Wireless Toolkit

    Got a question about the Sun Java Wireless Toolkit (formerly known at the J2ME Wireless Toolkit)? Want to learn what's new and cool in the Sun Java Wireless Toolkit?
    (One thing new is that the Sun Java Wireless Toolkit 2.3 beta has been recently released.) Then join this chat with Ariel Levin, lead engineer for the Toolkit, writer Jonathan Knudsen, who's written a lot about the Toolkit, and product marketing manager E-ming Saung. They'll answer your questions on Tuesday, June 14, at 9:00 A.M. PDT (12:00 noon EDT/16:00 UTC).
    To join the chat, go to http://java.sun.com/developer/community/chat/index.html on June 14 and click on the "Join" link for the session.

    How about a link to a document for those of us who (a) don't want to spend a whole hour on the issue (b) don't want to do it at that particular time (c) both?

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

  • Sun Java Wireless Toolkit 2.5.1 for CLDC - now available with Linux support

    Sun is proud to announce the release of Sun Java Wireless Toolkit 2.5.1 for CLDC. It includes some minor implementation bug fixes, support for hardware USB tokens for midlet signing, and support on Ubuntu linux is provided.
    Download from here:
    http://java.sun.com/products/sjwtoolkit/download-2_5_1.html

    Hi,
    Yes, we are working on making a linux release available, but we don't have a specific date as of yet. We'll provide updates as soon as we have a better idea.
    Thanks,
    E-ming

  • Java ME: Sun Java Wireless Toolkit not available anymore?

    Hey everyone,
    Does anyone know whats going on here? http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javame-419430.html
    Says it's been updated and will be available shortly - except it looks like it's been like that since March 20th (?)
    I'm trying to get started on a Java ME project that was dumped on me so this is just perfect timing for me.
    Does anyone know where I could get a trusted version of the Java wireless toolkit outside of Oracle's site? Googling it gives me some dodgy looking sites which I'm not too keen on trusting.
    TIA
    Jay
    Edited by: 927609 on Apr 14, 2012 12:46 AM

    Try google: [url http://www.google.com/search?q=site%3Aforum%2Ejava%2Esun%2Ecom+communications+api+win32]site:forum.java.sun.com communications api win32. One of the replies in [url /thread.jspa?threadID=684314]second link seems to have the answer.

  • Sun Java Wireless Toolkit 2.5.2 for CLDC released!

    We've released the WTK 2.5.2 (Windows, Ubuntu Linux, and multilingual versions) with improved multiuser environment support. We've heard and listened to user's comments and have recompiled our WTK for Ubuntu linux based on Glibc 2.3 libraries to provide support for other distributions of Linux. Keep in mind, the WTK has been tested on Ubuntu Linux version 6.x.
    Download the latest version today:
    http://java.sun.com/products/sjwtoolkit/download.html
    For feedback on the Wireless Toolkit, please click here:
    http://developers.sun.com/contact/feedback.jsp?&category=j2me&mailsubject=Sun%20Java%20Wireless%20Toolkit%20for%20CLDC
    Thanks!

    Hi,
    Yes, we are working on making a linux release available, but we don't have a specific date as of yet. We'll provide updates as soon as we have a better idea.
    Thanks,
    E-ming

  • Sun Java Wireless Toolkit 2.5 for CLDC final release available for download

    We are proud to annouce that the final release of the WTK 2.5 is now available for download: http://java.sun.com/products/sjwtoolkit/download-2_5.html
    New features include:
    -support for the Mobile Service Architecture (JSR 248) platform
    -new supporting utilities to support application development for newly supported JSRs
    -new and updated emulator skins
    Download today!
    http://java.sun.com/products/sjwtoolkit/download-2_5.html

    Hi,
    Yes, we are working on making a linux release available, but we don't have a specific date as of yet. We'll provide updates as soon as we have a better idea.
    Thanks,
    E-ming

  • Third party emulators for Sun Java Wireless Toolkit 2.5.1 for CLDC

    I'm developing Java mobile applications in Linux with NetBeans & WTK 2.5.1 for CLDC.
    In the WTK documentation they give this link for third party emulators but is not mantained anymore.
    Do you know where to get some emulators compatible with WTK for CLCD?
    Thanks in advance
    Rod.

    Hi,
    Yes, we are working on making a linux release available, but we don't have a specific date as of yet. We'll provide updates as soon as we have a better idea.
    Thanks,
    E-ming

  • Sun Java Wireless Toolkit for Solaris

    I dont see the SJWTK for Solaris in list update of NetBeans, only 2.1.
    However, in the site already exists version 2.5.X., but Linux and W32, why?

    I also wanted to use JWT 2.5.2 on Solaris but it seems there is no supporting libraries. I get the following error when trying to run the Linux ktoolbar:
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.io.FileNotFoundException: /usr/local/WTK2.5.2/wtklib/SunOS/ktools.properties (No such file or directory)Any plans to support Solaris?
    Edited by: JacoVosloo on Nov 8, 2009 12:55 PM

  • Availability of Java Wireless Toolkit (J2ME) for linux

    Hi, Could anyone tell me when will be available the Java wireless toolkit for Linux again ?
    According to download page is offline since March 20
    Sun Java Wireless Toolkit for CLDC 2.5.2 ML
    - March 20, 2012 - This download is being updated and will be made available again shortly, please check back regularly for it's availability.
    Is there any other way to download the Linux API for mobility development ?
    Thanks in advance.

    The link is back up.

  • POSE x Java Wireless Toolkit

    Hi,
    Could anybody teach me how to set the POSE in the J2ME Wireless Toolkit?
    When I click on Preferences of 'j2me wireless toolkit 1.0.4_02' it doesn't appear.
    thanx,
    Rodrigo

    The answer is:
    download java wireless toolkit 1.0.3:
    http://java.sun.com/products/sjwtoolkit/10301download.html
    Rodrigo

  • Java Wireless Toolkit Setup Help Needed

    I am interseted in mobile application development, and I have recently tried to set up the Java Wireless toolkit 2.0 on my laptop.
    I have spent gours trying to get it to work correctly - still nothing!!
    When it's all installed, I have opened up the sample projects -- e.g. Games.
    When I hit 'Build' I am given the following error:
    Project "games" loaded
    Project settings saved
    Building "games"
    C:\WTK20\apps\games\src\example\pushpuzzle\PushPuzzle.java:145: cannot access java.lang.StringBuilder
    file java\lang\StringBuilder.class not found
    alert.setString("Could not load level " +
    ^
    com.sun.kvem.ktools.ExecutionException
    Build failed
    Can someone please tell me what to do?!?
    Is it to do with setting the classpath?? How do I do that??
    What other Java tools do I need to have prior to installing the Wireless toolkit?? JVM?? Where do I get this? How do I install it correctly and set paths correctly??
    Any help would be HUGELY appreciated as I have downloaded so much stuff at this stage I have compleely confused myself!!

    Hey.
    Right, last night I downloaded the latest version of JDK - version 1.5.
    I installed it successfully.
    So in the folder C:\ Java there are two folders: Jdk-1.5_etc and JRE-1.5_etc.
    Next I downloaded and installed the latest version of the wireless toolkit.
    It saw that I had the JDK installed at th correct folder, and it installed at C:\WTK20 - said it installed correctly.
    So, next I select create project - call it hello world.
    Then I place the following code in the src folder of the helloWorld folder:
    * Copyright 2000-2001 by Sun Microsystems, Inc.,
    * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
    * All rights reserved.
    package examples.helloworld;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class HelloWorld extends MIDlet implements CommandListener {
    private Command exitCommand;
    private TextBox tb;
    public HelloWorld() {
    exitCommand = new Command("Exit", Command.EXIT, 1);
    tb = new TextBox("Hello MIDlet", "Hello, World!", 15, 0);
    tb.addCommand(exitCommand);
    tb.setCommandListener(this);
    protected void startApp() {
    Display.getDisplay(this).setCurrent(tb);
    protected void pauseApp() {}
    protected void destroyApp(boolean u) {}
    public void commandAction(Command c, Displayable d) {
    if (c == exitCommand) {
    destroyApp(false);
    notifyDestroyed();
    I hit build and it builds correctly - no errors - YAY!!.
    I hit run, the phone emulator pops up. I hit launch and:
    An error pops up on the screen of the phone.
    The error below appears in the Wireless toolkit window:
    Project "HelloWorld" loaded
    Project settings saved
    Building "HelloWorld"
    Build complete
    Running with storage root DefaultColorPhone
    Unable to create MIDlet HelloWorld
    java.lang.ClassNotFoundException: HelloWorld
         at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
         at com.sun.midp
    I'm using version 1.5 of JDK - what have I not done - why won't it run.
    I keep getting Java.lang errors!!!!
    AAAGGGHHHHH!!!!!!!!!!!!!!!

  • Need help with Socket prog using Java wireless toolkit

    Hi, I am not able to communicate between client (Palm emulator) and server (Java on computer) using Java Wireless toolkit.
    Can anyone please tell me a site that shows an example. I have seen a bunch of examples but they all run by importing com.sun.kjava which seems to have vanished into thin air. So I cannot run them. Someone please show me some lines of code that will send just one character from client Palm emulator to server. thanks.
    Syed

    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

  • 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

Maybe you are looking for

  • Issue in confirmation of putaway WT with Serial No

    I have a serial no managed material. ERP IBD created with manually entered SNs.  EWM IDN and ID are created. ID item details has the SNs which I entered in ERP IBD.  Putaway WT was automatically created. While confirming the WT, when I select Serial

  • Just recently, when I put clips into iMovie, the audio and video are not in sync. How can I fix this problem?

    Whenever I try to make a video on iMovie, the audio is not in sync with the video. This just happened recently. I have no clue what is causing the problem, or how to fix it. What should I do?

  • Is nested li possible

    Is it possible to give nested ul, li in flash e.g. a.htmlText = "<ul><li>AAAA</li><li><li>BBBB</li></li></ul>"; mine is not working, anybody with clue. Thanks in advance.

  • Re: Data entry form

    So what's your question? You can't figure out how to use a layout? Add this line frame.getContentPane().setLayout(new FlowLayout());after JFrame frame = new JFrame("App - Quantel ICT");that will get you started then you can read about layouts and pos

  • My time machine backup keeps failing

    My Time Machine Backup keeps failing . Does anyone know what I should do