<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Android applications that use the MyLocationOverlay class crash on the new Droid X</title>
	<atom:link href="http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/</link>
	<description>Dimitar Darazhanski&#039;s blog.</description>
	<lastBuildDate>Sat, 12 May 2012 18:37:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Droid X Cannot Find Position With The MyLocationOverlay Class &#124; MostlyBinary</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-1408</link>
		<dc:creator>Droid X Cannot Find Position With The MyLocationOverlay Class &#124; MostlyBinary</dc:creator>
		<pubDate>Sun, 11 Mar 2012 05:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-1408</guid>
		<description>[...] I returned to the issue, I found an article by Dimitar Darazhanski which perfectly described the issue that I was up against. As it turns out, when Motorola [...]</description>
		<content:encoded><![CDATA[<p>[...] I returned to the issue, I found an article by Dimitar Darazhanski which perfectly described the issue that I was up against. As it turns out, when Motorola [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-1296</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 27 Oct 2011 10:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-1296</guid>
		<description>Sorry, just made an error on the first circle paint :
oBuggedMyLocationCanvas.drawCircle(iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize * 10 / 20, oPointPaint);</description>
		<content:encoded><![CDATA[<p>Sorry, just made an error on the first circle paint :<br />
oBuggedMyLocationCanvas.drawCircle(iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize * 10 / 20, oPointPaint);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-1295</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 27 Oct 2011 10:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-1295</guid>
		<description>Thanks for your code.

One more thing, if like me you don&#039;t want to use a drawable that is just use in the Droid X case, just paint it on the drawable like this :


float fDensity = mapView.getContext().getResources().getDisplayMetrics().density;
int iBuggedMyLocationBitmapSize = (int) (20 * fDensity);

Bitmap oBuggedMyLocationBitmap = Bitmap.createBitmap(iBuggedMyLocationBitmapSize, iBuggedMyLocationBitmapSize, Bitmap.Config.ARGB_4444);
Canvas oBuggedMyLocationCanvas = new Canvas(oBuggedMyLocationBitmap);

Paint oPointPaint = new Paint();	oPointPaint.setAntiAlias(true);

oPointPaint.setColor(0xff292c29);
oPointPaint.setStyle(Style.FILL);
oBuggedMyLocationCanvas.drawCircle(iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize * 10 / 2, oPointPaint);				

oPointPaint.setColor(0xffe7e7e7);
oPointPaint.setStyle(Style.FILL);
oBuggedMyLocationCanvas.drawCircle(iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize * 8 / 20, oPointPaint);

oPointPaint.setColor(0xff10b2d6);
oPointPaint.setStyle(Style.FILL);
oBuggedMyLocationCanvas.drawCircle(iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize * 5 / 20, oPointPaint);

this.drawable = new BitmapDrawable(oBuggedMyLocationBitmap);</description>
		<content:encoded><![CDATA[<p>Thanks for your code.</p>
<p>One more thing, if like me you don&#8217;t want to use a drawable that is just use in the Droid X case, just paint it on the drawable like this :</p>
<p>float fDensity = mapView.getContext().getResources().getDisplayMetrics().density;<br />
int iBuggedMyLocationBitmapSize = (int) (20 * fDensity);</p>
<p>Bitmap oBuggedMyLocationBitmap = Bitmap.createBitmap(iBuggedMyLocationBitmapSize, iBuggedMyLocationBitmapSize, Bitmap.Config.ARGB_4444);<br />
Canvas oBuggedMyLocationCanvas = new Canvas(oBuggedMyLocationBitmap);</p>
<p>Paint oPointPaint = new Paint();	oPointPaint.setAntiAlias(true);</p>
<p>oPointPaint.setColor(0xff292c29);<br />
oPointPaint.setStyle(Style.FILL);<br />
oBuggedMyLocationCanvas.drawCircle(iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize * 10 / 2, oPointPaint);				</p>
<p>oPointPaint.setColor(0xffe7e7e7);<br />
oPointPaint.setStyle(Style.FILL);<br />
oBuggedMyLocationCanvas.drawCircle(iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize * 8 / 20, oPointPaint);</p>
<p>oPointPaint.setColor(0xff10b2d6);<br />
oPointPaint.setStyle(Style.FILL);<br />
oBuggedMyLocationCanvas.drawCircle(iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize / 2, iBuggedMyLocationBitmapSize * 5 / 20, oPointPaint);</p>
<p>this.drawable = new BitmapDrawable(oBuggedMyLocationBitmap);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Menghan Li</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-900</link>
		<dc:creator>Menghan Li</dc:creator>
		<pubDate>Sat, 22 Jan 2011 02:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-900</guid>
		<description>Thanks a lot for providing useful solution</description>
		<content:encoded><![CDATA[<p>Thanks a lot for providing useful solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: google maps glitch on motorola phones - Question Lounge</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-897</link>
		<dc:creator>google maps glitch on motorola phones - Question Lounge</dc:creator>
		<pubDate>Tue, 04 Jan 2011 12:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-897</guid>
		<description>[...] is another, similar problem with a missing image on google maps, which is easy enough to solve and documented elsewhere as being on Droid phones as well.  [...]</description>
		<content:encoded><![CDATA[<p>[...] is another, similar problem with a missing image on google maps, which is easy enough to solve and documented elsewhere as being on Droid phones as well.  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis R.</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-885</link>
		<dc:creator>Dennis R.</dc:creator>
		<pubDate>Fri, 10 Dec 2010 11:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-885</guid>
		<description>Thanks a lot for the info and for the solution!

Regards, 
Dennis R.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the info and for the solution!</p>
<p>Regards,<br />
Dennis R.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-847</link>
		<dc:creator>Randy</dc:creator>
		<pubDate>Thu, 16 Sep 2010 17:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-847</guid>
		<description>Just got a hold of a Droid X to try and fix this problem. Searched on the error message. Love the internet. Thanks.</description>
		<content:encoded><![CDATA[<p>Just got a hold of a Droid X to try and fix this problem. Searched on the error message. Love the internet. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maranoid</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-845</link>
		<dc:creator>maranoid</dc:creator>
		<pubDate>Tue, 14 Sep 2010 07:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-845</guid>
		<description>Thanks a lot! FixedMyLocationOverlay resolves the problem.</description>
		<content:encoded><![CDATA[<p>Thanks a lot! FixedMyLocationOverlay resolves the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SteveO</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-838</link>
		<dc:creator>SteveO</dc:creator>
		<pubDate>Tue, 07 Sep 2010 21:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-838</guid>
		<description>Wow, thank you for the short blurb about this issue. I could not for the life of me determine what was causing this on my own Android device until stumbling across this post. Once I made the appropriate changes and extended my own MyLocationProvider, all was well. Thank you again!</description>
		<content:encoded><![CDATA[<p>Wow, thank you for the short blurb about this issue. I could not for the life of me determine what was causing this on my own Android device until stumbling across this post. Once I made the appropriate changes and extended my own MyLocationProvider, all was well. Thank you again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoshi</title>
		<link>http://dimitar.me/applications-that-use-the-mylocationoverlay-class-crash-on-the-new-droid-x/comment-page-1/#comment-826</link>
		<dc:creator>Yoshi</dc:creator>
		<pubDate>Tue, 24 Aug 2010 06:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://dimitar.me/?p=959#comment-826</guid>
		<description>My app has been suffering this problem for a long time.
But, it all fine now.
Thank you very much for your information!!</description>
		<content:encoded><![CDATA[<p>My app has been suffering this problem for a long time.<br />
But, it all fine now.<br />
Thank you very much for your information!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

