<?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>Rants of a mobile dev &#187; Mobile</title>
	<atom:link href="http://blog.smartcube.co.za/category/mobile/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smartcube.co.za</link>
	<description>Mobile developer ranting about mobile stuff</description>
	<lastBuildDate>Sun, 02 May 2010 20:58:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Mxit Isn&#8217;t Android Friendly</title>
		<link>http://blog.smartcube.co.za/2010/03/14/mxit-isnt-android-friendly/</link>
		<comments>http://blog.smartcube.co.za/2010/03/14/mxit-isnt-android-friendly/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 21:55:51 +0000</pubDate>
		<dc:creator>drubin</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[mxit]]></category>

		<guid isPermaLink="false">http://blog.smartcube.co.za/?p=197</guid>
		<description><![CDATA[Today I tried out the official Android Mxit client. I was very very disappointed. The inability to press the &#8220;back&#8221; button upsets me. This button is always referred to as back back and never exit. It is part of the Android spec. The reasoning is simple they don&#8217;t want you to background the app?: Pressing [...]]]></description>
			<content:encoded><![CDATA[<p>Today I tried out the official Android <a href="http://mxit.com">Mxit</a> client. I was very very disappointed. The inability to press the &#8220;back&#8221; button upsets me. This button is always referred to as back back and never exit. It is part of the Android spec.</p>
<p>The reasoning is simple they don&#8217;t want you to background the app?: Pressing the back button asks the user &#8220;Logout from MXit&#8221; with the options &#8220;no&#8221; and &#8220;logout&#8221; neither were what I wanted to do.</p>
<p>Fear not Android users there is a work around. Pressing the home button will background the activity and return you to your home screen.</p>
<p><a href="http://mxit.com">Mxit</a> please fix your back button. Thanks</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.smartcube.co.za/2010/03/14/mxit-isnt-android-friendly/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Optimizing J2mepolish Build Proccess</title>
		<link>http://blog.smartcube.co.za/2009/08/19/optimizing-j2mepolish-build-proccess/</link>
		<comments>http://blog.smartcube.co.za/2009/08/19/optimizing-j2mepolish-build-proccess/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 07:25:43 +0000</pubDate>
		<dc:creator>drubin</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Programing]]></category>
		<category><![CDATA[J2me]]></category>
		<category><![CDATA[J2mepolish]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.smartcube.co.za/?p=173</guid>
		<description><![CDATA[J2mepolish as a build framework is great! I have been using parts of it since before it was in beta. J2mepolish provides different licenses depending on how you use the product now while this can be looked on in a bad light but I quite like the fact that it is open-source as well as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://j2mepolish.org/">J2mepolish</a> as a build framework is great! I have been using parts of it since before it was in beta.</p>
<p>J2mepolish provides different <a href="http://www.j2mepolish.org/cms/leftsection/licensing.html">licenses</a> depending on how you use the product now while this can be looked on in a bad light but I quite like the fact that it is open-source as well as long as you your self release the code under the same license should you wish to release under a different license there are other payed options available. </p>
<p>The build framework is licensed under <a href="http://www.gnu.org/licenses/gpl.html">GPL</a> no matter how you use it.</p>
<p>I have found that the build proccess can be pretty slow and time consuming I have also found that with out obsfication it by default includes ALL classes in the framework include the GUI/Utils. While you don&#8217;t make use of them you aren&#8217;t violating the license it does increase the application size. There are a few tweeks that one can make to their own personal setup to improve this.</p>
<p>Firstly <a href="http://en.wikipedia.org/wiki/TMPFS ">tmpfs</a> and mounting your /build and /dist directory into memory (For debugging only I wouldn&#8217;t mount a full build) You would have to replace the standard build clean target since the standard user <strong>shouldn&#8217;t</strong> have permissions to delete/create tmpfs<br />
Standard:</p>
<blockquote><p>&lt;delete dir=\&quot;dist\&quot; /&gt;</p></blockquote>
<p>Changed</p>
<blockquote><p>
&lt;delete includeemptydirs=\&quot;true\&quot;&gt;<br />
    &lt;fileset dir=\&quot;dist\&quot; includes=\&quot;**/*\&quot; defaultexcludes=\&quot;false\&quot;/&gt;<br />
&lt;/delete&gt;</p></blockquote>
<p>Secondly the since the build proccess includes all the J2mepolish source files by default you should be able to just set <strong>polish.client.source</strong> to a empty directory but it contains a reference <a href="http://www.j2mepolish.org/javadoc/j2me/index.html">Locale</a> which also contains references to other files(Which are not 100% needed unless you actually use the Utilities provided by J2mepolish)</p>
<p>So a simple fix is create a folder structure with /path/to/directory/de/enough/polish/util/Local.java and place this <a href="http://blog.smartcube.co.za/wp-content/uploads/2009/08/Locale.java">Local.java</a> in there.</p>
<p>In the build file or one of the config files set </p>
<blockquote><p>polish.client.source=/path/to/directory</p></blockquote>
<p> and you should be all set. I noticed huge build time improvements but I don&#8217;t currently make sure of the GUI/Utils.</p>
<p>Hope this helps make you more productive. If you have any other tweaks I would love to hear them.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.smartcube.co.za/2009/08/19/optimizing-j2mepolish-build-proccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up MMS On Android</title>
		<link>http://blog.smartcube.co.za/2009/07/01/setting-up-mms-on-android/</link>
		<comments>http://blog.smartcube.co.za/2009/07/01/setting-up-mms-on-android/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 07:20:20 +0000</pubDate>
		<dc:creator>drubin</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[g1]]></category>
		<category><![CDATA[Vodacom]]></category>

		<guid isPermaLink="false">http://blog.smartcube.co.za/?p=140</guid>
		<description><![CDATA[I have had my G1 for quite some time. When I first got it I added the APN settings for basic Internet. Over the last 2 days I have received 2 mms&#8217;s I kept getting &#8220;Failed to download&#8221; oops I had forgotten to set up the MMS proxy settings. How to get there; Settings -&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>I have had my G1 for quite some time. When I first got it I added the <a href="http://en.wikipedia.org/wiki/Access_Point_Name">APN</a> settings for basic Internet.  Over the last 2 days I have received 2 mms&#8217;s I kept getting &#8220;Failed to download&#8221; oops I had forgotten to set up the MMS proxy settings.</p>
<p>How to get there; Settings -&gt; Wireless Controls -&gt; Mobile Networks -&gt; Access Point Names -&gt; (Select One or create one via Menu-&gt;Add APN)<br />
<strong>Correct APN settings:</strong><br />
Vodacom:<br />
Name: Vodacom Internet<br />
APN: Internet<br />
Proxy: Leave blank<br />
Port: Leave blank<br />
UserName: Leave Blank<br />
MMSC: Leave Blank<br />
MMS Proxy: 196.6.128.13 (I had it as mmsc.vodacom4me.co.za but this doens&#8217;t work)<br />
MMS Port: 8080<br />
MMC: 655<br />
MNC: 01<br />
APN Type: Leave Blank</p>
<p>MTN(I haven&#8217;t tested these but they should work):<br />
Name: Internet<br />
APN: Internet<br />
Proxy: Leave blank<br />
Port: Leave blank<br />
UserName: Leave Blank<br />
MMSC: Leave Blank<br />
MMS Proxy: 196.11.240.241<br />
MMS Port: 8080<br />
MMC: 655<br />
MNC: 01<br />
APN Type: Leave Blank</p>
<p>Hope this at least helps some one.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.smartcube.co.za/2009/07/01/setting-up-mms-on-android/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>HTC Creates A Hero</title>
		<link>http://blog.smartcube.co.za/2009/06/29/htc-creates-a-hero/</link>
		<comments>http://blog.smartcube.co.za/2009/06/29/htc-creates-a-hero/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 12:01:12 +0000</pubDate>
		<dc:creator>drubin</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Hero]]></category>
		<category><![CDATA[htc]]></category>

		<guid isPermaLink="false">http://blog.smartcube.co.za/?p=138</guid>
		<description><![CDATA[Htc announces their Hero specs on gsmarena. From what I have seen this might be the most user appealing of all the Android HTC phones. It just seems more slick. I read this from engadgetmobile. I had a good chuckle at their linked video]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.htc.com/www/">Htc</a> announces their <a href="http://www.htc.com/www/product/hero/overview.html">Hero</a> specs on <a href="http://www.gsmarena.com/htc_hero-2861.php">gsmarena</a>. </p>
<p>From what I have seen this might be the most user appealing of all the <a href="http://www.android.com/">Android</a> HTC phones. It just seems more slick. </p>
<p>I read this from <a href="http://www.engadgetmobile.com/2009/06/28/htc-hero-up-for-pre-order-on-amazon-uk-429-july-15-delivery">engadgetmobile</a>. I had a good chuckle at their <a href="http://www.youtube.com/watch?v=7f_HsjpSVaI">linked video</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.smartcube.co.za/2009/06/29/htc-creates-a-hero/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sun Unreleases WTK3.0</title>
		<link>http://blog.smartcube.co.za/2009/06/29/sun-unreleases-wtk3-0/</link>
		<comments>http://blog.smartcube.co.za/2009/06/29/sun-unreleases-wtk3-0/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 11:47:13 +0000</pubDate>
		<dc:creator>drubin</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Programing]]></category>
		<category><![CDATA[J2me]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Wtk]]></category>

		<guid isPermaLink="false">http://blog.smartcube.co.za/?p=136</guid>
		<description><![CDATA[I have heard alot about how amazing J2me development on their new WTK3.0 is. The reason I say &#8220;have heard&#8221; is I refuse to use/try it until they release the Linux based version. I mean the product wont even run on their own Solaris OS way to go on marketing your own products. The windows [...]]]></description>
			<content:encoded><![CDATA[<p>I have heard alot about how amazing <a href="http://en.wikipedia.org/wiki/Java_Platform,_Micro_Edition">J2me</a> development on their new <a href="http://java.sun.com/javame/downloads/sdk30.jsp">WTK3.0</a> is.</p>
<p>The reason I say &#8220;have heard&#8221; is I refuse to use/try it until they release the <a href="http://en.wikipedia.org/wiki/Linux">Linux</a> based version. I mean the product wont even run on their own <a href="www.sun.com/software/solaris/">Solaris</a> OS way to go on marketing your own products.</p>
<p>The <a href="http://www.glassfit.co.za/">windows</a> version has been out for more ages. I have logged a bug request on their site, I didn&#8217;t get a reply not that I was actually expecting to get one.</p>
<p>Under the <a href="http://java.sun.com/javame/downloads/sdk30.jsp#req">Requirements section</a> &#8220;Windows&#8221; are you kidding me, The guys that have been pushing and that revolutionized <a href="http://en.wikipedia.org/wiki/Cross-platform">cross platform</a> development.</p>
<p>For now at least my beliefs hold strong and I wont touch their shiny new toy until they release a Linux version. &lt;/EndRant&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.smartcube.co.za/2009/06/29/sun-unreleases-wtk3-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Kfm Joins Mobile Fail</title>
		<link>http://blog.smartcube.co.za/2009/05/07/kfm-joins-mobile-fail/</link>
		<comments>http://blog.smartcube.co.za/2009/05/07/kfm-joins-mobile-fail/#comments</comments>
		<pubDate>Thu, 07 May 2009 11:39:21 +0000</pubDate>
		<dc:creator>drubin</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[kfm]]></category>
		<category><![CDATA[wap]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://blog.smartcube.co.za/?p=113</guid>
		<description><![CDATA[Today I was listening to kfm like I do most mornings on the way to work and wanted to download one of the snippets from the show but more on that at a latter date. Currently I have noscript installed and all scripts/iframes/flash/java are disabled until explicitly allowed. Seriously I don&#8217;t know what I would [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was listening to <a href="http://www.kfm.co.za/">kfm</a> like I do most mornings on the way to work and wanted to download one of the snippets from the show but more on that at a latter date.</p>
<p>Currently I have <a href="http://noscript.net/">noscript</a> installed and all scripts/iframes/flash/java are disabled until explicitly allowed. Seriously I don&#8217;t know what I would do with out it. </p>
<p>Firstly when trying to hit  <a href="http://kfm.co.za">kfm.co.za</a> it just times out, but <a href="http://www.kfm.co.za">www.kfm.co.za</a> firstly odd but something that surprised me even more wasn&#8217;t that the webserver wasn&#8217;t configured to handle urls with <a href="http://no-www.org/">out the www</a> but rather that the 2 host names resolve to different ips.<br />
www.kfm.co.za &#8211; 196.37.145.90<br />
kfm.co.za  &#8211; 196.2.132.146</p>
<p>Ok what does this have to do with mobile?<br />
Their home page has this content.<br />
<code><br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;<br />
&lt;title&gt;KFM - The Cape's No.1 hit music station&lt;/title&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
if ((screen.width&lt;801) &amp;&amp; (screen.height&lt;360)) {<br />
window.location.replace('http://www.kfm.co.za/mobilesite/index.asp');<br />
}<br />
else {<br />
window.location.replace('http://www.kfm.co.za/index.asp');<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
</code></p>
<p>I seriously have to ask, how does a screen resolution dictate mobility? further more phones that are mobile do tend to not support JavaScript.  Another issue why are they doing redirection on the client side are do they not understand the concept of server side detection? </p>
<p>Ok so I thought I would follow the mobile version of the site and maybe give them the benefit of the doubt maybe their actual mobile site wont be as bad&#8230;.</p>
<blockquote><p>&lt;script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;&gt; </p></blockquote>
<p>They clearly care about stats about their sites (Pity that they wont generate any mobile stats since they tend to not load JavaScript in the first place)</p>
<p>They mobile site is riddled with tables and nested tables images in the places no images should ever go.<br />
Some stats about their mobile optimized site&#8230;<br />
<a href="http://blog.smartcube.co.za/wp-content/uploads/2009/05/kfm-stats.png"><img src="http://blog.smartcube.co.za/wp-content/uploads/2009/05/kfm-stats-300x181.png" alt="kfm-stats" title="kfm-stats" width="300" height="181" class="alignnone size-medium wp-image-114" /></a></p>
<p>Just thinking but their <a href="http://www.kfm.co.za/mobilesite/hot_jocks_may_09_vote2.asp">Hot Jocks page</a> is only 179kb at a current rate of R2.00 per meg 34.96 Cents to load that page&#8230;</p>
<p>&lt;/end-rant&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.smartcube.co.za/2009/05/07/kfm-joins-mobile-fail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To Stop SMS Spam</title>
		<link>http://blog.smartcube.co.za/2009/05/01/how-to-stop-sms-spam/</link>
		<comments>http://blog.smartcube.co.za/2009/05/01/how-to-stop-sms-spam/#comments</comments>
		<pubDate>Fri, 01 May 2009 16:21:09 +0000</pubDate>
		<dc:creator>drubin</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[wasp]]></category>
		<category><![CDATA[waspa]]></category>

		<guid isPermaLink="false">http://blog.smartcube.co.za/?p=107</guid>
		<description><![CDATA[This only really relates to South Africa. Background: Each Text Message (sms) comes from either a Short Code or a Long code or an users mobile number. User mobile numbers: currently 10digits long. Starting with (+27&#124;0)(78). Short codes are 5digits long and start with 3 or 4. No international code since they are only valid [...]]]></description>
			<content:encoded><![CDATA[<p>This only really relates to <a href="http://en.wikipedia.org/wiki/South_Africa">South Africa</a>.</p>
<p>Background:<br />
Each <a href="http://en.wikipedia.org/wiki/Text_messaging">Text Message</a> (<a href="http://en.wikipedia.org/wiki/SMS">sms</a>) comes from either a <a href="http://en.wikipedia.org/wiki/Short_code">Short Code</a> or a Long code or an users mobile number. </p>
<ul>
<li><strong>User mobile numbers:</strong> currently 10digits long.  Starting with (+27|0)(78). </li>
<li><strong>Short codes</strong> are 5digits long and start with 3 or 4. No international code since they are only valid in the current country.</li>
<li><strong>Long Codes</strong> are  10+digits with the international dialing code +27</li>
</ul>
<p>First step when receiving unsolicited bulk messaging, is to try contact the party that it is being sent on behalf of. If you have an X account and are receiving messaging or you should simply be able to reply to the sms (either the short-code or long code) with stop | un-subscribe | remove, generally most systems should accept the stop. </p>
<p>Should this not work, visit <a href="http://www.smscode.co.za/">Smscode</a> but this only applies to sms&#8217;s that come from a short-code. There is a form on the site that allows you to see which <a href="http://waspa.org.za/members/index.php">wasp</a> the short code is registered to.  Once you have that information it is easiest to contact the wasp directly. They are governed by a strict <a href="http://waspa.org.za/code/index.shtml">code of conduct</a> so should their actions not follow the CoC they stand a change of receiving a huge fine or having them selfs removed as a registered wasp.</p>
<p>The last resort is to lodge a <a href="http://waspa.org.za/code/complaint.shtml">complaint</a> with <a href="http://waspa.org.za/">waspa</a>. This  should generally only be used as a last resort should you be unable to contact the wasp or the 3rd party.</p>
<p><strong>My Experience with <a href="http://waspa.org.za/">waspa</a>.</strong><br />
Last week was the final straw. I got another spam sms from X an under18&#8242;s event co-coordinator party planer type effort. I have no idea how I got on their list but their website didn&#8217;t provide a means to contact/un-subscribe. It originated from a Long code so I was unable to use <a href="http://www.smscode.co.za/">Smscode</a> to determine the wasp that the message was sent by. I logged a complaint on the waspa website on Friday 30th of April. I almost instantly cc&#8217;ed on the email to their support team containing all the relevant information. Later that day I got an email saying that one of waspa&#8217;s representatives was looking into this and I should receive an update with in 5 working days&#8230;.</p>
<p>This afternoon(Friday 1st May, public holiday) I got a call from <a href="http://waspa.org.za/members/index.php?show=2915">SmsPortal</a> the wasp who actually sent the spam. He was extremely polite and assured me they had removed my number from X&#8217;s list and I should not receive any further contact from them.</p>
<p>Something else to note these methods are also valid for subscription services as well. Also note the un-subscribe sms needs to be on the cheapest possible short code since they can vary from R1.00 all the way up to R30.00. They take subscription services way more seriously then just standard bulk messaging.</p>
<p>Only time will tell but the quick response time and the guy really didn&#8217;t seem like first line support makes me feel as if this issue is now closed. I hope this will help any one else that relieves mobile spam. At least you know there is a relatively easy way of stopping it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.smartcube.co.za/2009/05/01/how-to-stop-sms-spam/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
