BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-14-2009, 03:17 PM   #1
BarracudaBob
Thumbs Must Hurt
 
Join Date: May 2008
Model: 9810
OS: 7.0.0.261
PIN: N/A
Carrier: AT&T
Posts: 81
Default Loading Applications from an SD card

Please Login to Remove!

First you'll need to get your hands on the cod files for the application. There are many ways to do this. Personally I use the OTAloader mentioned elsewhere on the forum. Sometimes, I load the application via the desktop manager or OTA and then pull the cod files off with the Blackberry Master Control Program.

Make sure that you use WinZip (or whatever you use for zips) to extract the cod files from within the large cod files. Most cod files over 200K are probably zip files. Just open anything near that with WinZip and see if there are files to be extracted.

Now you need to create a jar file. You can do this manually, but some applications have quite a lot of cod files so I wrote a short VB script to do it for you. Just run this script from the directory containing the cod files and it will create a template jad file for you. Here's the script:
CreateJad.vbs
Dim MyFileSystem, MyFolder, MyFile, MyFileCollection
Set MyFileSystem = CreateObject("Scripting.FileSystemObject")
Set MyFolder = MyFileSystem.GetFolder(".")
Set MyFileCollection = MyFolder.Files
x = 1
Set JadFile = MyFolder.createtextfile("application.jad", true)
JadFile.WriteLine("MIDlet-Name: ")
JadFile.WriteLine("MIDlet-Version: ")
JadFile.WriteLine("MIDlet-Description: ")
JadFile.WriteLine("MIDlet-Vendor: ")
For Each MyFile in MyFileCollection
if MyFile.Type = "COD File" then
msg = "RIM-COD-URL-" & x & ": " & MyFile.name
JadFile.WriteLine(msg)
msg = "RIM-COD-Size-" & x & ": " & MyFile.size
JadFile.WriteLine(msg)
x = x + 1
end if
Next
JadFile.Close
Once you've run the script, fill in the remaining header info (name, vendor, version) and copy the jad and cod files to your SD card. Now you can install the application by simply navigating to the application.jad file and opening it.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Jelenko Commodore LS VPF with Pump  picture

Jelenko Commodore LS VPF with Pump

$875.00



Vintage MOS 8502 8502R0 Commodore C64 very rare good condition x 1pc picture

Vintage MOS 8502 8502R0 Commodore C64 very rare good condition x 1pc

$22.00



6500/1 A 6502 VARIENT CPU COMMODORE USE IN AMIGA KB & 1520 PLOTTER NMOS NCR NOS picture

6500/1 A 6502 VARIENT CPU COMMODORE USE IN AMIGA KB & 1520 PLOTTER NMOS NCR NOS

$5.89



MCR 6003L Commodore PVC/Non-Woven Poly/Nylon RAIN Suit 3 PC YELLOW  SIZE LARGE picture

MCR 6003L Commodore PVC/Non-Woven Poly/Nylon RAIN Suit 3 PC YELLOW SIZE LARGE

$13.99



Windsor Commodore Duo 20

Windsor Commodore Duo 20" Carpet extractor w/Lester Charger 25900/Battery/99hour

$2501.99



Vintage Printer Switch box Commodore 64/Sanyo Mountable Computer PC picture

Vintage Printer Switch box Commodore 64/Sanyo Mountable Computer PC

$49.00







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