开发者

Find 'net_rim_api.jar' version?

Usually, Blackberry library comes with JDE named "net_rim_api.jar".

Now, the problem with how we come to know the API version ?

Let me explain to avoid digress viewers at all,

  • suppos开发者_开发技巧e you just get "net_rim_api.jar" by somewhere/somehow

  • Totally unaware about its relevant JDE

    Now, how you come to know the API version like 4.7 or .... ?

Cheers, Amit.


Ok, 'net_rim_api.jar' as any jar is an archive, so you extract the archive to a temp folder, open any .cod file from the root folder and look through with a HEX viewer. For instance, on my PC I have 2 JDEs (4.7 and 6.0), so I extract both jars, open 'net_rim_pdap_resources.cod' (just because it is the smallest .cod file) and (hurray!) I am able to observe the desired difference by these substrings:

  • 6.0.0.141.net_rim_cldc.net_rim_pdap_resources
  • 4.7.0.75.net_rim_cldc.net_rim_pdap_resources


Go to the project properties and then look at the Java Build Path. It should say in Libraries tab which version you are using.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜