<?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: Create a Local Database and Sync with Java Quartz Beta 2 in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233968#M657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adam, I got it to work. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2016 01:39:37 GMT</pubDate>
    <dc:creator>thomasbales</dc:creator>
    <dc:date>2016-09-08T01:39:37Z</dc:date>
    <item>
      <title>Create a Local Database and Sync with Java Quartz Beta 2</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233965#M654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;I have been struggling to create a local database from an AGOL feature service with the Java Quartz Beta 2 SDK. This is a requirement for my project and I need some help in getting a hosted feature service into a database. I have gone over the guide and the sample code but there seem to be some errors. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;1) geodatabaseSyncTask = new GeodatabaseSyncTask(FEATURE_SERVICE_URL, null);&amp;nbsp; - There is no field for a null in the constructor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;2) geodatabaseSyncTask.fetchFeatureServiceInfo(new CallbackListener&amp;lt;FeatureServiceInfo&amp;gt;()&amp;nbsp; - There is not a fetchFeatureServiceInfo method, I have been getting the same result by using ArcGISFeatureServiceInfo class.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;And so on...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;I am only looking for a very simple code example on how to create a local database from an ArcGIS online hosted feature service. Could someone get me started?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;And thanks for the previous help on getting to the service url the new Quartz rocks!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;Thanks,&lt;/SPAN&gt;&lt;BR style="background-color: #f8f8f8; font-size: 13px;" /&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;Tom&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 19:30:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233965#M654</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2016-09-06T19:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Local Database and Sync with Java Quartz Beta 2</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233966#M655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since ArcGIS Runtime for Android and Java shares almost the same syntax, please follow these instructions:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/beta/guide/sync-offline-edits.htm" title="https://developers.arcgis.com/android/beta/guide/sync-offline-edits.htm"&gt;Sync offline edits—ArcGIS Runtime SDK for Android (Quartz Beta) | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mind that&amp;nbsp;&lt;A href="https://developers.arcgis.com/android/beta/api-reference/reference/com/esri/arcgisruntime/tasks/geodatabase/GeodatabaseSyncTask.html#GeodatabaseSyncTask(android.content.Context, java.lang.String)" style="color: #006699; background-color: #f6f6f6; text-decoration: underline; font-size: 11.7px;"&gt;GeodatabaseSyncTask&lt;/A&gt;&amp;nbsp;constructor differs a bit..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 12:03:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233966#M655</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2016-09-07T12:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Local Database and Sync with Java Quartz Beta 2</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233967#M656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, thanks I am getting closer but still not quite there. I can't seem to create the database in the temp folder but I am able to check to the sync capability of the hosted feature service. Also,&lt;BR /&gt;with the code below I get as far as upDateStarted for the job status and don't seem to throw any exceptions. However, the temp folder is empty at the end of the process. I am wondering if the createDatabase() method is the problem. Note, I have to juggle a few different programming languages so I may missed something.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you so much for help and I feel like I have made some headway. Here is the code I have been testing so far. For now, I am only interested in creating the database and not add the AGOL layers to a map. I think I can get over that hurdle when I get to it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 15:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233967#M656</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2016-09-07T15:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Local Database and Sync with Java Quartz Beta 2</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233968#M657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adam, I got it to work. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 01:39:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233968#M657</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2016-09-08T01:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Local Database and Sync with Java Quartz Beta 2</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233969#M658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark the correctly answered questions as resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 05:25:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/create-a-local-database-and-sync-with-java-quartz/m-p/233969#M658</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2016-09-08T05:25:39Z</dc:date>
    </item>
  </channel>
</rss>

