<?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: Adding Feature Layers to a runtime geodatabase in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adding-feature-layers-to-a-runtime-geodatabase/m-p/125089#M909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, a feature service contains many layers (consider these feature layers). The &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;GeodatabaseSyncTask works at the feature service level so you can bring down many layers into many FeatureTables. By default, the default &lt;A href="http://https//developers.arcgis.com/android/api-reference/reference/com/esri/core/tasks/geodatabase/GenerateGeodatabaseParameters.html"&gt;sync parameters&lt;/A&gt; we give you if you construct it with a feature service info will be set up to return all layers in the feature service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2015 23:56:55 GMT</pubDate>
    <dc:creator>WillCrick</dc:creator>
    <dc:date>2015-06-12T23:56:55Z</dc:date>
    <item>
      <title>Adding Feature Layers to a runtime geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adding-feature-layers-to-a-runtime-geodatabase/m-p/125086#M906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS Android SDK for developping application in my company.We have WebMaps that represent building floors.WebMaps are constructed in a way that each webmap has 4 Layers (Basemap ,Polygons,lines and points). The problem here is that i cannot find any way to &lt;STRONG&gt;ADD&lt;/STRONG&gt; more layers (not sublayers) to a runtime geodatabase once it is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more clear here is a snippet of my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #678cb1; font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&lt;SPAN style="color: #678cb1;"&gt;String gdbFileName &lt;/SPAN&gt;&lt;SPAN style="color: #e8e2b7;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #678cb1;"&gt;Environment&lt;/SPAN&gt;&lt;SPAN style="color: #e8e2b7;"&gt;.&lt;/SPAN&gt;getExternalStorageDirectory&lt;SPAN style="color: #e8e2b7;"&gt;().&lt;/SPAN&gt;getPath&lt;SPAN style="color: #e8e2b7;"&gt;() + &lt;/SPAN&gt;&lt;SPAN style="color: #ec7600;"&gt;"/ArcGIS/offlinedata.geodatabase"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #678cb1;"&gt;&lt;SPAN style="color: #93c763;"&gt;&lt;SPAN style="color: #678cb1; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;GeodatabaseSyncTask myGdbTask=&lt;/SPAN&gt;new &lt;/SPAN&gt;GeodatabaseSyncTask&lt;SPAN style="color: #e8e2b7;"&gt;(&lt;/SPAN&gt;layerUrl&lt;SPAN style="color: #e8e2b7;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #93c763;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="color: #e8e2b7;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN style="color: #e8e2b7;"&gt;&lt;SPAN style="color: #678cb1; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;myGdbTask&lt;/SPAN&gt;.&lt;/SPAN&gt;generateGeodatabase&lt;SPAN style="color: #e8e2b7;"&gt;(&lt;/SPAN&gt;params&lt;SPAN style="color: #e8e2b7;"&gt;, &lt;SPAN style="color: #678cb1; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;gdbFileName &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e8e2b7;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #93c763;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: #e8e2b7;"&gt;, &lt;/SPAN&gt;statusCallback&lt;SPAN style="color: #e8e2b7;"&gt;, &lt;/SPAN&gt;gdbResponseCallback&lt;SPAN style="color: #e8e2b7;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database is created successfully and i get the path in the callback. Moreover i can add it to the mapview.&lt;/P&gt;&lt;P&gt;I want to add more Feature Layers to the same geodatabase. Is that possible ? and if yes, How can i do that ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:08:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adding-feature-layers-to-a-runtime-geodatabase/m-p/125086#M906</guid>
      <dc:creator>BishoyGerges1</dc:creator>
      <dc:date>2021-12-11T07:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Feature Layers to a runtime geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adding-feature-layers-to-a-runtime-geodatabase/m-p/125087#M907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately you cannot add new FeatureTables to an existing Geodatabase object using the API. You have to either author these geodatabases in ArcMap or generate them from a feature service (using the GeodatabaseSyncTask).&lt;/P&gt;&lt;P&gt;See this doc for the offline patterns we currently support.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/guide/create-an-offline-map.htm" style="line-height: 1.5;" title="https://developers.arcgis.com/android/guide/create-an-offline-map.htm"&gt;Create an offline map—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt;&lt;SPAN style="line-height: 1.5;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 23:00:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adding-feature-layers-to-a-runtime-geodatabase/m-p/125087#M907</guid>
      <dc:creator>WillCrick</dc:creator>
      <dc:date>2015-06-05T23:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Feature Layers to a runtime geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adding-feature-layers-to-a-runtime-geodatabase/m-p/125088#M908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And since the GeodatabaseSyncTask takes only one feature service url, so i cannot even create a geodatabase with multiple FeatureTables. Right ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 11:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adding-feature-layers-to-a-runtime-geodatabase/m-p/125088#M908</guid>
      <dc:creator>BishoyGerges1</dc:creator>
      <dc:date>2015-06-08T11:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Feature Layers to a runtime geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adding-feature-layers-to-a-runtime-geodatabase/m-p/125089#M909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, a feature service contains many layers (consider these feature layers). The &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;GeodatabaseSyncTask works at the feature service level so you can bring down many layers into many FeatureTables. By default, the default &lt;A href="http://https//developers.arcgis.com/android/api-reference/reference/com/esri/core/tasks/geodatabase/GenerateGeodatabaseParameters.html"&gt;sync parameters&lt;/A&gt; we give you if you construct it with a feature service info will be set up to return all layers in the feature service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 23:56:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/adding-feature-layers-to-a-runtime-geodatabase/m-p/125089#M909</guid>
      <dc:creator>WillCrick</dc:creator>
      <dc:date>2015-06-12T23:56:55Z</dc:date>
    </item>
  </channel>
</rss>

