g0ebish thE b0ngmAstEr wrote:
> Hi,
> you can deploy it by wap... just put your .jad & .jar to your personnal
> site via FTP (take care that the URL PATH parameter in the jad file (.jad
> files are plain text files) point to your jar file eg:
This isn't necessary for all carriers. In my experience, only SprintPCS has
required the fully qualified URL for the JAR. But, they also have other
idiosyncracies that you have to be aware of as well. For example, their
WAP
gateway caches content for *hours* so, if you're in development and testing
on a SprintPCS handset, you have to either constantly renamed your JAR/JAD
files or you have to modify your web server to set a time to live for
documents of only a minute to force their gateway to expire your JAR/JAD
quickly.
> http://mysite.myprovider/myMIDlet.jar ) then point your Wap browser to
> http://mysite.myprovider/myMIDlet.jad ... your phone will then ask if you
> want to download the Midlet and will install it
that's simple...
You need to also configure the web server to send back the appropriate MIME
types for JARs and JADs. This information is available at the J2ME FAQ:
<
http://mcpierce.mypage.org/j2mefaq.html>
--
Darryl L. Pierce <mcpierce@myrealbox.com>
Visit the Infobahn Offramp - <
http://mypage.org/mcpierce>
"What do you care what other people think, Mr. Feynman?"