<?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: Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199220#M1335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, sir! It was exactly the issue you mentioned.&lt;/P&gt;&lt;P&gt;I didn't know the map extent present when the Analyze window appeared would influence the exported files but it turned out it did. Everything on the app is working fine now, just like it's working on ArcMap.&lt;/P&gt;&lt;P&gt;Second time you were really accurate and straight to the point and provided valuable support, can't thank you enough!&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2020 22:14:28 GMT</pubDate>
    <dc:creator>MiguelLourenço</dc:creator>
    <dc:date>2020-05-18T22:14:28Z</dc:date>
    <item>
      <title>Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199212#M1327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a problem regarding the use of a custom Network Dataset.&lt;BR /&gt;So I built a Network Dataset using ArcCatalog and ArcMap 10.7.1 and exported as ArcGIS Runtime Content on ArcMap as a .geodatabase file. The settings chose for the exported file&amp;nbsp;were: "Do not include feature and tabular data"; "Do not include a basemap"; "Include network data from the current map"; and "Do not include a locator".&lt;/P&gt;&lt;P&gt;I then put this file on an Android emulator device and tested the&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/master/java/find-closest-facility-to-multiple-incidents-service"&gt;find-closest-facility-to-multiple-incidents-service&lt;/A&gt;&amp;nbsp;sample from ESRI's Github loading my geodatabase file through its path and using some custom example layers as Facilities and Incidents. The code I used is in the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to run the app and whenever I pressed the button to solve the &lt;A href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/tasks/networkanalysis/ClosestFacilityTask.html"&gt;ClosestFacilityTask &lt;/A&gt;I had an error with code &lt;STRONG&gt;18&lt;/STRONG&gt;. After checking the &lt;A href="https://developers.arcgis.com/android/latest/guide/platform-error-codes.htm"&gt;Platform Codes&lt;/A&gt; of the ArcGIS Runtime for Android this code was described as an &lt;STRONG&gt;'Internal Error Exception'&lt;/STRONG&gt; under the &lt;STRONG&gt;'ArcGIS Runtime errors'&lt;/STRONG&gt; category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thinking that this error might be due to a misconfiguration of my Network Dataset or possibly it wasn't really prepared to be used on the ArcGIS Runtime, I proceeded to search for an alternative Network Dataset geodatabase that could be used for testing. I found this &lt;A href="https://github.com/Esri/arcgis-runtime-samples-data/tree/master/networks/san-diego"&gt;one from ESRI&lt;/A&gt;&amp;nbsp;(only the file with .geodatabase extension) and tried to test on my app. Unfortunately, I got exactly the same error with code &lt;STRONG&gt;18&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to figure out the reason for this error and for the failure of the ClosestFacilityTask but couldn't find one.&lt;/P&gt;&lt;P&gt;I will provide the code from the MainActivity Java class, as well as my geodatabase in hopes that someone could provide some&amp;nbsp;valuable insight as to why I get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the support, It is strongly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="position: absolute; left: 146px; top: 543.6px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 21:23:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199212#M1327</guid>
      <dc:creator>MiguelLourenço</dc:creator>
      <dc:date>2020-05-15T21:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199213#M1328</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;Sorry - too late on a Friday and I plain missed&amp;nbsp;your whole first paragraph. Frank's answer is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Can you try to export the network dataset using the &lt;STRONG&gt;ArcGIS Runtime Content&lt;/STRONG&gt; sharing tool in ArcMap? See&amp;nbsp;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/10.7/map/working-with-arcmap/creating-arcgis-runtime-content.htm" title="https://desktop.arcgis.com/en/arcmap/10.7/map/working-with-arcmap/creating-arcgis-runtime-content.htm"&gt;Creating ArcGIS Runtime content—Help | Documentation&lt;/A&gt;&amp;nbsp;for more details. You will need to enable the tool in ArcMap's options.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;A href="https://www.youtube.com/watch?v=u6gvlpIPucU"&gt;This session&lt;/A&gt; from a few years ago covers the ArcMap workflow (including a demo).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Another&amp;nbsp;approach is to author an mobile map package&amp;nbsp;in ArcGIS Pro and export the network dataset with a map in that package. Not sure if that's an option for you.&amp;nbsp;This &lt;A href="https://www.youtube.com/watch?v=cV3xXzGbWD8"&gt;technical session&lt;/A&gt; covers more info about Pro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 21:47:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199213#M1328</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2020-05-15T21:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199214#M1329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When creating a mobile geodatabase that has a network (from a FGDB) a "tn" folder which contains the transportation network data should be created also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the one you mentioned from esri (&lt;A href="https://github.com/Esri/arcgis-runtime-samples-data/tree/master/networks/san-diego"&gt;san diego&lt;/A&gt;) you need to copy both the san-diego-network.geodatabase and the san-diego-network.tn folder to the device location.&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I suspect the same is true your data (forester.geodatabase) since the zip attached also did not have the "tn" folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, if you have ArcGIS Pro, and are working with 100.x of the ArcGIS Runtime you can also use the &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-mobile-map-package.htm"&gt;create-mobile-map-package &lt;/A&gt;to create an mmpk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 22:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199214#M1329</guid>
      <dc:creator>FrankKish</dc:creator>
      <dc:date>2020-05-15T22:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199215#M1330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, the issue was exactly that, I completely ignored that 'tn' folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ClosestFacilityTask worked now despite some problems that I will try to figure out (reds are incidents, blues are facilities)&lt;/P&gt;&lt;P&gt;I will also try the mobile map package approach on ArcMap (I don't have ArcGIS Pro).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thank you very much for your feedback!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="402" src="/legacyfs/online/492526_2020-05-16 00_05_55-Android Emulator - Nexus_5_API_28_5554.png" width="228" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 23:11:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199215#M1330</guid>
      <dc:creator>MiguelLourenço</dc:creator>
      <dc:date>2020-05-15T23:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199216#M1331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to note the mobile map package tool is only in Pro (not ArcMap).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 23:32:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199216#M1331</guid>
      <dc:creator>FrankKish</dc:creator>
      <dc:date>2020-05-15T23:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199217#M1332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2020 18:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199217#M1332</guid>
      <dc:creator>MiguelLourenço</dc:creator>
      <dc:date>2020-05-16T18:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199218#M1333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, I would like to revive this topic because of the problem I had following the execution of the ClosestFacilityTask.&lt;/P&gt;&lt;P&gt;The result I get on the mobile app is different from the ArcMap one, it seems like on the mobile app, not all possible routes are displayed for some reason. Does anyone have any idea why this may happen? I assume the problem in on the Network Dataset itself because I tried using the San Diego one and everything was working fine.&lt;/P&gt;&lt;P&gt;The code I used is presented above on the first message, as well as the settings chose on the ArcMap exporting screen for ArcGIS Runtime Content.&lt;/P&gt;&lt;P&gt;I will attach the Transportation Network that was generated.&lt;/P&gt;&lt;P&gt;Thank you in advance for all the help provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Android result&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="452" src="/legacyfs/online/492565_2020-05-16 00_05_55-Android Emulator - Nexus_5_API_28_5554.png" width="256" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;ArcMap result&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-2 jive-image" height="398" src="/legacyfs/online/492566_2020-05-16 22_52_43-foRESTER Mação - ArcMap.png" width="423" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="position: absolute; left: 215px; top: 108.4px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="position: absolute; left: -20px; top: 722.913px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2020 21:54:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199218#M1333</guid>
      <dc:creator>MiguelLourenço</dc:creator>
      <dc:date>2020-05-16T21:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199219#M1334</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;I think perhaps the network data in the mobile geodatabase data got cutoff when it was created.&amp;nbsp; Below is what I see (with inc and fac from service on top) when I use the forester data that was attached (and drawing the roads)... some of the inc and facs are in areas with out a network features&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since it is a straight line at the bottom ... I suspect that in ArcMap when running the Create Runtime Content tool when it did the "&lt;SPAN class=""&gt;Analyze" another window is result opened&lt;/SPAN&gt; but that changed (reduced) the visible map extent, there by cutting off the bottom portion&lt;SPAN class=""&gt;.&amp;nbsp; If that is the case just re-create the data but make sure when tool, after the analysis window open,you see all the data you want to include in the map view. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/492630_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 04:03:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199219#M1334</guid>
      <dc:creator>FrankKish</dc:creator>
      <dc:date>2020-05-18T04:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using custom Network Dataset on ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199220#M1335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, sir! It was exactly the issue you mentioned.&lt;/P&gt;&lt;P&gt;I didn't know the map extent present when the Analyze window appeared would influence the exported files but it turned out it did. Everything on the app is working fine now, just like it's working on ArcMap.&lt;/P&gt;&lt;P&gt;Second time you were really accurate and straight to the point and provided valuable support, can't thank you enough!&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 22:14:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/issue-with-using-custom-network-dataset-on-arcgis/m-p/199220#M1335</guid>
      <dc:creator>MiguelLourenço</dc:creator>
      <dc:date>2020-05-18T22:14:28Z</dc:date>
    </item>
  </channel>
</rss>

