wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes Getting from server to the phone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Getting from server to the phone" Watch "Getting from server to the phone" New topic
Author

Getting from server to the phone

Jerry Shaw
Greenhorn

Joined: Sep 29, 2002
Posts: 1
Hey, all!
This is a newbie question. I have my jar/jad files up on my server. I have my MIME types added (for jar, jad, and even wml). Now, how do I get the darn phone to download the application?
The phone I'm using is Sprint's A500, which has a WAP browser. As I understand it, you're supposed to browse to a "link" which will cause the phone to download the jad, then the jar (using the URL within the jad). Right?
But what are these "links"? Do I need a wml resource (with these "links") that the phone downloads and uses? I don't know anything about wml, and I haven't been able to find any applicable examples. Just browsing to the jad file didn't work, but I'm not sure which way to go.
H-e-e-l-p!!
Liam Quinn
Ranch Hand

Joined: Jan 18, 2002
Posts: 35
Browsing to the JAD file directly should work, although I haven't tested with an A500.
Anyway, it's usually easier for the user to browse to a WML page that links to the JAD. Here's an example WML document for that:

Then you can just give out the URL of the WML page, and you can include more details or instructions in the WML.
 
 
subject: Getting from server to the phone
 
Similar Threads
Downloading a jad file in Nokia 6230i emulator
Its about uniqueIDs again! Problems with downloading modified jar files
problem with OTA download Midlet
OTA MIDLet deployment - Back to basics
Nextel phones: How download a application java on them? Help me