Make Toast in Android by QML
I have not started my learning Android developing by QML ,I just curious that "Toasts":http://developer.android.com/reference/android/widget/Toast.html seems to be a Android specific widget ,while Qt for Android seems doesn't have a ready-made corresponding widget, so how do you implement a Toast in Android by QML ?
thanks！！！the comment here is useful http://stackoverflow.com/questions/26879266/make-toast-in-android-by-qml/26900933#26900933
[quote author="Scrincer" date="1415810772"]via Java Native Interface
1- Your c++ qtobject will call java code to show the toast.
2- You expose your c++ qtobject to QML.