<?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: Get DPI from MapView in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/get-dpi-from-mapview/m-p/289214#M1947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure, and I can't test it, as the result i do not understand what is it? - &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/android/api/com/esri/android/map/Layer.html#getResolution()" rel="nofollow"&gt;getResolution()&lt;/A&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Gets the&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:&amp;quot;#FF8C00&amp;quot;;"&gt;resolution&lt;/SPAN&gt; of the Layer.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But may be ... &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/android/api/com/esri/core/tasks/ags/identify/IdentifyParameters.html#setDPI(int)" rel="nofollow"&gt;setDPI(int)&lt;/A&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Sets the dot-per-inch of the map (used to determine the&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:&amp;quot;#FF8C00&amp;quot;;"&gt;resolution&lt;/SPAN&gt; of the map).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are the same things... :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure. I have no SDK installed on current working machine - I can't try it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2012 09:16:42 GMT</pubDate>
    <dc:creator>IvanBespalov</dc:creator>
    <dc:date>2012-03-19T09:16:42Z</dc:date>
    <item>
      <title>Get DPI from MapView</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/get-dpi-from-mapview/m-p/289211#M1944</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;is there a way to get the DPI from the MapView?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need it for a parameter of a IdentifyParameters object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the the IdentifiyTask Sample it is hardcoded with 96.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 07:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/get-dpi-from-mapview/m-p/289211#M1944</guid>
      <dc:creator>SimonKlein</dc:creator>
      <dc:date>2012-03-19T07:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get DPI from MapView</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/get-dpi-from-mapview/m-p/289212#M1945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://developer.android.com/reference/android/util/DisplayMetrics.html"&gt;DisplayMetrics&lt;/A&gt;&lt;SPAN&gt; from &lt;/SPAN&gt;&lt;A href="http://developer.android.com/search.html#q=DisplayMetrics&amp;amp;t=0"&gt;developer.android.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 08:28:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/get-dpi-from-mapview/m-p/289212#M1945</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2012-03-19T08:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get DPI from MapView</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/get-dpi-from-mapview/m-p/289213#M1946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, but this gives me not really the DPI of the MapView. It only provides the general DPI of the device ( DENSITY_DEFAULT, DENSITY_HIGH, etc.) which are just 160,240,etc. and not the normal DPI of the MapView. In the Windows Phone and the IOS API versions there is something like MapView.getDPI().&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I am a little confused if I should just also use the hardcoded 96dpi or do it the DisplayMetrics way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Recommendations?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 08:42:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/get-dpi-from-mapview/m-p/289213#M1946</guid>
      <dc:creator>SimonKlein</dc:creator>
      <dc:date>2012-03-19T08:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Get DPI from MapView</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/get-dpi-from-mapview/m-p/289214#M1947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure, and I can't test it, as the result i do not understand what is it? - &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/android/api/com/esri/android/map/Layer.html#getResolution()" rel="nofollow"&gt;getResolution()&lt;/A&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Gets the&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:&amp;quot;#FF8C00&amp;quot;;"&gt;resolution&lt;/SPAN&gt; of the Layer.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But may be ... &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgismobile/10.0/apis/android/api/com/esri/core/tasks/ags/identify/IdentifyParameters.html#setDPI(int)" rel="nofollow"&gt;setDPI(int)&lt;/A&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Sets the dot-per-inch of the map (used to determine the&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:&amp;quot;#FF8C00&amp;quot;;"&gt;resolution&lt;/SPAN&gt; of the map).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are the same things... :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure. I have no SDK installed on current working machine - I can't try it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 09:16:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/get-dpi-from-mapview/m-p/289214#M1947</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2012-03-19T09:16:42Z</dc:date>
    </item>
  </channel>
</rss>

