<?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>MyDroid</title>
	<atom:link href="http://android.mahram.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://android.mahram.ca</link>
	<description>My Android development stories (and maybe more)</description>
	<lastBuildDate>Tue, 17 Jan 2012 06:14:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fragmentation, the crutch of Android haters</title>
		<link>http://android.mahram.ca/2012/01/16/fragmentation-the-crutch-of-android-haters/</link>
		<comments>http://android.mahram.ca/2012/01/16/fragmentation-the-crutch-of-android-haters/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 06:09:14 +0000</pubDate>
		<dc:creator>copolii</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[False Advertising]]></category>

		<guid isPermaLink="false">http://android.mahram.ca/?p=39</guid>
		<description><![CDATA[If you&#8217;re familiar with Android you&#8217;ve no doubt heard the phrase &#8220;Fragmentation&#8221; and if you have any significant knowledge of Android, you know that it&#8217;s not a real issue (less than 5% of my code addresses &#8216;fragmentation&#8217;). If you&#8217;re not &#8230; <a href="http://android.mahram.ca/2012/01/16/fragmentation-the-crutch-of-android-haters/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_40" class="wp-caption aligncenter" style="width: 305px"><a href="http://android.mahram.ca/wp-content/uploads/2012/01/droid_finger.gif"><img class="size-full wp-image-40" title="f the haters" src="http://android.mahram.ca/wp-content/uploads/2012/01/droid_finger.gif" alt="Watch the birdie!" width="295" height="277" /></a><p class="wp-caption-text">Here&#39;s what I think about &quot;fragmentation&quot;</p></div>
<p>If you&#8217;re familiar with Android you&#8217;ve no doubt heard the phrase &#8220;Fragmentation&#8221; and if you have any significant knowledge of Android, you know that it&#8217;s not a real issue (less than 5% of my code addresses &#8216;fragmentation&#8217;).</p>
<p>If you&#8217;re not familiar with the phrase, it&#8217;s basically the sum of the following expectations:<span id="more-39"></span></p>
<ul>
<li>a single-core 500MHz device from 4 years ago should have the capabilities of a brand new dual-core 1.2GHz handset.</li>
<li>Today&#8217;s dual-core 1.2GHz handset should sport the same 320&#215;480 display of the single-core 500MHz handset of 4 years ago</li>
<li>All handsets have the same aspect ratio and resolution</li>
<li>All handsets provide the same sensor hardware (accelerometer, GPS, etc.)</li>
</ul>
<div>These expectations work if you&#8217;re willing to sell the same device year after year, but if you want half a chance at succeeding in today&#8217;s market you better make sure that every new device has something extra to offer over your last year&#8217;s model. Otherwise why would I spend my money on the same device that I purchased last year?</div>
<div></div>
<div>Now expand the same idea to over 40 manufacturers and the competition becomes rather intense. If Samsung has a 1024&#215;720 pixel SAMOLED display, why on earth would they ship their phone with a 480&#215;320 LCD? If Motorola has something that can compete with Samsung&#8217;s display why would they even consider using something inferior?</div>
<div></div>
<div>No reasonable person should expect the same software that powers their 1.2GHz device to even run on a 500MHz  device (even if it does, do you think it will perform nearly as good as you&#8217;d want it to?).</div>
<div></div>
<div>Saying Android is a fragmented OS is like saying Linux is a fragmented OS. <strong>Android is an Operating System, NOT A PHONE</strong>. Android was never made for a single device, it is an Open Source mobile Operating System. Nothing more, nothing less.</div>
<div></div>
<div>In today&#8217;s advertising model, most competitors would rather outline their opponents [fabricated] flaws than show off their own brilliance. Romney runs attack ads against Gingrich and Gingrich returns the favor &#8230; neither one really cares about getting you out of the current economic clusterf**k. They just want the votes. Unfortunately the same applies to manufacturers: Apple and Microsoft have teamed up against the platform that&#8217;s taking over the mobile market in a hurry and &#8220;fragmentation&#8221; is their [futile] weapon.</div>
<p><a href="http://www.pcmag.com/article2/0,2817,2398944,00.asp" target="_blank">Here&#8217;s</a> the most recent example of half-assed paid-off bloggers/sites hanging on to &#8220;fragmentation&#8221; for lack of anything valuable to write. If your time is too valuable to waste on nonsense &amp; garbage, let me summarize the article for you:</p>
<blockquote><p>Kindel is a 21-year veteran of Microsoft who was Windows Phone&#8217;s chief developer &#8230;<br />
left Redmond   in August, and in a December &#8230; Kindel said Windows Phone has failed &#8230; Now, he has turned his attention to Android &#8230; Kindel wrote &#8230; &#8221;the fragmentation of Android is severe&#8221; &#8230; The search giant is &#8220;pissed as hell that Apple is so successful,&#8221; &#8230; Google followed the flexible and open-source model. &#8230; &#8221;That model is like crack cocaine for the likes of Samsung and HTC,&#8221; Kindel wrote. &#8220;They have had years to get addicted to it and, from their perspective (selling boatloads of devices) it&#8217;s working just dandy for them.&#8221; &#8230; Kindel&#8217;s comments come one week after Google executive chairman Eric Schmidt appeared at the Consumer Electronics Show and <a href="http://www.pcmag.com/article2/0,2817,2398743,00.asp">argued that Android is not fragmented</a> but &#8220;differentiated,&#8221; &#8230;</p></blockquote>
<p>So, in short, Kindel worked on WP7 (Windows Phone 7) at Microsoft, he failed, quit, got bored, and is now jealous of Android&#8217;s success because open source is bad. Why is it bad? Well &#8230; Samsung and HTC (<strong>NOT Microsoft</strong>) are selling boatloads of <strong>Android</strong> devices while Microsoft was <strong>hoping</strong> that they&#8217;d pick up WP7. Even after Schmidt clarified the Android ecosystem (Google makes money on the <strong>ad</strong>s not the platform), this failure, Mr Kindel, still went on to publish his garbage.  Seems like Mr. Kindel has been having &#8220;routing&#8221; problems as of late &#8230; packets destined for his brain somehow end up routing via his ass.</p>
<p>The truth is that you will stop hearing about &#8220;fragmentation&#8221; when the Republicans and Democrats stop blaming each other and instead try to fix the problem. You&#8217;ll stop hearing it when the name &#8220;Honda&#8221; isn&#8217;t heard in a &#8220;Ford&#8221; commercial. You&#8217;ll stop hearing it when the skinny mac guy appears alone in the ads telling you why he&#8217;s so good instead of just saying that he&#8217;s better than the fat PC guy. You can come up with more examples. You&#8217;ll never stop hearing it as long as it continues to grow as it has. You will hear it for as long as the competitors and fanboys need the crutch.</p>
]]></content:encoded>
			<wfw:commentRss>http://android.mahram.ca/2012/01/16/fragmentation-the-crutch-of-android-haters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stop the Spectrum Gobblers, Stop the Squeeze!</title>
		<link>http://android.mahram.ca/2012/01/12/stop-the-spectrum-gobblers-stop-the-squeeze/</link>
		<comments>http://android.mahram.ca/2012/01/12/stop-the-spectrum-gobblers-stop-the-squeeze/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 21:08:01 +0000</pubDate>
		<dc:creator>copolii</dc:creator>
				<category><![CDATA[Canadian Wireless]]></category>
		<category><![CDATA[Petition]]></category>
		<category><![CDATA[Wireless Monopoly]]></category>

		<guid isPermaLink="false">http://android.mahram.ca/?p=26</guid>
		<description><![CDATA[ The canadian wireless landscape is in pathetic shape. John Bitove (Mobilicity) describes it best: &#8220;For years, Canada&#8217;s Big Three &#8216;tri-opoly&#8217; have been acting like squirrels preparing for a 50-year winter. They hoard spectrum to keep others from giving consumers an &#8230; <a href="http://android.mahram.ca/2012/01/12/stop-the-spectrum-gobblers-stop-the-squeeze/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://android.mahram.ca/wp-content/uploads/2012/01/squirrel.jpg"><img class="aligncenter size-full wp-image-29" title="squirrel" src="http://android.mahram.ca/wp-content/uploads/2012/01/squirrel.jpg" alt="" width="640" height="387" /></a> The canadian wireless landscape is in pathetic shape. John Bitove (Mobilicity) describes it best:</p>
<blockquote><p>&#8220;For years, Canada&#8217;s Big Three &#8216;tri-opoly&#8217; have been acting like squirrels preparing for a 50-year winter. They hoard spectrum to keep others from giving consumers an affordable choice and Canadians have been paying the price for their self-serving interests for far too long.&#8221;</p></blockquote>
<p>Please, sign <a title="the petition here" href="http://www.stopthesqueeze.ca/" target="_blank">the petition here</a> and have your voice heard. This affects all Canadians:<span id="more-26"></span></p>
<h1 style="text-align: left;"><strong>You&#8217;re with the big3</strong></h1>
<p style="text-align: left;">They&#8217;re willing to pay <strong>billions</strong> to gobble up these wireless spectra. This cuts into their profit margins. Guess who has to make up for it? <em>YOU, Sucker</em>!<br />
<strong>You Lose.</strong></p>
<h1 style="text-align: left;"><strong>You&#8217;re with the new entrants</strong></h1>
<div style="text-align: left;">They don&#8217;t have the <strong>unlimited cash</strong> to outbid the spectrum gobblers so they can&#8217;t keep up with the demand and they&#8217;ll eventually go out of business. You&#8217;ll lose your awesome wireless plan (i.e. $40 for unlimited everything) and will have to <strong>switch to the big 3</strong> (or one of their pathetic re-brands) and pay $200+ for an &#8216;unlimited&#8217; illusion.<br />
<strong>You Lose.</strong></div>
<div style="text-align: left;"></div>
<h1 style="text-align: left;">You don&#8217;t even have a cell phone</h1>
<p>The people and businesses that you deal with use mobile services and if their costs go up, they&#8217;ll eventually pass those costs to you. You will end up paying more for everything.<br />
<strong>You Lose.</strong></p>
<p>Take 30 seconds and sign the petition and maybe we&#8217;ll actually see some fair competition here in Canada. Do nothing and watch and <strong>WE ALL LOSE</strong>.</p>
<p>I&#8217;ve made my choice, but it&#8217;ll take more than just me to make a difference. Give the big 3 the boot and the new entrants a chance. I switched to Mobilicity over a year ago and I am MUCH happier than I ever was with Rogers.</p>
<p><strong>Stop the Squeeze here:</strong>.</p>
<p><iframe src="http://action.cwa-union.org/c/779/p/dia/action/public/?action_KEY=3357" frameborder="0" marginwidth="0" marginheight="0" width="460" height="600"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://android.mahram.ca/2012/01/12/stop-the-spectrum-gobblers-stop-the-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting whether an Android device is a tablet or a phone</title>
		<link>http://android.mahram.ca/2012/01/09/droid_tablet_or_phone/</link>
		<comments>http://android.mahram.ca/2012/01/09/droid_tablet_or_phone/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 02:45:02 +0000</pubDate>
		<dc:creator>copolii</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Device Detectoin]]></category>

		<guid isPermaLink="false">http://android.mahram.ca/?p=11</guid>
		<description><![CDATA[You&#8217;d like your apps to be compatible with as many devices as possible, but at the same time you want to offer as many features as you can on any device. A common problem for Android developers is determining whether &#8230; <a href="http://android.mahram.ca/2012/01/09/droid_tablet_or_phone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You&#8217;d like your apps to be compatible with as many devices as possible, but at the same time you want to offer as many features as you can on any device. A common problem for Android developers is determining whether you&#8217;re running on a <strong>tablet</strong> or a <strong>phone</strong> and a common answer is: <em>Define <strong>tablet</strong> and <strong>phone</strong></em>!</p>
<p>The thing is that you shouldn&#8217;t care whether you&#8217;re running on a tablet or a phone. The real question you need to ask is whether the current device has the ability to support my feature.<span id="more-11"></span></p>
<p>The question of whether a device is a tablet or a phone often boils down to whether or not it supports telephony. Let&#8217;s say you have a viral app and you want to enable the users to send out SMS messages to their friends promoting your app. To do this, you don&#8217;t really need to know if you&#8217;re running on a tablet. All you need to know is whether the device is capable of sending SMS.</p>
<p>here&#8217;s a small piece of code that lets you do just that:<br />
<code></code></p>
<pre>/**
* Determines if the current device has telephony capabilities
*
* @param context
* Context through which to access the telephony service
* @return true if the device has a phone radio, false otherwise
*/
public static boolean hasTelephony(Context context) {
    TelephonyManager telMgr = (TelephonyManager) context
        .getSystemService(Context.TELEPHONY_SERVICE);

    if (null == telMgr)
        return false; // no telephony

    return telMgr.getPhoneType() !=
        TelephonyManager.PHONE_TYPE_NONE;
}</pre>
<p>Comments, corrections, and improvements are welcome <img src='http://android.mahram.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://android.mahram.ca/2012/01/09/droid_tablet_or_phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://android.mahram.ca/2012/01/04/hello-world/</link>
		<comments>http://android.mahram.ca/2012/01/04/hello-world/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 00:54:03 +0000</pubDate>
		<dc:creator>copolii</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://android.mahram.ca/?p=1</guid>
		<description><![CDATA[Welcome to android.mahram.ca. This is where I will be sharing my Android stories, mainly about development, best practices, what I learned and more. I&#8217;ll edit this post soon with a bit more about me, but until then, Cheers]]></description>
			<content:encoded><![CDATA[<p>Welcome to android.mahram.ca. This is where I will be sharing my Android stories, mainly about development, best practices, what I learned and more.</p>
<p>I&#8217;ll edit this post soon with a bit more about me, but until then, Cheers <img src='http://android.mahram.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://android.mahram.ca/2012/01/04/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

