<?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 how can i add a point on the map? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-a-point-on-the-map/m-p/133122#M980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to add points on the map from static gps coordinations please help me, the gps is float or double but in Point(int, int) it's int?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please help me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2014 04:02:20 GMT</pubDate>
    <dc:creator>Mohammad_NaserSobhan_Noorzai</dc:creator>
    <dc:date>2014-06-25T04:02:20Z</dc:date>
    <item>
      <title>how can i add a point on the map?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-a-point-on-the-map/m-p/133122#M980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to add points on the map from static gps coordinations please help me, the gps is float or double but in Point(int, int) it's int?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please help me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 04:02:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-a-point-on-the-map/m-p/133122#M980</guid>
      <dc:creator>Mohammad_NaserSobhan_Noorzai</dc:creator>
      <dc:date>2014-06-25T04:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: how can i add a point on the map?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-a-point-on-the-map/m-p/133123#M981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds to me like you may have imported the wrong Point class, there is a number of Point classes around in standard libraries. Check the imports at the top of your class file, you might find you have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import android.graphics.Point;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Delete that one (assuming you're not using this Android graphics point elsewhere), and replace it with the ArcGIS Runtime SDK for Android Point class import, using a statement like this: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.esri.core.geometry.Point;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And then go back to your Point class declaration and you should find you now have different constructors for your Point, and the x, y parameters will be doubles. Its easy to accidentally add the wrong imports sometimes, and different IDEs have different shortcuts and commands to automate adding the imports. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 07:46:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-a-point-on-the-map/m-p/133123#M981</guid>
      <dc:creator>ShellyGill1</dc:creator>
      <dc:date>2014-06-25T07:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: how can i add a point on the map?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-a-point-on-the-map/m-p/133124#M982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you so much, you are right. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but can you please bring a sample code how can i add a point on the map using (GPS Coordination).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks man&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 08:12:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-a-point-on-the-map/m-p/133124#M982</guid>
      <dc:creator>Mohammad_NaserSobhan_Noorzai</dc:creator>
      <dc:date>2014-06-25T08:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: how can i add a point on the map?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-a-point-on-the-map/m-p/133125#M983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There's a few samples you might find useful - you can try out the Nearby sample to see how the LocationDisplayManager is used to set a LocationListener to get onLocationChanged callbacks that give you GPS updates:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/android/sample-code/nearby/"&gt;https://developers.arcgis.com/android/sample-code/nearby/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might find the AddCSV2GraphicsLayer sample useful to show you how to add a series of x,y coordinates to a GraphicsLayer in a map - in this case you can see the coordinates are coming from a CSV file, so you'd need to take this and change it to work with your GPS coordinates instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/android/sample-code/addcsv-file/"&gt;https://developers.arcgis.com/android/sample-code/addcsv-file/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully these two should give you some pointers, depending on what you actually want to do with the GPS locations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 08:28:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-a-point-on-the-map/m-p/133125#M983</guid>
      <dc:creator>ShellyGill1</dc:creator>
      <dc:date>2014-06-26T08:28:36Z</dc:date>
    </item>
  </channel>
</rss>

