<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mea Cup O' Jo &#187; Android</title>
	<atom:link href="http://dev.bostone.us/category/android/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.bostone.us</link>
	<description>Jump Right Ahead In My Web</description>
	<lastBuildDate>Mon, 12 Dec 2011 18:30:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>View core Android Java sources in Eclipse (final solution)</title>
		<link>http://dev.bostone.us/2011/12/13/android-core-sources-eclips/</link>
		<comments>http://dev.bostone.us/2011/12/13/android-core-sources-eclips/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 18:26:55 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/?p=399</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know why this is not really showing in Google search results but if you want to step through the core Android Java code in your Eclipse project, finally there&#8217;s a legit and very convenient solution that is a part of <a href="http://code.google.com/p/adt-addons/">ADT-Addons</a> project. Steps are pretty self-explanatory but just in case,  here&#8217;s what you need to do:</p>
<ol>
<li>In your Eclipse click Help-&gt;Install New Software</li>
<li>Click &#8220;Add&#8221; button and put this URL into resulting Pop-up (name it whatever you want): <a href="http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/">http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/</a></li>
<li>Click &#8220;OK&#8221; and mark &#8220;Android Sources&#8221; checkbox</li>
<li>Click &#8220;Next&#8221; and any &#8220;OK&#8221;, &#8220;Agree&#8221;, &#8220;Next&#8221; or &#8220;Finish&#8221; buttons afterwards</li>
<li>Restart Eclipse after the installation and now you can step right into Android code from your debugger and see the source code for Android Java files right in the Eclipse editor</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2011/12/13/android-core-sources-eclips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free some space on your Android phone</title>
		<link>http://dev.bostone.us/2011/12/10/free-some-space-on-your-android-phone/</link>
		<comments>http://dev.bostone.us/2011/12/10/free-some-space-on-your-android-phone/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 23:11:41 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[non-programming]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/?p=392</guid>
		<description><![CDATA[If you have had your Android phone for a while it is very possible that just like me you are suffering from its unbelievably small and ever shrinking memory. You probably have no space to install any new apps and don&#8217;t want to give up any of ones you have. So here are few tips [...]]]></description>
			<content:encoded><![CDATA[<p>If you have had your Android phone for a while it is very possible that just like me you are suffering from its unbelievably small and ever shrinking memory. You probably have no space to install any new apps and don&#8217;t want to give up any of ones you have. So here are few tips that hopefully will help you to free few megs of the precious internal mem! As a note &#8211; this will not go into weird and difficult solutions such as cache management apps and rooting your phone, for that you can go to <a href="http://forum.xda-developers.com/filter.php?cat=Android">XDA forums</a></p>
<p><em>For the lawyers out there: use these tips at your own risk. I do and I&#8217;m yet to brick my phone or to lose any valuable information but that is not to say that you may not.</em></p>
<p><strong>General requirement</strong></p>
<p>Before doing anything described below make sure that your phone settings and information is backed up. Go to <strong><em>Phone-&gt;Settings-&gt;Privacy</em></strong> and make sure that &#8220;Back up my data&#8221; and &#8220;Automatic restore&#8221; options are checked. Otherwise you are at risk to lose valuable data on your phone permanently</p>
<p><strong>G+ &amp;Co</strong></p>
<p><a rel="attachment wp-att-393" href="http://dev.bostone.us/2011/12/10/free-some-space-on-your-android-phone/gplus/"><img class="alignright size-medium wp-image-393" title="gplus" src="http://dev.bostone.us/wp-content/uploads/2011/12/gplus-180x300.png" alt="gplus" width="180" height="300" /></a> This &#8220;new kid on the block&#8221; uses internal memory very liberally (slap, slap, slap). I found out that periodically it helps to go <strong><em>phone-&gt;settings-&gt;Applications-&gt;Manage Applications</em></strong>, locate G+ app and click on &#8220;Clear data&#8221; button. Yes, it will give you a stiff warning saying that your phone will melt and the boogie man will comeandgetcha but I found that it really has no adverse effect except I&#8217;d have to log back in.</p>
<p>Other apps in this category (save to Clear data) are Browser and Market and you may find more but be careful. <strong>All the apps I mentioned are backed by Google servers</strong>, when you delete data it is replaced by a new set. On the exclusively phone-based apps you will lose all your settings and modifications</p>
<p><strong>Get rid of unwanted apps (kind of)</strong></p>
<p>No I&#8217;m not telling you to delete that &#8220;Busty blonds&#8221; app that you not using (are you?).  As I said &#8211; if you&#8217;re like me you are not giving anything up. But there is number of unused &#8220;default&#8221; apps that come with your phone. Unfortunately you cannot delete these apps easily but if you were updating these (especially automatically) and want to regain some space do the following:</p>
<p>Locate the app in the same settings area as above. Do &#8220;Clear cache&#8221;, &#8220;Clear Data&#8221; and then click on &#8220;Uninstall updates&#8221;. As a very minimum the app will shrink to half of its size. Latest app on my NexusOne to go this way was Facebook (I&#8217;m a bit proud of it)</p>
<p><strong>Scary stuff or nuke your contacts</strong></p>
<p>I know this is a dangerous proposition but let me give you some background. When you got your new phone it was initially populated with your Google contact list. Any modifications or additions from your phone are also synchronized back to Google servers. So about 1 year and change ago it become fashionable for 3rd party apps to synchronize their contacts to your phone also. Fortunately, Android does not combine accounts internally but keeps them separate and only unites these on your screen. If you&#8217;ve been syncing and trying things like Facebook, Twitter, Linkedin and our own Droidin you probably have tons of strange contacts that make no sense and by the way steal your precious memory.</p>
<p>I also found out that even when removed or disabled from <strong><em>settings-&gt;Accounts &amp; sync</em></strong> just adding and removing and syncing leaves a lot of residue behind.</p>
<p>So gather your courage and locate the app called &#8220;Contacts Storage&#8221; and do the same &#8220;Clear data&#8221; trick. After that access your contacts and be horrified, you will see nothing there. However in a short while your missing contact information will be pooled from Google. <strong><span style="color: #ff0000;">Stiff warning:</span></strong> you will lose your call log and &#8220;Frequently called&#8221; section so don&#8217;t say I didn&#8217;t warn you. I gained about 10Mb with this trick so if you are very desperate you may consider this.</p>
<p><strong>Start anew</strong></p>
<p>This one is really dumb: say by-by to all the customization, pull out SD card and do factory reset. How? <strong><em>Phone-&gt;Settings-&gt;Privacy-&gt;Factory data reset</em></strong>. This will pretty much wipe out everything on your phone to a clean slate.</p>
<p>Then you can recall that sweet feeling you had 2 years ago when you first logged in into you brand new super-phone</p>
<p>If you have purchased any paid applications you will be able to add these back with no charge by going to Market and locating the app. Instead of &#8220;Purshase&#8221; button you will see &#8220;Install&#8221;</p>
<p>Hope this helps and Ho, ho, ho &#8211; Merry Christmas and a Happy New Year!</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2011/12/10/free-some-space-on-your-android-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android: display orientation in phones vs tablets</title>
		<link>http://dev.bostone.us/2011/06/30/android-display-orientation-in-phones-vs-tablets/</link>
		<comments>http://dev.bostone.us/2011/06/30/android-display-orientation-in-phones-vs-tablets/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 15:57:20 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/?p=386</guid>
		<description><![CDATA[If you have 2 layouts (portrait and landscape) and the order seems to be reversed on the tablet then switch to using getRotation instead of deprecated getOrientation. Something like this

    private void setLayout() {
        // Get display for detecting the phone orientation
    [...]]]></description>
			<content:encoded><![CDATA[<p>If you have 2 layouts (portrait and landscape) and the order seems to be reversed on the tablet then switch to using <strong>getRotation </strong>instead of deprecated <strong>getOrientation</strong>. Something like this</p>
<pre class="brush: java; title: ; notranslate">
    private void setLayout() {
        // Get display for detecting the phone orientation
        final Display display = ((WindowManager) getSystemService(
            WINDOW_SERVICE)).getDefaultDisplay();
        if (display.getRotation() == Surface.ROTATION_0 ||
            display.getRotation() == Surface.ROTATION_180) {
            setContentView(R.layout.home);
        } else {
            setContentView(R.layout.home_l);
        }
    }
</pre>
<p>P.S.<br />
Actually, ignore code above it will not work. All you really need to do is to detect what is larger &#8211; height or width and adjust layout accordingly</p>
<pre class="brush: java; title: ; notranslate">
    private void setLayout() {
        // Get display for detecting the phone orientation
        final Display display = ((WindowManager)
             getSystemService(WINDOW_SERVICE)).getDefaultDisplay();
        final boolean isTall = display.getHeight() &gt; display.getWidth();
        setContentView(isTall ? R.layout.home : R.layout.home_l);
    }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2011/06/30/android-display-orientation-in-phones-vs-tablets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS vs Android</title>
		<link>http://dev.bostone.us/2010/10/20/ios-vs-android/</link>
		<comments>http://dev.bostone.us/2010/10/20/ios-vs-android/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 20:41:56 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[non-programming]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/?p=367</guid>
		<description><![CDATA[Blah, blah&#8230; I&#8217;m a simple guy. I keep hearing about hackers that make iPhone run Android, I&#8217;m yet to hear about Nexus One running iOS. Why? Because no self-respecting hacker would attempt such pointless exercise
]]></description>
			<content:encoded><![CDATA[<p>Blah, blah&#8230; I&#8217;m a simple guy. I keep hearing about hackers that make iPhone run Android, I&#8217;m yet to hear about Nexus One running iOS. Why? Because no self-respecting hacker would attempt such pointless exercise</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2010/10/20/ios-vs-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HireADroid adds Beyond.com</title>
		<link>http://dev.bostone.us/2010/09/19/hireadroid-adds-beyond-com/</link>
		<comments>http://dev.bostone.us/2010/09/19/hireadroid-adds-beyond-com/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 21:24:49 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/?p=364</guid>
		<description><![CDATA[My pet project HireADroid adds Beyond.com support in its 2.4.0 release. HireADroid as Android job search application that now supports 5 major search engines. You can give it a try by searching for it on Android market or going to http://hireadroid.com. One query will give 5 sets of results in one neat package
]]></description>
			<content:encoded><![CDATA[<p>My pet project HireADroid <a href="http://hireadroid.com/2010/09/hireadroid-2-4-0-welcomes-beyond-com/">adds Beyond.com support</a> in its 2.4.0 release. HireADroid as Android job search application that now supports 5 major search engines. You can give it a try by searching for it on Android market or going to http://hireadroid.com. One query will give 5 sets of results in one neat package</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2010/09/19/hireadroid-adds-beyond-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android &#8211; prevent Dialog to be cashed in the Activity</title>
		<link>http://dev.bostone.us/2010/05/11/android-prevent-dialog-to-be-cashed-in-the-activity/</link>
		<comments>http://dev.bostone.us/2010/05/11/android-prevent-dialog-to-be-cashed-in-the-activity/#comments</comments>
		<pubDate>Tue, 11 May 2010 05:13:45 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/?p=339</guid>
		<description><![CDATA[If you override Activity#onCreateDialog method to create a pop-up dialog something that you have to be aware is this dialog will be cashed for any subsequent calls. For most cases it is just the right behavior but what if you want to change contents of the dialog on the next call? One possible scenario &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>If you override <strong>Activity#onCreateDialog</strong> method to create a pop-up dialog something that you have to be aware is this dialog will be cashed for any subsequent calls. For most cases it is just the right behavior but what if you want to change contents of the dialog on the next call? One possible scenario &#8211; say you have few tabs that display similar content in the same pop-up but the info changes based on the active tab. Here&#8217;s one way to do it. When you set your onClick listener put this into onClick call:<br />
<code>dialog.dismiss();<br />
activity.removeDialog(DIALOG_ID);</code><br />
Here DIALOG_ID is the same ID you are using in the <strong>Activity#onCreateDialog</strong> call</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2010/05/11/android-prevent-dialog-to-be-cashed-in-the-activity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nexus One rocks</title>
		<link>http://dev.bostone.us/2010/04/14/nexus-one-rocks/</link>
		<comments>http://dev.bostone.us/2010/04/14/nexus-one-rocks/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 15:55:04 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/?p=337</guid>
		<description><![CDATA[&#8220;N1 is nothing more than souped up MyTouch&#8221; &#8211; my own quote and oh boy was I wrong! N1 really rocks! After my trusted and not-so-old T-Mobile gadget it feels like a Porsche vs. beat-up Toyota (sorry I couldn&#8217;t resists). It&#8217;s slick, fast and far more polished. And I love it!
]]></description>
			<content:encoded><![CDATA[<p>&#8220;N1 is nothing more than souped up MyTouch&#8221; &#8211; my own quote and oh boy was I wrong! N1 really rocks! After my trusted and not-so-old T-Mobile gadget it feels like a Porsche vs. beat-up Toyota (sorry I couldn&#8217;t resists). It&#8217;s slick, fast and far more polished. And I love it!</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2010/04/14/nexus-one-rocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh, Fame #2</title>
		<link>http://dev.bostone.us/2010/03/05/oh-fame-2/</link>
		<comments>http://dev.bostone.us/2010/03/05/oh-fame-2/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 20:57:17 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Web stuff]]></category>
		<category><![CDATA[non-programming]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/?p=333</guid>
		<description><![CDATA[I appeared as part of the interview with leading Android developers on odinjobs.com
]]></description>
			<content:encoded><![CDATA[<p>I appeared as part of the interview with leading Android developers on <a href="http://www.odinjobs.com/blogs/careers/entry/mobile_apps_interview">odinjobs.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2010/03/05/oh-fame-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh, the fame!</title>
		<link>http://dev.bostone.us/2010/03/05/oh-the-fame/</link>
		<comments>http://dev.bostone.us/2010/03/05/oh-the-fame/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 18:53:08 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Web stuff]]></category>
		<category><![CDATA[non-programming]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/2010/03/05/oh-the-fame/</guid>
		<description><![CDATA[My post to AndroidGuys about Google offering free phones to developers is referenced by ZDNet here http://is.gd/9H5a0
]]></description>
			<content:encoded><![CDATA[<p>My post to AndroidGuys about Google offering free phones to developers is referenced by ZDNet here <a href="http://is.gd/9H5a0">http://is.gd/9H5a0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2010/03/05/oh-the-fame/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whoopee! I won, I won!</title>
		<link>http://dev.bostone.us/2010/01/27/whoopee-i-won-i-won/</link>
		<comments>http://dev.bostone.us/2010/01/27/whoopee-i-won-i-won/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 18:23:54 +0000</pubDate>
		<dc:creator>bo</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://dev.bostone.us/2010/01/27/whoopee-i-won-i-won/</guid>
		<description><![CDATA[This morning I found an email from Archos with voucher for their Archos 5 tablet that I won after enrolling in Archos contest with my Hire*A*Droid app.
Read about in on AndroidGuys. Yeap, had to brag&#8230;
]]></description>
			<content:encoded><![CDATA[<p>This morning I found an email from Archos with voucher for their Archos 5 tablet that I won after enrolling in Archos contest with my <a href="http://hireadroid.com/help">Hire*A*Droid</a> app.<br />
Read about in <a href="http://www.androidguys.com/2010/01/26/archos-good-promise/">on AndroidGuys</a>. Yeap, had to brag&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.bostone.us/2010/01/27/whoopee-i-won-i-won/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

