BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-13-2004, 02:50 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2004
Location: North Little Rock, AR
Model: 8100
Carrier: Alltel
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default 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  
Old 09-13-2004, 02:54 PM   #2 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

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.
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 09-13-2004, 02:57 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2004
Location: North Little Rock, AR
Model: 8100
Carrier: Alltel
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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  
Old 09-14-2004, 07:51 AM   #4 (permalink)
CrackBerry Addict
 
Join Date: Aug 2004
Model: 950
Carrier: robbers
Posts: 909
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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  
Old 09-14-2004, 10:46 AM   #5 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

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".
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 09-14-2004, 07:59 PM   #6 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

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
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 09-14-2004, 08:08 PM   #7 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Posts: 221
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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  
Old 09-14-2004, 08:10 PM   #8 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

eradis, not anymore. Outdated documentation for Rogers users at least.

Rogers and T-Mobile users can now download .jad/.jar files without a BES.
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 09-14-2004, 08:14 PM   #9 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Posts: 221
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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  
Old 09-14-2004, 08:19 PM   #10 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

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?
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 09-14-2004, 09:01 PM   #11 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Posts: 221
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.