<?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: User home folder on samsung android device in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/user-home-folder-on-samsung-android-device/m-p/775291#M621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul, Survey123 has workFolder set to&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppFramework.standardPaths.writableLocation(StandardPaths.TempLocation)
&lt;/PRE&gt;&lt;P&gt;It seems you're already aware of standardPaths, for reference, here's a complete list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-size: 12px;"&gt;var locations = {&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; appData : AppFramework.standardPaths.standardLocations(StandardPaths.AppDataLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; applications: AppFramework.standardPaths.standardLocations(StandardPaths.ApplicationsLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; appLocalData : AppFramework.standardPaths.standardLocations(StandardPaths.AppLocalDataLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; cache: AppFramework.standardPaths.standardLocations(StandardPaths.CacheLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; config: AppFramework.standardPaths.standardLocations(StandardPaths.ConfigLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; data: AppFramework.standardPaths.standardLocations(StandardPaths.DataLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; desktop: AppFramework.standardPaths.standardLocations(StandardPaths.DesktopLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; documents: AppFramework.standardPaths.standardLocations(StandardPaths.DocumentsLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; download: AppFramework.standardPaths.standardLocations(StandardPaths.DownloadLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; fonts: AppFramework.standardPaths.standardLocations(StandardPaths.FontsLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; genericCache: AppFramework.standardPaths.standardLocations(StandardPaths.GenericCacheLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; genericConfig: AppFramework.standardPaths.standardLocations(StandardPaths.GenericConfigLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; genericData: AppFramework.standardPaths.standardLocations(StandardPaths.GenericDataLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; home: AppFramework.standardPaths.standardLocations(StandardPaths.HomeLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; movies: AppFramework.standardPaths.standardLocations(StandardPaths.MoviesLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; music: AppFramework.standardPaths.standardLocations(StandardPaths.MusicLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; pictures: AppFramework.standardPaths.standardLocations(StandardPaths.PicturesLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; runtime: AppFramework.standardPaths.standardLocations(StandardPaths.RuntimeLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; temp: AppFramework.standardPaths.standardLocations(StandardPaths.TempLocation)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;};&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;-- Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 16:54:20 GMT</pubDate>
    <dc:creator>StephenQuan1</dc:creator>
    <dc:date>2021-12-12T16:54:20Z</dc:date>
    <item>
      <title>User home folder on samsung android device</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/user-home-folder-on-samsung-android-device/m-p/775288#M618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am having an issue with accessing the user home folder on a Samsung Android device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tested these variations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #008000;"&gt;AppFramework.userHomeFolder.path&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"/myFolder"
&lt;/SPAN&gt;AppFramework.userHomePath&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;/SPAN&gt;"/myFolder"
"~/myFolder"
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;BR /&gt;They all seem to return the path of "/sdcard"&lt;BR /&gt;&lt;BR /&gt;Then any attempt to create a folder fails with just a generic 'Error creating' message.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;FileFolder{&lt;BR /&gt;Component.Oncompleted{&lt;BR /&gt;if (!exists){makeFolder()}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;The device doesn't have an sdcard in it. My question is, why is it returning the path of '/sdcard'?&lt;BR /&gt;&lt;BR /&gt;As a comparison, Survey123 appears to use the "~/myFolder" approach, and works fine on this device. So I'm not sure why I'm experiencing a different result.&lt;BR /&gt;&lt;BR /&gt;Using this:&lt;BR /&gt;&lt;SPAN style="color: #800080;"&gt;AppFramework&lt;/SPAN&gt;.standardPaths.standardLocations(&lt;SPAN style="color: #800080;"&gt;StandardPaths&lt;/SPAN&gt;.HomeLocation)[0]&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;+&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"/myFolder"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Allows me to create a folder and get the app to work, but the location is not the location that Survey123 accesses, and is obviously not visible when I plug the device into a pc and try to browse the file system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestions welcome.&lt;BR /&gt;Regards,&lt;BR /&gt;-Paul&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:54:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/user-home-folder-on-samsung-android-device/m-p/775288#M618</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T16:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: User home folder on samsung android device</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/user-home-folder-on-samsung-android-device/m-p/775289#M619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this inside the player? if not then have you enabled the external storage permisssion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:52:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/user-home-folder-on-samsung-android-device/m-p/775289#M619</guid>
      <dc:creator>SathyaPrasad</dc:creator>
      <dc:date>2016-11-14T22:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: User home folder on samsung android device</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/user-home-folder-on-samsung-android-device/m-p/775290#M620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh dear...... rookie mistake! Thanks Sathya, I even knew that but had completely forgotten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully leaving this post here will keep someone else from asking the same question....!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Nov 2016 19:50:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/user-home-folder-on-samsung-android-device/m-p/775290#M620</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-11-20T19:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: User home folder on samsung android device</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/user-home-folder-on-samsung-android-device/m-p/775291#M621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul, Survey123 has workFolder set to&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppFramework.standardPaths.writableLocation(StandardPaths.TempLocation)
&lt;/PRE&gt;&lt;P&gt;It seems you're already aware of standardPaths, for reference, here's a complete list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-size: 12px;"&gt;var locations = {&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; appData : AppFramework.standardPaths.standardLocations(StandardPaths.AppDataLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; applications: AppFramework.standardPaths.standardLocations(StandardPaths.ApplicationsLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; appLocalData : AppFramework.standardPaths.standardLocations(StandardPaths.AppLocalDataLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; cache: AppFramework.standardPaths.standardLocations(StandardPaths.CacheLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; config: AppFramework.standardPaths.standardLocations(StandardPaths.ConfigLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; data: AppFramework.standardPaths.standardLocations(StandardPaths.DataLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; desktop: AppFramework.standardPaths.standardLocations(StandardPaths.DesktopLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; documents: AppFramework.standardPaths.standardLocations(StandardPaths.DocumentsLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; download: AppFramework.standardPaths.standardLocations(StandardPaths.DownloadLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; fonts: AppFramework.standardPaths.standardLocations(StandardPaths.FontsLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; genericCache: AppFramework.standardPaths.standardLocations(StandardPaths.GenericCacheLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; genericConfig: AppFramework.standardPaths.standardLocations(StandardPaths.GenericConfigLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; genericData: AppFramework.standardPaths.standardLocations(StandardPaths.GenericDataLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; home: AppFramework.standardPaths.standardLocations(StandardPaths.HomeLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; movies: AppFramework.standardPaths.standardLocations(StandardPaths.MoviesLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; music: AppFramework.standardPaths.standardLocations(StandardPaths.MusicLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; pictures: AppFramework.standardPaths.standardLocations(StandardPaths.PicturesLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; runtime: AppFramework.standardPaths.standardLocations(StandardPaths.RuntimeLocation),&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; temp: AppFramework.standardPaths.standardLocations(StandardPaths.TempLocation)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 12px;"&gt;};&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;-- Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/user-home-folder-on-samsung-android-device/m-p/775291#M621</guid>
      <dc:creator>StephenQuan1</dc:creator>
      <dc:date>2021-12-12T16:54:20Z</dc:date>
    </item>
  </channel>
</rss>

