<?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 application in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/feature-layer-not-displayed-in-android-application/m-p/680985#M1413</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 href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000"&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; &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;&lt;BR /&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>Wed, 20 Aug 2014 14:38:52 GMT</pubDate>
    <dc:creator>PrakashChamarthy</dc:creator>
    <dc:date>2014-08-20T14:38:52Z</dc:date>
    <item>
      <title>Feature layer not displayed in Android application</title>
      <link>https://community.esri.com/t5/arcmap-questions/feature-layer-not-displayed-in-android-application/m-p/680985#M1413</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 href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00660000045q000000"&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; &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;&lt;BR /&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>Wed, 20 Aug 2014 14:38:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/feature-layer-not-displayed-in-android-application/m-p/680985#M1413</guid>
      <dc:creator>PrakashChamarthy</dc:creator>
      <dc:date>2014-08-20T14:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layer not displayed in Android application</title>
      <link>https://community.esri.com/t5/arcmap-questions/feature-layer-not-displayed-in-android-application/m-p/680986#M1414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be a spatial reference issue. Please check if the .tpk has the same spatial reference with the feature layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2014 01:55:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/feature-layer-not-displayed-in-android-application/m-p/680986#M1414</guid>
      <dc:creator>ArtemisFili</dc:creator>
      <dc:date>2014-09-20T01:55:34Z</dc:date>
    </item>
  </channel>
</rss>

