开发者

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

开发者 https://www.devze.com 2023-03-12 05:36 出处:网络
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 nativ

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

精彩评论

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