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.