<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with FolderListModel on Android 10 in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/problem-with-folderlistmodel-on-android-10/m-p/1079828#M3986</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/21970"&gt;@JorgeFrade_Martínez&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is weird, I have a feeling it might related to the StandardPath, can you try different standard path options to see if we are still seeing the same issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/appstudio/api-reference/qml-arcgis-appframework-standardpaths/" target="_blank"&gt;https://developers.arcgis.com/appstudio/api-reference/qml-arcgis-appframework-standardpaths/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Erwin.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jul 2021 19:13:29 GMT</pubDate>
    <dc:creator>ErwinSoekianto</dc:creator>
    <dc:date>2021-07-16T19:13:29Z</dc:date>
    <item>
      <title>Problem with FolderListModel on Android 10</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/problem-with-folderlistmodel-on-android-10/m-p/1076660#M3968</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;Im using the FolderListModel&amp;nbsp; to make a custom file chooser, works perfectly on Windows, iOS and Android 11.&lt;BR /&gt;&lt;BR /&gt;The problem is that on &lt;STRONG&gt;Android 10&lt;/STRONG&gt;, do not work at all...&lt;BR /&gt;&lt;BR /&gt;Can you provide me some help with this?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Window 2.2
import Qt.labs.folderlistmodel 2.2
import ArcGIS.AppFramework 1.0

Rectangle {
    visible: false
    width: 640
    height: 480

    Rectangle {
        id: mainRect
        x: 20
        y: 20
        width: 300
        height: 450
        border.color: "black"
        radius: 30
        ListView {
            y: 30
            width: parent.width
            height: parent.height - 60
            clip: true
            model: FolderListModel {
                id: folderListModel
                showDirsFirst: true
                folder: "file:///" + AppFramework.standardPaths.defaultFolder(StandardPaths.DownloadLocation).path
//                nameFilters: ["*.mp3", "*.flac"]
            }

            delegate: Button {
                width: parent.width
                height: 50
                text: fileName
                onClicked: {
                    if (fileIsDir) {
                        folderListModel.folder = fileURL
                    }
                }
                background: Rectangle {
                    color: fileIsDir ? "orange" : "gray"
                    border.color: "black"
                }
            }
        }
    }
    Button {
        anchors.left: mainRect.right
        anchors.leftMargin: 5
        text: "back"
        onClicked: folderListModel.folder = folderListModel.parentFolder
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 11:14:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/problem-with-folderlistmodel-on-android-10/m-p/1076660#M3968</guid>
      <dc:creator>JorgeFrade_Martínez</dc:creator>
      <dc:date>2021-07-08T11:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FolderListModel on Android 10</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/problem-with-folderlistmodel-on-android-10/m-p/1079828#M3986</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/21970"&gt;@JorgeFrade_Martínez&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is weird, I have a feeling it might related to the StandardPath, can you try different standard path options to see if we are still seeing the same issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/appstudio/api-reference/qml-arcgis-appframework-standardpaths/" target="_blank"&gt;https://developers.arcgis.com/appstudio/api-reference/qml-arcgis-appframework-standardpaths/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Erwin.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 19:13:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/problem-with-folderlistmodel-on-android-10/m-p/1079828#M3986</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2021-07-16T19:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FolderListModel on Android 10</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/problem-with-folderlistmodel-on-android-10/m-p/1080740#M3997</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/204423"&gt;@ErwinSoekianto&lt;/a&gt; !&lt;BR /&gt;&lt;BR /&gt;I try all the others Standard Paths without success. I also tried hardcoding some paths but with the same result...&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 09:23:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/problem-with-folderlistmodel-on-android-10/m-p/1080740#M3997</guid>
      <dc:creator>JorgeFrade_Martínez</dc:creator>
      <dc:date>2021-07-20T09:23:14Z</dc:date>
    </item>
  </channel>
</rss>

