<?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: how can I share/send a location? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-share-send-a-location/m-p/718390#M5030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extend the DefaultMapViewTouchListener (&lt;A class="" href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/DefaultMapViewOnTouchListener.html" title="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/DefaultMapViewOnTouchListener.html"&gt;DefaultMapViewOnTouchListener| arcgis-android&lt;/A&gt;&amp;nbsp;) and then override the onLongPress(MotionEvent event) method to include the details in grabbing the location. &amp;nbsp;Now depending on what location you are interested in grabbing, you can either call MapView.identifyLayersAsync to identify a layer on the map and send that to an ACTION_SEND intent or if you are interested in getting the physical x, y of the location (in terms of the projection used) you can use MapView.screenToLocation(point) and the point is the point you get from the OnLongPress listener motionevent. &amp;nbsp;Then you can reverse geocode that point to get an address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Sep 2017 16:22:56 GMT</pubDate>
    <dc:creator>AlexanderNohe1</dc:creator>
    <dc:date>2017-09-06T16:22:56Z</dc:date>
    <item>
      <title>how can I share/send a location?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-share-send-a-location/m-p/718389#M5029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;want to share/ send my location (Coordinates and place name) on longpress function. how i can i do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 14:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-share-send-a-location/m-p/718389#M5029</guid>
      <dc:creator>Radheshsoni</dc:creator>
      <dc:date>2017-09-06T14:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: how can I share/send a location?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-share-send-a-location/m-p/718390#M5030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extend the DefaultMapViewTouchListener (&lt;A class="" href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/DefaultMapViewOnTouchListener.html" title="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/mapping/view/DefaultMapViewOnTouchListener.html"&gt;DefaultMapViewOnTouchListener| arcgis-android&lt;/A&gt;&amp;nbsp;) and then override the onLongPress(MotionEvent event) method to include the details in grabbing the location. &amp;nbsp;Now depending on what location you are interested in grabbing, you can either call MapView.identifyLayersAsync to identify a layer on the map and send that to an ACTION_SEND intent or if you are interested in getting the physical x, y of the location (in terms of the projection used) you can use MapView.screenToLocation(point) and the point is the point you get from the OnLongPress listener motionevent. &amp;nbsp;Then you can reverse geocode that point to get an address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 16:22:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-share-send-a-location/m-p/718390#M5030</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-09-06T16:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: how can I share/send a location?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-share-send-a-location/m-p/718391#M5031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808000;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public void &lt;/SPAN&gt;onSingleTap(&lt;SPAN style="color: #000080; font-weight: bold;"&gt;float &lt;/SPAN&gt;x, &lt;SPAN style="color: #000080; font-weight: bold;"&gt;float &lt;/SPAN&gt;y) {

unable to pass onSingleTap(MotionEvent point){&lt;/PRE&gt;&lt;P&gt;what should i do ???&lt;/P&gt;&lt;P&gt;i am using arcgis 10.2.9 android sdk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:45:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-share-send-a-location/m-p/718391#M5031</guid>
      <dc:creator>Radheshsoni</dc:creator>
      <dc:date>2021-12-12T06:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: how can I share/send a location?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-share-send-a-location/m-p/718392#M5032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Locking this thread as it is a duplicate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 13:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-share-send-a-location/m-p/718392#M5032</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-09-08T13:44:55Z</dc:date>
    </item>
  </channel>
</rss>

