开发者

Blackberry web/widget (Eclipse)

开发者 https://www.devze.com 2023-02-04 20:32 出处:网络
I am a new developer here.. I have several question here. Hope youall can help me.. 1, Can I convert format .cod to .jar/.jad.. if can, can you give me a link?

I am a new developer here.. I have several question here. Hope you all can help me..

1, Can I convert format .cod to .jar/.jad.. if can, can you give me a link?

2, can you all give me a link to check OS Version and phone model for Blackberry?

3, Research In Motion (RIM) must track the use of sens开发者_如何学编程itive APIs noted as signed (runtime, application and cryptography APIs) when used by applications for security and export control reasons. If you use these controlled classes or methods in your applications, your application must be signed with a key or a signature provided by RIM before you can load the application .cod files onto the BlackBerry smartphone. So my question is, the phonegap need to signed key or not? FYI, write now I am using phonegap to develop application blackberry by blackberry web/widget (eclipse).

Thank you very much,

Jamaley


I am answering under the assumption your questions are directed at PhoneGap applications, and using the PhoneGap API.

  1. Yes. When you build the binaries, you get a .cod, .alx, .jar, and .jad file. See the docs on BlackBerry's site.

  2. Assuming you are using PhoneGap, you have access to the device JavaScript namespace that will give you these properties. device.name returns the numerical value of the BlackBerry model (i.e. 8900, 9000, 9700, etc.). device.version will return the OS version string (i.e. 4.6.0.586, 5.0.0.250, etc.). See the device docs for more information.

  3. Yes, you do need to sign your PhoneGap applications. If you want to run any type of app on the BlackBerry - Java, WebWorks, PhoneGap - you have to sign it.

0

精彩评论

暂无评论...
验证码 换一张
取 消