<?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 Feature Layer not displayed in Android App in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/feature-layer-not-displayed-in-android-app/m-p/567042#M3875</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;1) I imported an existing offline basemap .. .tpk file into Arcmap 10.2.1 using Arccatalogue&lt;/P&gt;&lt;P&gt;2) I created a featureclass( with ploygon features) in Arcmap 10.2.1 over the basemap and created one feature layer which has polygon shaped field drawn on the basemap.&lt;/P&gt;&lt;P&gt;3) Then i generated the .geodatabase file for runtime sharing , so as to use it in my Android application.(as suggested in the webpage below)&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: DE; mso-bidi-language: AR-SA;"&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: DE; mso-bidi-language: AR-SA;"&gt;4) I copied the .tpk file and .geodatabase file and my code is as follwos in my android app..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: DE; mso-bidi-language: AR-SA;"&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;mMapView&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.addLayer(&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; ArcGISLocalTiledLayer(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: 10pt; text-decoration: underline;"&gt;"Path to my existing .TPK file"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Geodatabase localGdb = null;&lt;BR /&gt;try {&lt;/P&gt;&lt;P&gt;localGdb = new Geodatabase("PATH TO MY .geodatabase file");&amp;nbsp; &lt;BR /&gt;} catch (FileNotFoundException e) {&lt;BR /&gt;e.printStackTrace();&lt;BR /&gt;}&amp;nbsp; &lt;/P&gt;&lt;P&gt;for (GeodatabaseFeatureTable gdbFeatureTable : localGdb.getGeodatabaseTables()) {&lt;BR /&gt;if (gdbFeatureTable.hasGeometry())&lt;BR /&gt;mMapView.addLayer(new FeatureLayer(gdbFeatureTable));&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to see the field i drawed using Arcmap in my android application when i use the basemap .TPK file.&lt;/P&gt;&lt;P&gt;I can only see my field(feature layer) drawn only when i am not including the basemap .TPK file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2014 13:36:48 GMT</pubDate>
    <dc:creator>PrakashChamarthy</dc:creator>
    <dc:date>2014-08-21T13:36:48Z</dc:date>
    <item>
      <title>Feature Layer not displayed in Android App</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/feature-layer-not-displayed-in-android-app/m-p/567042#M3875</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;1) I imported an existing offline basemap .. .tpk file into Arcmap 10.2.1 using Arccatalogue&lt;/P&gt;&lt;P&gt;2) I created a featureclass( with ploygon features) in Arcmap 10.2.1 over the basemap and created one feature layer which has polygon shaped field drawn on the basemap.&lt;/P&gt;&lt;P&gt;3) Then i generated the .geodatabase file for runtime sharing , so as to use it in my Android application.(as suggested in the webpage below)&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: DE; mso-bidi-language: AR-SA;"&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: DE; mso-bidi-language: AR-SA;"&gt;4) I copied the .tpk file and .geodatabase file and my code is as follwos in my android app..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: DE; mso-bidi-language: AR-SA;"&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;mMapView&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.addLayer(&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt;"&gt;new&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; ArcGISLocalTiledLayer(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: 10pt; text-decoration: underline;"&gt;"Path to my existing .TPK file"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Geodatabase localGdb = null;&lt;BR /&gt;try {&lt;/P&gt;&lt;P&gt;localGdb = new Geodatabase("PATH TO MY .geodatabase file");&amp;nbsp; &lt;BR /&gt;} catch (FileNotFoundException e) {&lt;BR /&gt;e.printStackTrace();&lt;BR /&gt;}&amp;nbsp; &lt;/P&gt;&lt;P&gt;for (GeodatabaseFeatureTable gdbFeatureTable : localGdb.getGeodatabaseTables()) {&lt;BR /&gt;if (gdbFeatureTable.hasGeometry())&lt;BR /&gt;mMapView.addLayer(new FeatureLayer(gdbFeatureTable));&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to see the field i drawed using Arcmap in my android application when i use the basemap .TPK file.&lt;/P&gt;&lt;P&gt;I can only see my field(feature layer) drawn only when i am not including the basemap .TPK file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:36:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/feature-layer-not-displayed-in-android-app/m-p/567042#M3875</guid>
      <dc:creator>PrakashChamarthy</dc:creator>
      <dc:date>2014-08-21T13:36:48Z</dc:date>
    </item>
  </channel>
</rss>

