简体   繁体   中英

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, triangle 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.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM