Using c++ classes in blackberry or convert cpp files to java

落花浮王杯 提交于 2019-12-11 07:12:57

问题


I am having C++ files and library which I have used in Android using ndk and jni.It works fine in Android. But now I want to use the same files and library for Blackberry Development. I am trying to convert the cpp files in to java but there are large number of cpp files which is thus not a proper solution to try to convert around hundreds of files

I want to know are there any cpp to java converters available or how can I use the jni in my Blackberry application development.

Or are there any better options??


回答1:


Current Blackberry smartphones do not support JNI at all, so using C++ is completely out of the question on those devices. You have to use Java only.

BlackBerry PlayBook v1.0.7+, and future OS7 smartphones, will have an NDK that supports C++. Java will not be used on those devices (except in the Android player), so no JNI needed.



来源:https://stackoverflow.com/questions/8077007/using-c-classes-in-blackberry-or-convert-cpp-files-to-java

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