开发者

Can I use Native language support and Java code implementation in same project

I want to use opengl es tlo form some geometries like arrows, tria开发者_C百科ngle etc. and a camera preview class to display camera image in my android application. I want to know, if I can use native and Java classes both in a same class. I am just a beginner in Android application development. I will be grateful for your kind advise. Thank You, Arslan


While you dont use any library not allowed like swing you can use native and java classes at the same time in a class


If I understand your question correctly, you would like to know of some way to integrate Java and C++ code together easily. JavaCPP does just that and it works for Android too:

http://code.google.com/p/javacpp/

(Disclaimer: I am the author.)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜