Is it possible to create a control in C++ and use in Java activity?
I want to create a control in C++
and use it in my java
based activity. Just like we create an instance of TextView
or ImageView
, I want to create an instance of my native control and show it in some Java base开发者_如何学Pythond activity's view. Is it possible first of all? If yes are there any tutorials or demo related to it?
Thanks
There is no such thing as a "native control" in Android. Your UI widgets need to be written in Java.
精彩评论