0

I am working on android project.I have created a native edittext.I want use native jni function in other android c++ project for display the edittext in c++.whenever i add the headerfile of jni and edittext,then compiler does not find.

Can you suggest me.how to add native edittext project with my own project and how to use jni function with c++. Your suggestion will helpful.

1 Answer 1

0

Take your code you want to share and place it into it's own compiled library. Then you can reference it in both the android project and the c++ project and use the code in both.

How to create and use static librarys in c++

How to add libraries in C++?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.