Android NativeUI components in QML
Is it possible to wrap android.view.View in a QWidget or somehow use it in QML with other QT components?
Just call a java method is not enough for my purpose.
I see it is possible for iOS, but i can't find alternative for android.
not directly. The QtWebView module just overlays the native view over the QML scene and forwards some properties/calls from QML to the native view.
See it's source and use the same principle.
Thank you @raven-worx. I did't know how the framework works when I asked the question. I thought the qt components are wrappers around the native components.
You can check this repo - https://github.com/2gis/qtandroidextensions - it has native android widgets wrapped as QML objects