you're reading...
IT-Center, Java Blackberry

How to Install Java RIM (jad file) to Blackberry Device?

A. Create Link to Jad File
Upload your jad and cod file in one folder.

B. COD file more than 64 KB
1 . If cod file size is bigger than 64 kb then rename it to *.zip/*.rar file and unzip.
2. Delete zip file after it is unzipped.
3. Then you will have more than one cod like name.cod, name-1.cod, name-2.code, and so on.

Also have a look at this KB article.


C. WebServer Unknow Jad/COD File
>> Using IIS :

You will need to access Internet Information Services and right-click on Web Sites and select properties. Select the HTTP Headers tab and click on MIME Types. Here you will add two MIME Types:

Extension: jad
MIME type: text/vnd.sun.j2me.app-descriptor

Extension: cod
MIME type: application/vnd.rim.cod

You may need to restart IIS once you’ve added the MIME types. Open the command prompt and type in “iisreset” (minus the quotes).

>> Apache
Before you can use a server for OTA Provisioning, it must be configured to recognize the correct MIME types for JAR and JAD files.

* The MIME type for a JAR file is application/java-archive.
* The MIME type for the JAD file is text/vnd.sun.j2me.app-descriptor. This specifies the default character set to use (UTF-8) to convert the JAD file from its transport format to the correct MIDP Unicode-encoding.

For example,

* If you are using the Tomcat server delivered with JBuilder,
1. Find the file web.xml in the Tomcat install ‘conf’ sub-directory ( <JBuilder7_home>\jakarta-tomcat-4.0.3\conf).
2. Put the following lines in the section “Default MIME Type Mappings”:


* If you are using an Apache server,
1. Find the file mime.types in the Apache install ‘conf’ sub-directory (<Apache>\conf\.)
2. Specify the JAD and JAR MIME types in the file as follows:
# MIME type   Extension
application/java-archive   jar
text/vnd.sun.j2me.app-descriptor   jad

See your specific server documentation for directions on specifying MIME type configuration.

>> httaccess
Here is an example of a simple .htaccess file:
AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/vnd.rim.cod .cod


About berbagisolusi

Berbagi merupakan sebuah bentuk simbol keikhlasan untuk membantu dan menolong, sedangkan solusi adalah cara menyelesaikan masalah. Setiap manusia pasti mengalami masalah, tetapi kita tidak perlu mengalami masalah yang sama jika orang lain pernah mengalami dan kita tahu hal tersebut.


No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 10 other followers

December 2011
« Nov   Jan »


Web Statistic

Blog Stats

  • 160,987 hits
%d bloggers like this: