<?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 Get ipad writable directory in Flex in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-ipad-writable-directory-in-flex/m-p/327169#M7833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing an ipad app using Flex (Adobe Air, Flash Builder). I understand that in objective-C, you can get the writable directory using NSDocumentDirectory, but how do you do the same in Flex??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Flex, I use File.applicationStorageDirectory, and it works only when I run in the simulator. If I install the app on my ipad, it doesn't give any error, but I don't think it works. Please help!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2012 21:27:14 GMT</pubDate>
    <dc:creator>AnN</dc:creator>
    <dc:date>2012-09-25T21:27:14Z</dc:date>
    <item>
      <title>Get ipad writable directory in Flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-ipad-writable-directory-in-flex/m-p/327169#M7833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing an ipad app using Flex (Adobe Air, Flash Builder). I understand that in objective-C, you can get the writable directory using NSDocumentDirectory, but how do you do the same in Flex??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Flex, I use File.applicationStorageDirectory, and it works only when I run in the simulator. If I install the app on my ipad, it doesn't give any error, but I don't think it works. Please help!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 21:27:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-ipad-writable-directory-in-flex/m-p/327169#M7833</guid>
      <dc:creator>AnN</dc:creator>
      <dc:date>2012-09-25T21:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get ipad writable directory in Flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-ipad-writable-directory-in-flex/m-p/327170#M7834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should be able to use the File.applicationStorageDirectory to read/write files specific to your app (this space is only available to the app).&amp;nbsp; One caution is to make sure you are using the correct path.&amp;nbsp; The best way is to use resolvePath such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var newFile:File = File.applicationStorageDirectory.resolvePath("file.txt")&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 11:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-ipad-writable-directory-in-flex/m-p/327170#M7834</guid>
      <dc:creator>ParksCamp</dc:creator>
      <dc:date>2012-09-27T11:08:10Z</dc:date>
    </item>
  </channel>
</rss>

