This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes Java Micro Edition and the fly likes Urgent! Help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Urgent! Help needed" Watch "Urgent! Help needed" New topic

Urgent! Help needed

liang gu
Ranch Hand

Joined: Nov 05, 2001
Posts: 89
I have the J2ME application working on the emulator and some features of the J2ME app working on the Palm VIIx device. However, I coudn't get a J2ME app talk to a http server over the builtin wireless connection on the actual Palm VIIx device.
Partial code is in the following:
try {
String url = "";
} catch (Exception e ) {
t = new TextBox ("Error", e.toString(), 1024,0);
When running on the actual device, I got an IllegalArgumentException at the line :

I am desparate on this issue. Any help will be greatly appreciated.

liang gu
Ranch Hand

Joined: Nov 05, 2001
Posts: 89
Solution found.
String url = "inet";
instead of
String url = "";
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12933
That problem appears to be unique to the Palm VIIx with built-in wireless - how annoying - it uses a slightly different library.
I agree. Here's the link:
subject: Urgent! Help needed