|
|
09-13-2004, 02:50 PM
|
#1
|
Knows Where the Search Button Is
Join Date: Sep 2004
Location: North Little Rock, AR
Model: 8100
Carrier: Alltel
Posts: 15
|
How to take existing Jad/jar files and post them to be OTA'd
Please Login to Remove!
Is there any easy way to take existing jad/jar files and just post them somewhere for OTA installation?
Or do you have to change the jad files somewhat? I'd like to not have to go into the JDE and create the cod files for them? Most of these apps are just coming from midlets.
Any tips?
|
Offline
|
|
09-13-2004, 02:54 PM
|
#2
|
Retired BBF Moderator
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
|
You need to make sure the webserver has its MIMEtypes properly configured, then it should work. You don't want the .JAD files to download as if they were text files.
|
Offline
|
|
09-13-2004, 02:57 PM
|
#3
|
Knows Where the Search Button Is
Join Date: Sep 2004
Location: North Little Rock, AR
Model: 8100
Carrier: Alltel
Posts: 15
|
Can you point me to the doc that specifies the specifics to what Mimetypes jad and jar need to be set to? I'll have my admin modify our Apache.conf
Thanks for your quick reply.
|
Offline
|
|
09-14-2004, 07:51 AM
|
#4
|
CrackBerry Addict
Join Date: Aug 2004
Model: 950
Carrier: robbers
Posts: 909
|
i don't know about you but i just threw my JAD files into my apache installation (home directory on my unix box) and it worked just fine...
|
Offline
|
|
09-14-2004, 10:46 AM
|
#5
|
Retired BBF Moderator
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
|
headtailgrep,
If the web server is properly configured by default, which Apache appears to be, then there shouldn't be a problem.
I had problems, however, trying to put .jad/.jar files on an arbitrary website, so there appears to be a webserver configuration element to it -- the files would stubbornly download as text files full of garble. This was because the MIMEtype was not correct. At the minimum, I think it has to be "application/x-octet-stream" instead of "text/plain".
|
Offline
|
|
09-14-2004, 07:59 PM
|
#6
|
Retired BBF Moderator
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
|
I found information on how to do this:
http://www.onjava.com/pub/a/onjava/e..._3/index5.html
The web server MIMEtype definitely needs to be configured, but I erred on which one. It's actually:
.jad files
text/vnd.sun.j2me.app-descriptor
.jar files
application/java-archive
|
Offline
|
|
09-14-2004, 08:08 PM
|
#7
|
Talking BlackBerry Encyclopedia
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Posts: 221
|
From the RIM dev docs:
Users can only download .jar files if they access the network using the BlackBerry Enterprise Server with
the Mobile Data Service is enabled. The Mobile Data Service converts .jar files to the .cod file format that the
handheld requires. If users access the network using a WAP gateway, they can only download .cod files.
|
Offline
|
|
09-14-2004, 08:10 PM
|
#8
|
Retired BBF Moderator
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
|
eradis, not anymore. Outdated documentation for Rogers users at least.
Rogers and T-Mobile users can now download .jad/.jar files without a BES.
|
Offline
|
|
09-14-2004, 08:14 PM
|
#9
|
Talking BlackBerry Encyclopedia
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Posts: 221
|
Yes as of last Friday. Thats because of the MDS is being hosted by the carrier now - i.e. full html browser without corporate BES/MDS. So those principles still hold true :D
|
Offline
|
|
09-14-2004, 08:19 PM
|
#10
|
Retired BBF Moderator
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
|
That would be MDS built into Blackberry Web Client 4 carrier server software wouldn't it? If so, they need to clarify that to include that, since that's not the standard-issue Blackberry Enterprise Server, isn't it?
What is the name of the software that carriers use to run the BWC? That one has no Exchange functionality as far as I know, right?
|
Offline
|
|
09-14-2004, 09:01 PM
|
#11
|
Talking BlackBerry Encyclopedia
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Posts: 221
|
Thats exactly it, and yes no email ( exchange or other ) directly from the carrier. Basically they stripped out and built a mini-MDS at the gateway. The exact same principle as Reqwireless except the transcoding server( i.e MDS) is contained within the carrier system.
|
Offline
|
|
|
|