Hi guys,

Is it possible to add an own code to use the Android's native file picker dialog?

For example, I want (I think) to use a following framework (it introduced to Android since v4.4):
https://developer.android.com/guide/topics/providers/document-provider

But a problem is that an Android's platform plugin from the:

qtbase\src\plugins\platforms\android\qandroidplatformtheme.cpp

ignores a file dialogs at all:

{code}
QPlatformDialogHelper *QAndroidPlatformTheme::createPlatformDialogHelper(QPlatformTheme::DialogType type) const
{
    switch (type) {
    case MessageDialog:
        return new QtAndroidDialogHelpers::QAndroidPlatformMessageDialogHelper;
    default:
        return 0;
    }
}
{code}

So, is it possible to override this behavior somehow? Or e.g. to create an own
QAndroidPlatformTheme ? It it possible in Qt at all?

PS: What is reason that the Android's theme does not support the Color && File Dialogs?

BR,
Denis


_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to