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.
Yes. When you build the binaries, you get a .cod, .alx, .jar, and .jad file. See the docs on BlackBerry's site.
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.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.
精彩评论