<?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: Map cache with data, the IsEmpty property is always true. in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/map-cache-with-data-the-isempty-property-is-always/m-p/154173#M688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Indra!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2012 11:05:42 GMT</pubDate>
    <dc:creator>StephenThornton</dc:creator>
    <dc:date>2012-09-13T11:05:42Z</dc:date>
    <item>
      <title>Map cache with data, the IsEmpty property is always true.</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/map-cache-with-data-the-isempty-property-is-always/m-p/154171#M686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working through the ArcGIS Mobile sample located here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgismobile/10.0/apis/arcgismobile/help/index.html#/Building_your_first_ArcGIS_Mobile_application_for_Windows_Mobile/014q00000018000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgismobile/10.0/apis/arcgismobile/help/index.html#/Building_your_first_ArcGIS_Mobile_application_for_Windows_Mobile/014q00000018000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is some code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if(mobileCache1.IsEmpty)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....code that recreates cache from a mobile service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....mobileCache1.Open();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know my cache has data because if I comment out the 'IsEmpty' code and just call mobileCache1.Open() then the data is displayed on the map. However the IsEmpty property seems to always return true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else come across this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 07:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/map-cache-with-data-the-isempty-property-is-always/m-p/154171#M686</guid>
      <dc:creator>StephenThornton</dc:creator>
      <dc:date>2012-09-12T07:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Map cache with data, the IsEmpty property is always true.</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/map-cache-with-data-the-isempty-property-is-always/m-p/154172#M687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you call&amp;nbsp; mobilecache1.isEmpty() function after opening the mobilecache then it will return false. MobileCache.Open method works with empty data also. The code should be like this - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if (mobilecache1.IsValid)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; mobilecache1.open();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if(mobilecache1.IsEmpty())&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// code to synchronize (download) mobile cache data&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Indra Bisen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 04:11:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/map-cache-with-data-the-isempty-property-is-always/m-p/154172#M687</guid>
      <dc:creator>IndraBisen</dc:creator>
      <dc:date>2012-09-13T04:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Map cache with data, the IsEmpty property is always true.</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/map-cache-with-data-the-isempty-property-is-always/m-p/154173#M688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Indra!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 11:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/map-cache-with-data-the-isempty-property-is-always/m-p/154173#M688</guid>
      <dc:creator>StephenThornton</dc:creator>
      <dc:date>2012-09-13T11:05:42Z</dc:date>
    </item>
  </channel>
</rss>

