BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links



Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
jibi Offline
BBF Moderator
 
jibi's Avatar
 
Posts: 10,939
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 9000
OS: 4.6.0.134
Carrier: AT&T
Default Installing Themes Over-The-Air (OTA) - 04-12-2005, 10:13 AM

Just for documentation purposes for those who have been requesting the ability to load themes (and other applications) OTA.

1 - Configure proper MIME types on Web Server
I'll just put everything for COD (RIM Java), JAR (Java Archive), JAD (Loader file for COD and JAR) and ADP (ADPCM Ringtones) file types

For IIS:
- Open up Internet Services Manager (W2K) or Internet Information Services (IIS) Manager (W2K3)
- Expand your virtual server
* Expand Web Sites (only for W2K3)
- Right-click on Default Web Site and click Properties
- Click on the HTTP Headers tab then click on the File (or MIME) Types button
- Click on New File Type and add the following:

Associated Extension: adp
Content Type (MIME): audio/adpcm

Associated Extension: cod
Content Type (MIME): application/vnd.rim.cod

Associated Extension: jad
Content Type (MIME): text/vnd.sun.j2me.app-descriptor

Associated Extension: jar
Content Type (MIME): application/java-archive

For Apache (using .htaccess):
- Open up or create .htaccess file in the directory you will be serving from
- Add the following lines:

AddType audio/adpcm adp
AddType application/vnd.rim.cod cod
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar

2 - Download the Theme files
Package: http://thelloyds.matrixdancer.com/Themes.zip
Individual: http://www.smartphonedepot.com/produ...00_themes.html

** Note: Skip the steps below if you are on OS 4.0 and move on to the next Note **

3 - Extract child COD files from downloaded parent COD files

- Open up WinZip
- Drag the downloaded COD file to WinZip and it should show up about 5-12 COD files inside there
- Extract files to a directory

4 - Make a JAD file for child COD files
You will make ONE file that lists ALL of the child files. I have chosen the Vodafone theme as an example JAD file.

- Open up Notepad (or some other text editor) and create the entry to look like this (alter as needed for other themes or for your own tastes):

MIDlet-Name: Vodafone Theme
MIDlet-Version: 3.8
MIDlet-Vendor: Vodafone UK
RIM-COD-URL-1: net_rim_theme_vodafone_240x260.cod
RIM-COD-Size-1: 51408
RIM-COD-URL-2: net_rim_theme_vodafone_240x260-1.cod
RIM-COD-Size-2: 39460
RIM-COD-URL-3: net_rim_theme_vodafone_240x260-2.cod
RIM-COD-Size-3: 50064
RIM-COD-URL-4: net_rim_theme_vodafone_240x260-3.cod
RIM-COD-Size-4: 48352
RIM-COD-URL-5: net_rim_theme_vodafone_240x260-4.cod
RIM-COD-Size-5: 36180
RIM-COD-URL-6: net_rim_theme_vodafone_240x260-5.cod
RIM-COD-Size-6: 44272
RIM-COD-URL-7: net_rim_theme_vodafone_240x260-6.cod
RIM-COD-Size-7: 44312
RIM-COD-URL-8: net_rim_theme_vodafone_240x260-7.cod
RIM-COD-Size-8: 38876
RIM-COD-URL-9: net_rim_theme_vodafone_240x260-8.cod
RIM-COD-Size-9: 42460
RIM-COD-URL-10: net_rim_theme_vodafone_240x260-9.cod
RIM-COD-Size-10: 39080
RIM-COD-URL-11: net_rim_theme_vodafone_240x260-10.cod
RIM-COD-Size-11: 25064
RIM-COD-URL-12: net_rim_theme_vodafone_240x260-11.cod
RIM-COD-Size-12: 60588

5 - Upload the child COD files (the ones you extracted) and the JAD file to your web server. Send the link to the JAD file to your handheld and open it up in your browser.

It will take a while to download, given the theme files are 200-500KB in total.

FYI, this can be done for any COD file, no matter the size. Just alter the JAD file as needed for other applications.

*Note: With the release of OS 4.0, it appears that you can install parent COD files (ones that contain child COD files; similar to a JAR or ZIP archive). With 3.8, you supposedly could not do this (although I have not tested, so I'm going by what documentation says). For maximum compatibility between both OS's (and perhaps sticking to documentation), the above steps would be advised, albeit more tedious.

If you are running OS 4.0, follow these steps after Step 2 above.

3 - Make a JAD file for the COD file
I have chosen the Vodafone theme as an example JAD file.

- Open up Notepad (or some other text editor) and create the entry to look like this (alter as needed for other themes or for your own tastes):

MIDlet-Name: Vodafone Theme
MIDlet-Version: 3.8
MIDlet-Vendor: Vodafone UK
RIM-COD-URL: net_rim_theme_vodafone_240x260.cod
RIM-COD-Size: 523122

4 - Upload the COD file and the JAD file to your web server. Send the link to the JAD file to your handheld and open it up in your browser.

It will take a while to download, given the theme files are 200-500KB.

FYI, this can be done for any COD file, no matter the size. Just alter the JAD file as needed for other applications.

* Disclaimer: if you are not on an UNLIMITED data plan, then I would NOT suggest doing OTA loads of software.




   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
idencustom Offline
Thumbs Must Hurt
 
Posts: 133
Join Date: Mar 2005
Model: 83xx
Carrier: Skytel
Default 04-12-2005, 10:47 AM

Two things.

1) You're a God among men.
2) Everyone should heed his disclaimer... (Take it from a guy who has a 5mb plan (o2) and a 6 MB plan (Vodafone)). :( If i download 4 themes OTA i've used almost 1/3 of my monthly allowance. You should see how i conserve data during the last week of the month.... LOL
   
  (#3 (permalink)) Old
emrys01 Offline
Thumbs Must Hurt
 
emrys01's Avatar
 
Posts: 118
Join Date: Mar 2005
Model: 8100
Carrier: at&t
Default 04-12-2005, 10:57 AM

please sticky this thread.

(thanx, jibi!)
   
  (#4 (permalink)) Old
idencustom Offline
Thumbs Must Hurt
 
Posts: 133
Join Date: Mar 2005
Model: 83xx
Carrier: Skytel
Default 04-12-2005, 11:01 AM

Quote:
Originally Posted by emrys01
please sticky this thread.

(thanx, jibi!)

LOL!! You think jibi gets stressed now... LOL!

Sticky worthy, but dont be surprise at how many people get stuck at step 3.
   
  (#5 (permalink)) Old
bfrye Offline
BBF Veteran User
 
bfrye's Avatar
 
Posts: 3,490
Join Date: Aug 2004
Location: Hotwiring another Cessna
Model: OU812
Carrier: Nintendo
Default 04-12-2005, 11:03 AM

Quote:
Originally Posted by idencustom
LOL!! You think jibi gets stressed now... LOL!

Sticky worthy, but dont be surprise at how many people get stuck at step 3.
Or now that it's stickied... the number of posts coming in over the next 3 weeks stating...



"New 7100, how do I download themes over the air? I searched and came up with nothing..."
   
  (#6 (permalink)) Old
ainvar Offline
Knows Where the Search Button Is
 
ainvar's Avatar
 
Posts: 27
Join Date: Oct 2004
Location: Atlanta, GA USA
Model: 8320
Carrier: T-Mobile
Default 07-06-2005, 12:48 PM

Here are all of them except the Tmobile theme from the themes.zip file I set these up for the 4.0 I am working on the 3.8 install file which will be named 38.jad when completed.

I will try and add more ota files when I have time and it is something that could be beneficial for everyone here.

http://www.smugglingyoyos.net/7100t/blackberry.jad
http://www.smugglingyoyos.net/7100t/o2.jad
http://www.smugglingyoyos.net/7100t/vodafone.jad


Note to self: Why don't you ever listen to me?

We the unwilling led by the unqualified for so long with so little we now attempt the impossible with nothing
   
  (#7 (permalink)) Old
jibi Offline
BBF Moderator
 
jibi's Avatar
 
Posts: 10,939
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 9000
OS: 4.6.0.134
Carrier: AT&T
Default 07-06-2005, 07:40 PM

very nice ainvar. nice domain name.




   
  (#8 (permalink)) Old
Blackberry1.8T Offline
Knows Where the Search Button Is
 
Posts: 29
Join Date: Jul 2005
Model: 7100G
Default 07-15-2005, 12:01 AM

Forget about getting stuck at 3... I'm stuck at 1... way too confusing for me. I must be stupid or it must be a programmer thing.
   
  (#9 (permalink)) Old
jibi Offline
BBF Moderator
 
jibi's Avatar
 
Posts: 10,939
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 9000
OS: 4.6.0.134
Carrier: AT&T
Default 07-16-2005, 05:32 PM

Quote:
Originally Posted by Blackberry1.8T
Forget about getting stuck at 3... I'm stuck at 1... way too confusing for me. I must be stupid or it must be a programmer thing.
Configuring MIME handlers on a web server is hardly a programmer thing - its very much an administrator thing. Step 1 is about as elementary as one could possibly get.




   
  (#10 (permalink)) Old
XDS Offline
Thumbs Must Hurt
 
XDS's Avatar
 
Posts: 112
Join Date: Jul 2005
Model: 7290
Default 07-16-2005, 06:19 PM

Wirelessly posted (7290: Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; PPC; 240x320) BlackBerry7290/4.0.2 Profile/MIDP-2.0 Configuration/CLDC-1.1)

Can We get some (1) theme's for the 7290 Plz !?
   
  (#11 (permalink)) Old
jibi Offline
BBF Moderator
 
jibi's Avatar
 
Posts: 10,939
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 9000
OS: 4.6.0.134
Carrier: AT&T
Default 07-20-2005, 09:24 PM

Quote:
Originally Posted by XDS
Wirelessly posted (7290: Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; PPC; 240x320) BlackBerry7290/4.0.2 Profile/MIDP-2.0 Configuration/CLDC-1.1)

Can We get some (1) theme's for the 7290 Plz !?
I'm not really sure what that has to do with this thread, but there are some here:

http://www.blackberryforums.com/show...1&postcount=45




   
  (#12 (permalink)) Old
Wisespent Offline
Knows Where the Search Button Is
 
Wisespent's Avatar
 
Posts: 36
Join Date: Jul 2005
Model: 7290
Carrier: mobistar
Default 08-18-2005, 01:03 PM

thanks for the guide Jibi
   
  (#13 (permalink)) Old
Brian_7100t Offline
New Member
 
Posts: 6
Join Date: Aug 2005
Model: 7100t
Default 08-31-2005, 12:59 AM

Hi Fellas,
Couple of questions for ya - read through quite a few pages and threads, this question was asked already, but no response was ever posted.

I am recieving the HTTPError 406:Not Acceptable error. Details yield 200: Application can not accept the content [application/force-download]

This occurs when attempting to download ringtones or load the Theme files.

I'm running a website using the e107 website system. I have logged into my cPanel and set up my MIME Types as instructed above. I then uploaded my music.adp file, the Theme .cod and .jad files into my downloads directory and created the .htaccess file. The .htaccess file looks like this -

ErrorDocument 400 /error.php?400
ErrorDocument 401 /error.php?401
ErrorDocument 403 /error.php?403
ErrorDocument 404 /error.php?404
ErrorDocument 500 /error.php?500
AddType audio/adpcm adp
AddType application/vnd.rim.cod cod
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar


The .htaccess file is saved in the downloads directory. Still no luck. So I decided to try setting the Apache Handlers. Still no love. With each attempt to download the music.adp and Theme .jad files, I clear my BlackBerry Browser Cache.

Kinda lost....Any help would be much appreciated.

Thanks!
   
  (#14 (permalink)) Old
jibi Offline
BBF Moderator
 
jibi's Avatar
 
Posts: 10,939
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 9000
OS: 4.6.0.134
Carrier: AT&T
Default 08-31-2005, 08:11 AM

delete the htaccess file or atleast the content of it for the BB-related MIME types. you don't need it if you can set the MIME types in cPanel.




   
  (#15 (permalink)) Old
Brian_7100t Offline
New Member
 
Posts: 6
Join Date: Aug 2005
Model: 7100t
Default 08-31-2005, 10:22 PM

Thanks for the help Jibi. Didn't work. Still getting the 406 Error.

I have tried:

1 - Removing the AddType from the .htaccess file.
2 - Deleting the .htaccess file all together from the serving directory.
3 - Removing the MIME settings in cPanel and using the .htaccess file with the AddType settings in place.

Still no luck... Any other ideas before I abandon hope?

Thanks in advance.
   
  (#16 (permalink)) Old
jibi Offline
BBF Moderator
 
jibi's Avatar
 
Posts: 10,939
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 9000
OS: 4.6.0.134
Carrier: AT&T
Default 09-01-2005, 03:33 AM

i'd say to contact your hosting provider. this is odd, to say the least. here's what my cpanel looks like:

User Defined Mime Types
application/java-archive jar
application/vnd.rim.cod cod
audio/adpcm adp
text/vnd.sun.j2me.app-descriptor jad




   
  (#17 (permalink)) Old
Galvatron Offline
No longer Registered.
 
Galvatron's Avatar
 
Posts: 648
Join Date: Jul 2005
Location: Mesa Arizona
Model: 8800
PIN: 240582A8
Carrier: tmobile
Default 09-04-2005, 09:12 PM

what thems are ther even better ar thwer apps to wer you can make your own themes?
   
  (#18 (permalink)) Old
killerclown Offline
New Member
 
killerclown's Avatar
 
Posts: 7
Join Date: May 2005
Location: Denmark
Model: 7290E
Default 09-14-2005, 05:01 PM

Quote:
Originally Posted by ainvar
Here are all of them except the Tmobile theme from the themes.zip file I set these up for the 4.0 I am working on the 3.8 install file which will be named 38.jad when completed.

I will try and add more ota files when I have time and it is something that could be beneficial for everyone here.

http://www.smugglingyoyos.net/7100t/blackberry.jad
http://www.smugglingyoyos.net/7100t/o2.jad
http://www.smugglingyoyos.net/7100t/vodafone.jad
Hi ainvar !

Idiotic question :

I downloaded the o2.jad, and ran it.
Now it seems, I have 3 themes : default, vodafone and o2
I can only select vodafone or default. When I try to select o2, the pop-up menu only holds "hide menu" and "close".
I can see, that the dir in your link is "7100", but I was under the impression, that the themes should work for both 7100 and 7200 series (?)
(I have a 7290)


Computers are like airconditioners.
They stop working, when you open windows
   
  (#19 (permalink)) Old
Dawg Online
BlackBerry God
 
Dawg's Avatar
 
Posts: 12,748
Join Date: Mar 2005
Location: Atlanta
Model: 8330
OS: 4.5.0.77
PIN: 31a6c9c9
Carrier: Verizon Can you hear me now?
Default 09-14-2005, 08:08 PM

http://www.blackberryforums.com/show...highlight=jibi

this thread shows all the themes available


Life, Love, Laughter

www.horizonwirelessonline.com
"The Clique"
   
  (#20 (permalink)) Old
jibi Offline
BBF Moderator
 
jibi's Avatar
 
Posts: 10,939
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 9000
OS: 4.6.0.134
Carrier: AT&T
Default 09-14-2005, 08:39 PM

to answer his question though, you have to install the 7100 default list theme.




   
  (#21 (permalink)) Old
gavito Offline
New Member
 
Posts: 5
Join Date: Jul 2005
Location: Australia
Model: 8700g
Carrier: Telstra
Default 09-14-2005, 10:05 PM

Have followed procedures above yet when downloading from Blackberry 7100g receive error "907 Invaild JAR"

Any ideas?

I am using the Blackberry Browser running through a BES

Last edited by gavito : 09-14-2005 at 11:16 PM.
   
  (#22 (permalink)) Old
jibi Offline
BBF Moderator
 
jibi's Avatar
 
Posts: 10,939
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 9000
OS: 4.6.0.134
Carrier: AT&T
Default 09-14-2005, 11:21 PM

downloading which theme, from which link?




   
  (#2