开发者

Is it possible to create a control in C++ and use in Java activity?

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

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.

0

精彩评论

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