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


VEVOR 7.5KW 10HP Variable Frequency Drive Inverter Convert 1 To 3 Phase VFD 220V picture

VEVOR 7.5KW 10HP Variable Frequency Drive Inverter Convert 1 To 3 Phase VFD 220V

$162.99



Single To 3 Phase 7.5KW 10HP 220V Variable Frequency Drive Inverter CNC VFD VSD picture

Single To 3 Phase 7.5KW 10HP 220V Variable Frequency Drive Inverter CNC VFD VSD

$169.90



VEVOR 3HP 2.2KW 10A Variable Frequency Drive VFD for 3-Phase Motor Speed Control picture

VEVOR 3HP 2.2KW 10A Variable Frequency Drive VFD for 3-Phase Motor Speed Control

$70.99



VEVOR 1.5KW 2HP Variable Frequency Drive Inverter 1 to 3 Phase VSD VFD 7A 220V picture

VEVOR 1.5KW 2HP Variable Frequency Drive Inverter 1 to 3 Phase VSD VFD 7A 220V

$59.99



1 To 3 Phase 7.5KW 10HP 220V Variable Frequency Drive Inverter CNC VFD VSD New picture

1 To 3 Phase 7.5KW 10HP 220V Variable Frequency Drive Inverter CNC VFD VSD New

$159.00



Single To 3 Phase 750W 1HP 110/220V Variable Frequency Drive Inverter VFD VSD picture

Single To 3 Phase 750W 1HP 110/220V Variable Frequency Drive Inverter VFD VSD

$44.59







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