how to install blackberry app OTA

你。 提交于 2019-12-23 04:47:38

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/18532138/how-to-install-blackberry-app-ota

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!