<?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 Sample to use MapViewHelper class in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sample-to-use-mapviewhelper-class/m-p/690013#M4782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have been trying to use the MapViewHelper class to show a callout on a graphic when the user taps on it. But so far, I haven't been able to get it to work. Can anypone post a sample for MapViewHelperClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 07:37:53 GMT</pubDate>
    <dc:creator>ThomasBinu</dc:creator>
    <dc:date>2013-11-06T07:37:53Z</dc:date>
    <item>
      <title>Sample to use MapViewHelper class</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sample-to-use-mapviewhelper-class/m-p/690013#M4782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have been trying to use the MapViewHelper class to show a callout on a graphic when the user taps on it. But so far, I haven't been able to get it to work. Can anypone post a sample for MapViewHelperClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 07:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sample-to-use-mapviewhelper-class/m-p/690013#M4782</guid>
      <dc:creator>ThomasBinu</dc:creator>
      <dc:date>2013-11-06T07:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sample to use MapViewHelper class</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sample-to-use-mapviewhelper-class/m-p/690014#M4783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Thomas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following is code snippet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MapView map = new MapView(this);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mapHelper = new MapViewHelper(map);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mapHelper.setShowGraphicCallout(true);&amp;nbsp; // this can be omitted. by default it is on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;......&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Point p = ...; // lat and lon&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;int order = ...;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mapHelper.addMarkerGraphic(p.getY(), p.getX(), "marker", &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "This is a sample.", R.drawable.flower, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.getContext().getResources().getDrawable(R.drawable.tree), true, order);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 20:38:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sample-to-use-mapviewhelper-class/m-p/690014#M4783</guid>
      <dc:creator>LiLin1</dc:creator>
      <dc:date>2013-11-06T20:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sample to use MapViewHelper class</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sample-to-use-mapviewhelper-class/m-p/690015#M4784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;STRONG&gt;MapViewHelper&lt;/STRONG&gt;&lt;SPAN&gt; class requires the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/android/guide/integration-features.htm#ESRI_SECTION1_5C548B375C874ACF9BDFCD43690C45A9"&gt;application framework jar&lt;/A&gt;&lt;SPAN&gt; added to your project.&amp;nbsp; Once added you can start &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/android/guide/application-framework.htm"&gt;using the API&lt;/A&gt;&lt;SPAN&gt;. You can create an instance of a &lt;/SPAN&gt;&lt;STRONG&gt;MapViewHelper&lt;/STRONG&gt;&lt;SPAN&gt; class by passing a &lt;/SPAN&gt;&lt;STRONG&gt;MapView&lt;/STRONG&gt;&lt;SPAN&gt; to it's constructor&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;MapViewHelper mvHelper = new MapViewHelper(map);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; To view the javadoc for the API inside of Eclipse, hover over the &lt;/SPAN&gt;&lt;STRONG&gt;MapViewHelper&lt;/STRONG&gt;&lt;SPAN&gt; class you just created and press &lt;/SPAN&gt;&lt;STRONG&gt;F2&lt;/STRONG&gt;&lt;SPAN&gt; for focus.&amp;nbsp; While in focus select the &lt;/SPAN&gt;&lt;STRONG&gt;Open Attached Javadoc in Browser&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; The API Javadoc will open in the Eclipse browser perspective.&amp;nbsp; Li's code above shows how to interact with a &lt;/SPAN&gt;&lt;STRONG&gt;Callout&lt;/STRONG&gt;&lt;SPAN&gt; from the &lt;/SPAN&gt;&lt;STRONG&gt;MapViewHelper&lt;/STRONG&gt;&lt;SPAN&gt; class.&amp;nbsp; We are working on a sample and accompanying article about the new simplified programmer workflows using the Application Framework for Android.&amp;nbsp; In the mean time, let us know if you need anything more specific for your use case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 22:47:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sample-to-use-mapviewhelper-class/m-p/690015#M4784</guid>
      <dc:creator>DanO_Neill</dc:creator>
      <dc:date>2013-11-06T22:47:36Z</dc:date>
    </item>
  </channel>
</rss>

