<?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: Cannot create route from one point to another ArcGIS Android in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/cannot-create-route-from-one-point-to-another/m-p/10991#M67</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, i forgot to post my solution here as i posted my problem on 3 different forums and someone solved my problem.&lt;/P&gt;&lt;P&gt;Yes, my x and y values were switched &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2016 09:06:42 GMT</pubDate>
    <dc:creator>ImranHakeem</dc:creator>
    <dc:date>2016-02-05T09:06:42Z</dc:date>
    <item>
      <title>Cannot create route from one point to another ArcGIS Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/cannot-create-route-from-one-point-to-another/m-p/10989#M65</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been trying very hard to create a route between two points(startPoint, endPoint). But i am getting the following error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Location "Location 1" in "Stops" is unlocated. Location "Location 2" in "Stops" is unlocated. Need at least 2 valid stops. "Stops" does not contain valid input for any route.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My code can be found in this link: &lt;A href="http://paste.ubuntu.com/14728671/"&gt;http://paste.ubuntu.com/14728671/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've searched the internet. Many developers were/are facing this problem. I've tried all the solutions but none of them worked. I got &lt;STRONG&gt;routeTaskURL&lt;/STRONG&gt; from the ArcGIS Routing Sample app. The link which is given in the &lt;A href="https://developers.arcgis.com/android/guide/find-a-route.htm" rel="nofollow"&gt;documentation&lt;/A&gt; of ArcGIS maps gives me the 403 error if i open it in the browser.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: "token" and "clientID" is declared in the first step and they both are taken from the ArcGIS developers console where i registered my application.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jan 2016 04:54:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/cannot-create-route-from-one-point-to-another/m-p/10989#M65</guid>
      <dc:creator>ImranHakeem</dc:creator>
      <dc:date>2016-01-30T04:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create route from one point to another ArcGIS Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/cannot-create-route-from-one-point-to-another/m-p/10990#M66</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your coordinates are backwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="n"&gt;&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="o" style="color: #666666;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="mf" style="color: #666666;"&gt;36.793653&lt;/SPAN&gt;&lt;SPAN class="o" style="color: #666666;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="o" style="color: #666666;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="mf" style="color: #666666;"&gt;119.866896&lt;/SPAN&gt;&lt;SPAN class="o" style="color: #666666;"&gt;)

should be Point(x, y)

If you are working in WGS 84 (4326) the maximum value for Y is 90/-90.

I believe what you meant to put was:

Point(-119&lt;SPAN class="mf" style="color: #666666;"&gt;.866896, &lt;SPAN class="mf" style="color: #666666;"&gt;36.793653)&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="o" style="color: #666666;"&gt; If you add the stop graphics to your map, do they show in the correct location?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/cannot-create-route-from-one-point-to-another/m-p/10990#M66</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2021-12-10T20:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create route from one point to another ArcGIS Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/cannot-create-route-from-one-point-to-another/m-p/10991#M67</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, i forgot to post my solution here as i posted my problem on 3 different forums and someone solved my problem.&lt;/P&gt;&lt;P&gt;Yes, my x and y values were switched &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 09:06:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/cannot-create-route-from-one-point-to-another/m-p/10991#M67</guid>
      <dc:creator>ImranHakeem</dc:creator>
      <dc:date>2016-02-05T09:06:42Z</dc:date>
    </item>
  </channel>
</rss>

