<?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 MobileCacheSyncAgent Class in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735776#M3081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the MobileCacheSyncAgent Class there is a big reduction in the number of available methods to sync data when compared to the 9.3.1 MobileService class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also see the MobileCacheSyncAgent Class has a Synchronize method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd really like some more info on how the DownloadExtent and Synchronize methods work e.g. what they do, when to use which, etc.&amp;nbsp; Do you have any further details?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Mar 2010 09:51:57 GMT</pubDate>
    <dc:creator>StephenDickinson</dc:creator>
    <dc:date>2010-03-05T09:51:57Z</dc:date>
    <item>
      <title>GetFeatureDataAsync obsolete?</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735772#M3077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the MobileService class I get informed by Visual Studio that several methods are obsolete including methods used in previous versions to download data from the server to the mobile cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can still use these methods but should I now be doing things differently given their marked status?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 14:58:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735772#M3077</guid>
      <dc:creator>StephenDickinson</dc:creator>
      <dc:date>2010-02-15T14:58:32Z</dc:date>
    </item>
    <item>
      <title>GetFeatureDataAsync obsolete?</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735773#M3078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still waiting to hear back on this...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has the recommended way of synchronizing data using the ArcGIS Mobile SDK changed from 9.3.1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 07:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735773#M3078</guid>
      <dc:creator>StephenDickinson</dc:creator>
      <dc:date>2010-02-25T07:18:18Z</dc:date>
    </item>
    <item>
      <title>GetFeatureDataAsync obsolete?</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735774#M3079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgismobile/adf/ESRI.ArcGIS.Mobile~ESRI.ArcGIS.Mobile.MobileServices.MobileService~GetFeatureDataAsync.html"&gt;http://resources.esri.com/help/9.3/arcgismobile/adf/ESRI.ArcGIS.Mobile~ESRI.ArcGIS.Mobile.MobileServices.MobileService~GetFeatureDataAsync.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not seeing anything in the help that states to use something different but the above link contains all the overloaded methods that pertain to this particular method.&amp;nbsp; Try using some of those and see if it likes them better.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 12:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735774#M3079</guid>
      <dc:creator>JU</dc:creator>
      <dc:date>2010-02-26T12:07:11Z</dc:date>
    </item>
    <item>
      <title>MobileCacheSyncAgent Class</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735775#M3080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It was my understanding that the MobileCacheSyncAgent was the new way to handle synchronization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a brief example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MobileCache m_mobileCache1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void button_Click(object sender, RoutedEventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_mobileCache1 = new MobileCache(@"C:\YourCache");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; createOpenCache();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //openExistingCache();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void openExistingCache()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_mobileCache1.Open();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map.MapLayers.AddRange(m_mobileCache1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void createOpenCache()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (m_mobileCache1.CacheExists)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_mobileCache1.Close();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_mobileCache1.DeleteCache();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MobileServiceConnection con = new MobileServiceConnection();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; con.Url = @"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://YourServer/arcgis/services/testsearch/MobileServer" rel="nofollow" target="_blank"&gt;http://YourServer/arcgis/services/testsearch/MobileServer&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; con.CreateCache(m_mobileCache1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_mobileCache1.Open();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MobileCacheSyncAgent agent = new MobileCacheSyncAgent(m_mobileCache1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agent.MapDocumentConnection = con;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; agent.DownloadExtent(m_mobileCache1.GetExtent(), 0, 0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map.MapLayers.AddRange(m_mobileCache1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 14:16:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735775#M3080</guid>
      <dc:creator>JohnHauck</dc:creator>
      <dc:date>2010-02-26T14:16:22Z</dc:date>
    </item>
    <item>
      <title>MobileCacheSyncAgent Class</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735776#M3081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the MobileCacheSyncAgent Class there is a big reduction in the number of available methods to sync data when compared to the 9.3.1 MobileService class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also see the MobileCacheSyncAgent Class has a Synchronize method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd really like some more info on how the DownloadExtent and Synchronize methods work e.g. what they do, when to use which, etc.&amp;nbsp; Do you have any further details?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 09:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735776#M3081</guid>
      <dc:creator>StephenDickinson</dc:creator>
      <dc:date>2010-03-05T09:51:57Z</dc:date>
    </item>
    <item>
      <title>GetFeatureDataAsync obsolete?</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735777#M3082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to follow up on this, each layer now has its own layer sync agent object which can be configured independently regarding sync behaviour.&amp;nbsp; This takes the place of the various overloads and parameters that existed previously for the sync methods of the MobileService class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 09:15:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735777#M3082</guid>
      <dc:creator>StephenDickinson</dc:creator>
      <dc:date>2010-04-23T09:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: GetFeatureDataAsync obsolete?</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735778#M3083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, from what I have heard, this is true about the layer synch agents.&amp;nbsp; These layer synch agents are supposedly much more flexible and powerful than the synchronization options we had at 9.3.1 and before -- which would be welcome news if this were true.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not had the opportunity to check out the version 10 layer synch agents in detail though, so I don't know anything in the way of specifics.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 12:19:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735778#M3083</guid>
      <dc:creator>DavidMarley</dc:creator>
      <dc:date>2010-05-06T12:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: GetFeatureDataAsync obsolete?</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735779#M3084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dave,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My initial investigations have shown that these seem to work well.&amp;nbsp; One behavioural change that stands out is that changes made in the geodatabase can now be downloaded to the mobile cache upon synchronization automatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the face of it this is really good as it does away with the need to have one or more supplementary (non ArcGIS Mobile SDK) processes that fulfill the role of identifying changes between mobile cache and geodatabase pre SDK synchronization request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I have found that quite a bit of traffic is communicated upstream during the synchronization.&amp;nbsp; I guess this is currency information being pushed from the mobile cache to AGS so a call can be made on what data to send back down the wire.&amp;nbsp; For small extents of data this doesn't seem to be an issue but for large extents of dense data this can be expensive in terms of upstream data volume and synchronization duration.&amp;nbsp; A case in point is were there are no changes to the data but all the currency data for the extent in question has to be communicated to AGS in order to determine this fact.&amp;nbsp; I assume this has to be done as no state information is maintained server-side so the currency landscape for a given mobile cache instance needs to be built up for the requested layers and extent each synchronization request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This leaves me still thinking about implementating a supplementary process (AGS API, custom web service, etc) to determine what has changed that feeds into the SDK sync methods to get just the data I want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 14:13:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/getfeaturedataasync-obsolete/m-p/735779#M3084</guid>
      <dc:creator>StephenDickinson</dc:creator>
      <dc:date>2010-05-06T14:13:02Z</dc:date>
    </item>
  </channel>
</rss>

