Frage

I've just made my first Blackberry webworks app using PhoneGap. I want to install the app on a device, without connecting to the PC. The build generated an OTA folder containing 22 .cod files and 1 .jad file. How do I install this onto a device?

War es hilfreich?

Lösung

Modify .htaccess file on your web-server, to recognize .jad and .cod files properly.

Add the following lines to your .htaccess file on your web-server.

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/vnd.rim.cod cod

Then upload your cod files and jad file to your server.

After that navigate jad file location from your device browser.

UPDATE:

Upon compilation in OTA folder there are generated many cod files (in most cases).

To install your application wirelessly, you need .jad file and all of .cod files, located in OTA folder. Place jad and all of cod files into one folder on your web-server. And open jad-file location from your BlackBerry device browser. After that device will read jad file contents and will be able to install cod files to the device memory.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top