<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="wordpress/2.3.2" --><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">

<channel>
	<title>mgmblog.com</title>
	<link>http://mgmblog.com</link>
	<description>My eclectic journey into the blogosphere</description>
	<pubDate>Tue, 03 Nov 2009 18:57:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/mgmblogcom" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Is GPS on? If not prompt user to turn it on.</title>
		<link>http://mgmblog.com/2009/11/03/is-gps-on-if-not-allow-user-to-turn-it-on/</link>
		<comments>http://mgmblog.com/2009/11/03/is-gps-on-if-not-allow-user-to-turn-it-on/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 18:56:36 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<category><![CDATA[coding hints]]></category>

		<category><![CDATA[Code Snippet]]></category>

		<category><![CDATA[GPS]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/11/03/is-gps-on-if-not-allow-user-to-turn-it-on/</guid>
		<description><![CDATA[Here&#8217;s a quick code snippet to determine if the GPS is on, and if it isn&#8217;t go to the Setting screen allowing the user to turn it on.  Android does not allow a 3rd party app to automatically turn the GPS on/off as of 1.5, a &#8220;feature&#8221; discussed extensively on the Android Developers Forum.
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick code snippet to determine if the GPS is on, and if it isn&#8217;t go to the Setting screen allowing the user to turn it on.  Android does not allow a 3rd party app to automatically turn the GPS on/off as of 1.5, a &#8220;feature&#8221; discussed extensively on the <a href="http://groups.google.com/group/android-developers/browse_thread/thread/562ae51484545074/fdbde0e630526e30?q=turn+on+gps&amp;lnk=ol" onclick="javascript:pageTracker._trackPageview ('/outbound/groups.google.com');">Android Developers Forum</a>.</p>
<p> <a href="http://mgmblog.com/2009/11/03/is-gps-on-if-not-allow-user-to-turn-it-on/#more-169" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/11/03/is-gps-on-if-not-allow-user-to-turn-it-on/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Version of MediaDroid and Message Drop up on Android Market</title>
		<link>http://mgmblog.com/2009/11/03/new-version-of-mediadroid-and-message-drop-up-on-android-market/</link>
		<comments>http://mgmblog.com/2009/11/03/new-version-of-mediadroid-and-message-drop-up-on-android-market/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 17:42:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Android Apps]]></category>

		<category><![CDATA[MediaDroid]]></category>

		<category><![CDATA[Message Drop]]></category>

		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/11/03/new-version-of-mediadroid-and-message-drop-up-on-android-market/</guid>
		<description><![CDATA[I posted a new version of both MediaDroid and Message Drop to the Android Market this morning.
The new version of MediaDroid fixes the reboot bug.  It&#8217;s not as elegant as a fix as I&#8217;d like but it does work.  FYI to any developers, the SD Card isn&#8217;t necessarily mounted when the ACTION_BOOT_COMPLETED event is broadcast.  [...]]]></description>
			<content:encoded><![CDATA[<p>I posted a new version of both MediaDroid and Message Drop to the Android Market this morning.</p>
<p>The new version of MediaDroid fixes the reboot bug.  It&#8217;s not as elegant as a fix as I&#8217;d like but it does work.  FYI to any developers, the SD Card isn&#8217;t necessarily mounted when the ACTION_BOOT_COMPLETED event is broadcast.  I used a CountDownTimer to wait 30 seconds after my BroadcastReceiver is called, then I&#8217;m able to access the files on the SD Card.</p>
<p>I added a couple features to Message Drop and fixed a few bugs.  The new features are spelled out on the <a href="http://mgmblog.com/message-drop/">Message Drop</a> page  and include a new Setting for assigning the &#8220;Blank Tag&#8221; and a mode helping you build bulleted item lists.</p>
<p>My plan is to switch back to MediaDroid and perform some much needed polishing, and I ran into a Force Close that I haven&#8217;t been able to track down yet.  Always more to do!</p>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/11/03/new-version-of-mediadroid-and-message-drop-up-on-android-market/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Searching for phone numbers with Android</title>
		<link>http://mgmblog.com/2009/11/02/searching-for-phone-numbers-with-android/</link>
		<comments>http://mgmblog.com/2009/11/02/searching-for-phone-numbers-with-android/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 06:16:09 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<category><![CDATA[coding hints]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/11/02/searching-for-phone-numbers-with-android/</guid>
		<description><![CDATA[I&#8217;ve been playing around with searching for contacts on the Android platform and thought I&#8217;d pass along a couple things I&#8217;ve learned.
One thing I&#8217;ve found out is that some of the classes from the books I&#8217;ve been using as reference have been deprecated.  Apparently, instead of using People.NUMBER, which has been deprecated for future support [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing around with searching for contacts on the Android platform and thought I&#8217;d pass along a couple things I&#8217;ve learned.</p>
<p>One thing I&#8217;ve found out is that some of the classes from the books I&#8217;ve been using as reference have been deprecated.  Apparently, instead of using People.NUMBER, which has been deprecated for future support of multiple accounts, I should use the ContactsContact set of interfaces to get the contacts name and number.  Guess I&#8217;ll be upgrading to the Android 2.0 sdk sooner then I thought.  Although according to this <a href="http://groups.google.com/group/android-developers/browse_thread/thread/91d2a62cb8120009/cd94ead28e9c923f?lnk=gst&amp;q=contacts+contact#cd94ead28e9c923f" onclick="javascript:pageTracker._trackPageview ('/outbound/groups.google.com');">forum thread</a> the previous interfaces used to specify contact column, such as People, are still supported and will access contact information from the &#8220;primary&#8221; account.</p>
<p>Another cool thing I figured out was how to have the phone pad soft keyboard attached to an EditText widget.</p>
<table>
<tr>
<td><a href="http://mgmblog.com/wp-content/uploads/2009/11/device.png" title="device.png"><img src="http://mgmblog.com/wp-content/uploads/2009/11/device.png" alt="device.png" height="337" width="225" /></a></td>
</tr>
</table>
<p>It&#8217;s one of those, it was so easy I&#8217;m ashamed I didn&#8217;t know it, but then again, the SDK is large enough to where it&#8217;s hard to know ALL of it.  Anyway, all you need to do is define the &#8220;inputType&#8221; attribute value for the EditText widget which captures the phone number.</p>
<pre>
   	&lt;EditText android:id="@+id/phone_nbr"
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
		android:inputType="phone"
		android:singleLine="true" /&gt;</pre>
<p>Now, when the phone_nbr EditText box is entered, the phone pad comes up for data entry instead of the default Android soft keyboard.</p>
<p>There&#8217;s still many aspects of the Contacts API I haven&#8217;t investigated yet, but hopefully with the new apps I have the opportunity to work on, I&#8217;ll have lots of time to learn more about them.</p>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/11/02/searching-for-phone-numbers-with-android/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Note To Me re-branded as Message Drop</title>
		<link>http://mgmblog.com/2009/10/27/note-to-me-re-branded-as-message-drop/</link>
		<comments>http://mgmblog.com/2009/10/27/note-to-me-re-branded-as-message-drop/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 17:04:01 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<category><![CDATA[Android Apps]]></category>

		<category><![CDATA[Message Drop]]></category>

		<category><![CDATA[Android Applications]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/10/27/note-to-me-re-branded-as-message-drop/</guid>
		<description><![CDATA[I&#8217;ve finally got Message Drop to a point where I feel it deserves a release.  Message Drop is a re-branding of Note To Me with a built in email client and a couple new features.  I&#8217;ll be getting screen shots up soon on the Message Drop page along with some more information, but just wanted [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally got Message Drop to a point where I feel it deserves a release.  Message Drop is a re-branding of Note To Me with a built in email client and a couple new features.  I&#8217;ll be getting screen shots up soon on the Message Drop page along with some more information, but just wanted to put the word.</p>
<p>There&#8217;s a trial version available, but if you find it useful I&#8217;d greatly appreciate it if you&#8217;d help my development effort and purchase the 1.99 version.  By the way, if you purchased Note To Me already, I&#8217;d be more then happy to refund your money if you email me an address that I can send the refund to.  I promise not to use your email for spamming!</p>
<p>I would greatly appreciate any comments you may have about Message Drop, Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/10/27/note-to-me-re-branded-as-message-drop/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AlertDialog for Android</title>
		<link>http://mgmblog.com/2009/10/22/alertdialog-for-android/</link>
		<comments>http://mgmblog.com/2009/10/22/alertdialog-for-android/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 05:37:08 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<category><![CDATA[coding hints]]></category>

		<category><![CDATA[Android API]]></category>

		<category><![CDATA[Android SDK]]></category>

		<category><![CDATA[Code Snippet]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/10/22/alertdialog-for-android/</guid>
		<description><![CDATA[Are you utilizing the full potential of AlertDialog?  I had no idea it was so versatile until I starting playing around with it recently.  I knew you could use it for a yes/no dialog for your mobile application, but I didn&#8217;t know it could also be an About dialog.  The API makes it really easy, [...]]]></description>
			<content:encoded><![CDATA[<p>Are you utilizing the full potential of <a href="http://developer.android.com/reference/android/app/AlertDialog.html#setButton%28int,%20java.lang.CharSequence,%20android.os.Message%29" onclick="javascript:pageTracker._trackPageview ('/outbound/developer.android.com');">AlertDialog</a>?  I had no idea it was so versatile until I starting playing around with it recently.  I knew you could use it for a yes/no dialog for your mobile application, but I didn&#8217;t know it could also be an About dialog.  The API makes it really easy, although it doesn&#8217;t seem like the setPositiveButton() method is in the Android documentation.  The code snippet below cuts it down to the bare minimum.  It appears that a null can be passed instead of an empty OnClickListener and the action simply closes the window&#8230;which is the desired effect.</p>
<pre>
AlertDialog.Builder ad = new AlertDialog.Builder( this );
ad.setTitle( "About My Mobile Application" );
ad.setMessage( "This text explains My Mobile Application, thanks for " +
                       "purchasing it from the Android Market!" );
ad.setPositiveButton( "OK", null );
ad.show();</pre>
<p>I&#8217;ve recently cleaned up a bunch of my code with this simple Dialog.  And next I may have to look into the FrameLayout feature mentioned in the Android documentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/10/22/alertdialog-for-android/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Android Freelancer looking for work</title>
		<link>http://mgmblog.com/2009/10/21/android-freelancer-looking-for-work/</link>
		<comments>http://mgmblog.com/2009/10/21/android-freelancer-looking-for-work/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 18:42:07 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<category><![CDATA[Android Developement]]></category>

		<category><![CDATA[Freelance]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/10/21/android-freelancer-looking-for-work/</guid>
		<description><![CDATA[With the successful completion of my latest contracting gig, I find myself with the opportunity to investigate freelance work.  I&#8217;ve decided to take a couple of weeks to see if I can move into freelance development for the Android framework instead of looking for a full time position.  I have no idea if this will [...]]]></description>
			<content:encoded><![CDATA[<p>With the successful completion of my latest contracting gig, I find myself with the opportunity to investigate freelance work.  I&#8217;ve decided to take a couple of weeks to see if I can move into freelance development for the Android framework instead of looking for a full time position.  I have no idea if this will work and in the end I may have to start pushing my resume again, but I&#8217;m willing to try.  Don&#8217;t get me wrong, if the right opportunity for a full time position cames along, I&#8217;m certainly interested.</p>
<p>So, if you or someone you know needs a Android developer, I&#8217;d love to hear from you.  Email me at michael@mgmblog.com and I can send you my resume and let you know the initial rates I&#8217;m looking for.</p>
<p>Also, if you are currently freelancing (for either the Android or iPhone market) I&#8217;d be grateful to hear what has worked for you when it comes to looking for gigs or working with your clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/10/21/android-freelancer-looking-for-work/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Some Mobile Links You May Have Missed</title>
		<link>http://mgmblog.com/2009/10/17/some-mobile-links-you-may-have-missed/</link>
		<comments>http://mgmblog.com/2009/10/17/some-mobile-links-you-may-have-missed/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 20:30:27 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<category><![CDATA[Business Development]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/10/17/some-mobile-links-you-may-have-missed/</guid>
		<description><![CDATA[Here&#8217;s some links I still have laying around in my RSS reader I still need to get to, hopefully you may find some of them useful.
Development
5-Minute CSS Mobile Makeover from Perishable Press
I&#8217;m hoping there is some general WebKit info in Building iPhone Apps with HTML, CSS, and JavaScript by Jonathan Stark
General Mobile Information
Haven&#8217;t had a [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some links I still have laying around in my RSS reader I still need to get to, hopefully you may find some of them useful.</p>
<p><strong>Development</strong></p>
<p><a href="http://perishablepress.com/press/2009/08/02/the-5-minute-css-mobile-makeover/" onclick="javascript:pageTracker._trackPageview ('/outbound/perishablepress.com');">5-Minute CSS Mobile Makeover</a> from <a href="http://perishablepress.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/perishablepress.com');">Perishable Press</a></p>
<p>I&#8217;m hoping there is some general WebKit info in <a href="http://building-iphone-apps.labs.oreilly.com/index.html" onclick="javascript:pageTracker._trackPageview ('/outbound/building-iphone-apps.labs.oreilly.com');">Building iPhone Apps with HTML, CSS, and JavaScript</a> by Jonathan Stark</p>
<p><strong>General Mobile Information</strong></p>
<p>Haven&#8217;t had a chance to read <a href="http://www.gamasutra.com/view/feature/4160/developing_games_for_android.php" onclick="javascript:pageTracker._trackPageview ('/outbound/www.gamasutra.com');">Developing Games for Android</a> from Gamasutra, looks like some good information about the business side of game development on the Android platform.</p>
<p>Justin Pratt does an awesome job breaking down the numbers in his article <a href="http://creativealgorithms.com/blog/content/earning-living-independent-mobile-software-developer" onclick="javascript:pageTracker._trackPageview ('/outbound/creativealgorithms.com');">Earning a Living as an Independent Mobile Software Developer</a></p>
<p><a href="http://www.engadget.com/2009/10/14/core-values-the-silicon-behind-android/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.engadget.com');">Core Values: The silicon Behind Android</a> from <a href="http://www.engadget.com/" onclick="javascript:pageTracker._trackPageview ('/outbound/www.engadget.com');">Engadget</a></p>
<p><strong>Bonus</strong></p>
<p>OK, not about mobile development specifically, but it&#8217;s easy to get discouraged during development&#8230;</p>
<p><a href="http://zenhabits.net/2009/10/how-to-defeat-burnout-and-stay-motivated/" onclick="javascript:pageTracker._trackPageview ('/outbound/zenhabits.net');">How to Defeat Burnout and Stay Motivated</a>  from <a href="http://zenhabits.net/" onclick="javascript:pageTracker._trackPageview ('/outbound/zenhabits.net');">Zen Habits</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/10/17/some-mobile-links-you-may-have-missed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Android App Review - Tangram by Bendroid</title>
		<link>http://mgmblog.com/2009/10/14/android-app-review-tangram-by-bendroid/</link>
		<comments>http://mgmblog.com/2009/10/14/android-app-review-tangram-by-bendroid/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 15:47:22 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Android Apps]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/10/14/android-app-review-tangram-by-bendroid/</guid>
		<description><![CDATA[I&#8217;ve been meaning to get a post out about the Android apps I&#8217;ve purchased since I first asked people to buy more Android apps.  I put out a couple emails to companies and developers who&#8217;ve built apps for the Android Market and Bendroid was the first ones to respond.  I&#8217;m not sure if I&#8217;m going [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been meaning to get a post out about the Android apps I&#8217;ve purchased since <a href="http://mgmblog.com/2009/10/02/buy-more-android-appsplease/">I first asked people to buy more Android apps</a>.  I put out a couple emails to companies and developers who&#8217;ve built apps for the Android Market and Bendroid was the first ones to respond.  I&#8217;m not sure if I&#8217;m going to request questions for all the apps that I review, but I thought it&#8217;d be a cool way to start.  It also gives me a way to ask successful Android developers questions that will hopefully help me be more successful also.</p>
<p>Onto the review!</p>
<p> <a href="http://mgmblog.com/2009/10/14/android-app-review-tangram-by-bendroid/#more-148" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/10/14/android-app-review-tangram-by-bendroid/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More lessons to learn from the iPhone App store</title>
		<link>http://mgmblog.com/2009/10/12/more-lessons-to-learn-from-the-iphone-app-store/</link>
		<comments>http://mgmblog.com/2009/10/12/more-lessons-to-learn-from-the-iphone-app-store/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 23:09:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Business Development]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/10/12/more-lessons-to-learn-from-the-iphone-app-store/</guid>
		<description><![CDATA[Marco Arment has a great post on his blog  about the two App Stores&#8230;no not the Apple and Android app store.  But the two sides of the Apple App store and expectations that developers of mobile games and applications should have when positioning their apps.
He makes some great points about &#8220;one-hit wonder apps&#8221; vs sustained [...]]]></description>
			<content:encoded><![CDATA[<p>Marco Arment has <a href="http://www.marco.org/208454730" onclick="javascript:pageTracker._trackPageview ('/outbound/www.marco.org');">a great post</a> on his blog  about the two App Stores&#8230;no not the Apple and Android app store.  But the two sides of the Apple App store and expectations that developers of mobile games and applications should have when positioning their apps.</p>
<p>He makes some great points about &#8220;one-hit wonder apps&#8221; vs sustained apps, lessons I believe can be utilized by developers in other &#8220;app&#8221; stores as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/10/12/more-lessons-to-learn-from-the-iphone-app-store/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Email via Android Intent code snippet</title>
		<link>http://mgmblog.com/2009/10/11/email-via-android-intent-code-snippet/</link>
		<comments>http://mgmblog.com/2009/10/11/email-via-android-intent-code-snippet/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 03:55:39 +0000</pubDate>
		<dc:creator>michael</dc:creator>
		
		<category><![CDATA[Android]]></category>

		<category><![CDATA[Toolbox]]></category>

		<category><![CDATA[Code Snippet]]></category>

		<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://mgmblog.com/2009/10/11/email-via-android-intent-code-snippet/</guid>
		<description><![CDATA[I&#8217;m moving away from using the Android email client in Note To Me, but wanted to share the snippet to launch the client.  And who knows, maybe I&#8217;ll add it back in if people want it as an option.

        Button sendBtn = (Button) findViewById(R.id.send_btn_id);
     [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m moving away from using the Android email client in Note To Me, but wanted to share the snippet to launch the client.  And who knows, maybe I&#8217;ll add it back in if people want it as an option.</p>
<pre>
        Button sendBtn = (Button) findViewById(R.id.send_btn_id);
        sendBtn.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v)
            {
            	Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
            	emailIntent.setType("text/html");
            	emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,
                  new String[]{ sendToAddress } );

            	emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject );
            	emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, msg );

            	hideKeyboard();

            	NoteToMe.this.startActivity(emailIntent);
            	NoteToMe.this.finish();
            }
        });
</pre>
]]></content:encoded>
			<wfw:commentRss>http://mgmblog.com/2009/10/11/email-via-android-intent-code-snippet/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
