#pragma once #include #include #ifdef __ANDROID__ # include # include #endif // __ANDROID__ struct AndroidImagePicker : QObject { Q_OBJECT public slots: static void openPicker() { qDebug() << "Starting image picker intent"; #ifdef __ANDROID__ QAndroidJniObject::callStaticMethod( "org/retroshare/android/qml_app/RetroshareImagePicker", "imagePickerIntent", "()Landroid/content/Intent;" ); #endif // __ANDROID__ } };