有谁知道一个好的c ++ JNI包装器? [英] Does anyone know a good c++ JNI wrappers ?

查看:114
本文介绍了有谁知道一个好的c ++ JNI包装器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Android的C ++上启动一个小项目.我不喜欢那种丑陋的C风格的JNI.

I want to start a small project on C++ for android. I don''t like that ugly c-style JNI. Is there some good C++ wrappers ?

推荐答案

谢尔盖(Sergey),
您可以看到SWIG(简化包装器和接口生成器):
http://www.swig.org/tutorial.html [ http://www.swig.org/Doc2.0/SWIGDocumentation.html [ ^ ]
希望对您有帮助
Hi Sergey,
You can see the SWIG (Simplified Wrapper and Interface Generator):
http://www.swig.org/tutorial.html[^]
http://www.swig.org/Doc2.0/SWIGDocumentation.html[^]
I hope this will help you


我也找到了一个 http: //code.google.com/p/android-cpp-sdk/ [ ^ ]
Also I hade found this one http://code.google.com/p/android-cpp-sdk/[^]


您尝试过以下一种方法:
http://www.teamdev.com/jniwrapper/ [ http://www.teamdev.com/jniwrapper/documentation/ [
Did you try this one:
http://www.teamdev.com/jniwrapper/[^],
http://www.teamdev.com/jniwrapper/documentation/[^]?

By documentation, it looks good, but unfortunately, it''s commercial. And I never tried it.

—SA


这篇关于有谁知道一个好的c ++ JNI包装器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆