<?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 Invalid Path for Map Layer when using ArcGISLocalTiledLayer in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/invalid-path-for-map-layer-when-using/m-p/92494#M693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I loaded a map cache in genymotion emulator.&amp;nbsp; When I run the app, I receive the following error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;url =/storage/emulated/0/ArcGIS/SAGE/LocalNetwork/SanFrancisco/basemap/Basemap/_alllayers is invalid path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the OfflineRoutingAndGeocoding sample app and modifying it.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;final String tpkPath = "/ArcGIS/SAGE/LocalNetwork/SanFrancisco/basemap/Basemap/_alllayers";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mTileLayer = new ArcGISLocalTiledLayer(extern + tpkPath);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map cache I create is from the File/ShareAs/Runtime content... in ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I comment out the lines for the map background to just see the network, it doesn't show up because the background is black. I assume the streets are drawn in black.&amp;nbsp; How can I change the background color to white or the streets to another color to make sure the network is loading.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 12:18:09 GMT</pubDate>
    <dc:creator>LukeCatania</dc:creator>
    <dc:date>2014-04-02T12:18:09Z</dc:date>
    <item>
      <title>Invalid Path for Map Layer when using ArcGISLocalTiledLayer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/invalid-path-for-map-layer-when-using/m-p/92494#M693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I loaded a map cache in genymotion emulator.&amp;nbsp; When I run the app, I receive the following error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;url =/storage/emulated/0/ArcGIS/SAGE/LocalNetwork/SanFrancisco/basemap/Basemap/_alllayers is invalid path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the OfflineRoutingAndGeocoding sample app and modifying it.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;final String tpkPath = "/ArcGIS/SAGE/LocalNetwork/SanFrancisco/basemap/Basemap/_alllayers";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mTileLayer = new ArcGISLocalTiledLayer(extern + tpkPath);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map cache I create is from the File/ShareAs/Runtime content... in ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I comment out the lines for the map background to just see the network, it doesn't show up because the background is black. I assume the streets are drawn in black.&amp;nbsp; How can I change the background color to white or the streets to another color to make sure the network is loading.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:18:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/invalid-path-for-map-layer-when-using/m-p/92494#M693</guid>
      <dc:creator>LukeCatania</dc:creator>
      <dc:date>2014-04-02T12:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Path for Map Layer when using ArcGISLocalTiledLayer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/invalid-path-for-map-layer-when-using/m-p/92495#M694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Error on my part with the path.&amp;nbsp; That part is fixed.&amp;nbsp; Error I get now is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.RuntimeException: Error reading cache configuration!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:21:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/invalid-path-for-map-layer-when-using/m-p/92495#M694</guid>
      <dc:creator>LukeCatania</dc:creator>
      <dc:date>2014-04-02T12:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Path for Map Layer when using ArcGISLocalTiledLayer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/invalid-path-for-map-layer-when-using/m-p/92496#M695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well even though the documentation at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/android/map/ags/ArcGISLocalTiledLayer.html"&gt;https://developers.arcgis.com/android/api-reference/reference/com/esri/android/map/ags/ArcGISLocalTiledLayer.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;shows an example of how to acess the cache as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGISLocalTiledLayer local = new ArcGISLocalTiledLayer("/sdcard/&amp;lt;CacheName&amp;gt;/Layers");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed it to: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGISLocalTiledLayer local = new ArcGISLocalTiledLayer("/sdcard/&amp;lt;CacheName&amp;gt;");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and it worked.&amp;nbsp; My layers subdirectory is actually called "_alllayers".&amp;nbsp; I supposed maybe it just looks one directory below what you specify looking for L## subdirectories.&amp;nbsp; Then I though maybe it looks in the conf.xml or conf.cdi files for a path to the bundles, but those files do not contain that info.&amp;nbsp; Not every cache built would have the "_alllayers" designation as I remember.&amp;nbsp; A user can change the "Layers" name in ArcMap TOC which I thought is what determines how that is named when building a cache from a map service.&amp;nbsp; I think my map was designated "_alllayers" because it was created using the runtime content option basemap option.&amp;nbsp; Unless something changed with how that directory is named in 10.2.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 15:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/invalid-path-for-map-layer-when-using/m-p/92496#M695</guid>
      <dc:creator>LukeCatania</dc:creator>
      <dc:date>2014-04-03T15:18:28Z</dc:date>
    </item>
  </channel>
</rss>

