First of all the following files are required to install an application into real device.
a. appName.cod (appName1.cod, appName2.cod, ...)
b. appName.jad
c. appName.alx
d. .htaccess (required for OTA)
An application can be intalled in the real device in two ways.
a. OTA (Over The Air)
b. Connecting your device with the PC
b1. Using Javaloader
b2. Using Desktop Manager
OTA Installation Process
----------------------------
1. For OTA the cod and jad files will be needed.
2. Sign your cod if required.
3. Now if cod file size is bigger than 64 kb then rename it to *.zip file and try
to unzip.
a. If it cannot be unzipped rename it to *.cod, there are no sibling files inside.
b. If it can be unzipped, delete zip file after it is unzipped.
Then you will have more than one cod like name.cod, name-1.cod, name-2.code, and so on.
4. Place jad file and all extracted cod files to a folder(for example : ota) on
your web-site.
5. Now you have to set MIME types for the files.
a) Inside the folder (ota) that contains jad and cods, create a file with name .htaccess
please note a dot symbol before the name.
b) And add the following content to this file and save it.
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod cod
6. Now you are ready to install the application through OTA.
7. Just hit the link of the jad file through the bb browser. It will automatically
start install the application in the device.
Connecting your device with the PC
--------------------------------------------------
-------
1. First Connect your device through USB.
2. Sign the cod file if required
3. Then you can install your application in the following ways:
a. Using javaloader:
i. Goto the JDE bin directory(ex: C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\bin\).
ii. copy your cod and jad file there.
iii. execute the following command from there (you can create a batch file (*.bat) and just click will do )
javaloader -usb load applicationName.jad
or
javaloader -usb load applicationName.cod
b. Using Desktop Manager:
i. Install destop manager
ii. place *.alx and *.cod file in the same directory
iii.select your *.alx file from desktop manager.
iv.Then it should start installing the application in the device.
a. appName.cod (appName1.cod, appName2.cod, ...)
b. appName.jad
c. appName.alx
d. .htaccess (required for OTA)
An application can be intalled in the real device in two ways.
a. OTA (Over The Air)
b. Connecting your device with the PC
b1. Using Javaloader
b2. Using Desktop Manager
OTA Installation Process
----------------------------
1. For OTA the cod and jad files will be needed.
2. Sign your cod if required.
3. Now if cod file size is bigger than 64 kb then rename it to *.zip file and try
to unzip.
a. If it cannot be unzipped rename it to *.cod, there are no sibling files inside.
b. If it can be unzipped, delete zip file after it is unzipped.
Then you will have more than one cod like name.cod, name-1.cod, name-2.code, and so on.
4. Place jad file and all extracted cod files to a folder(for example : ota) on
your web-site.
5. Now you have to set MIME types for the files.
a) Inside the folder (ota) that contains jad and cods, create a file with name .htaccess
please note a dot symbol before the name.
b) And add the following content to this file and save it.
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType application/vnd.rim.cod cod
6. Now you are ready to install the application through OTA.
7. Just hit the link of the jad file through the bb browser. It will automatically
start install the application in the device.
Connecting your device with the PC
--------------------------------------------------
1. First Connect your device through USB.
2. Sign the cod file if required
3. Then you can install your application in the following ways:
a. Using javaloader:
i. Goto the JDE bin directory(ex: C:\Program Files\Research In Motion\BlackBerry JDE 4.6.0\bin\).
ii. copy your cod and jad file there.
iii. execute the following command from there (you can create a batch file (*.bat) and just click will do )
javaloader -usb load applicationName.jad
or
javaloader -usb load applicationName.cod
b. Using Desktop Manager:
i. Install destop manager
ii. place *.alx and *.cod file in the same directory
iii.select your *.alx file from desktop manager.
iv.Then it should start installing the application in the device.
No comments:
Post a Comment