<?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>MIH SWAT &#187; java</title>
	<atom:link href="http://www.mihswat.com/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mihswat.com</link>
	<description>Headquarters of the Strategic Worldwide Applications and Technologies Team</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:59:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>My Journey to planet Android</title>
		<link>http://www.mihswat.com/2009/09/28/my-journey-to-planet-android/</link>
		<comments>http://www.mihswat.com/2009/09/28/my-journey-to-planet-android/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 09:11:17 +0000</pubDate>
		<dc:creator>Bradley Wells</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[swat]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.mihswat.com/?p=838</guid>
		<description><![CDATA[Coming from a Flash Developer background I have had no experience with mobile application development. From the time I saw the first phone to run Android, the G1, I have been itching to get into Android development. So when I &#8230; <a href="http://www.mihswat.com/2009/09/28/my-journey-to-planet-android/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Coming from a Flash Developer background I have had no experience with mobile application development. From the time I saw the first phone to run Android, the G1, I have been itching to get into Android development. So when I was recently given the go-ahead to take this journey into the <a title="Android" href="http://www.android.com/" target="_blank">Android</a> world, plus a shiny new Android phone <img src='http://www.mihswat.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , I was both excited and nervous<span id="more-838"></span> . Why nervous? Firstly, I had never developed for a mobile device before, secondly I had never written  a Java application before and lastly because I had no idea how the Android framework actually worked . But this is what we as SWAT employees love, new territory to conquer ! If you havent seen a Android device yet, see the video below of the new HTC Hero.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="295" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/FKTDSfbcbBU&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0xe1600f&amp;color2=0xfebd01" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="400" height="295" src="http://www.youtube.com/v/FKTDSfbcbBU&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0xe1600f&amp;color2=0xfebd01" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Nowadays it&#8217;s almost impossible to write an article about mobile phones without mentioning the very successful<a title="iPhone" href="http://www.mihswat.com/2009/09/22/i-dont-like-the-iphone/" target="_self"> iPhone</a>. <a title="Apple" href="http://www.apple.com" target="_blank">Apple</a> had practically turned the mobile  industry upside down with its touch screen device. Some people will argue to the death about how the iPhone, or the &#8220;Jesus Phone&#8221; as some call it, is the best thing since sliced bread &#8211; and nobody can argue against how successful this device has become. But I am predicting a total onslaught of Android devices within 2 years. The Android army of phones will be everywhere you look and you will not be able to visit any cellphone store without running into at least 50 different phones running this OS. OK &#8211; maybe that is going a bit far but I think you get the message and already we are seeing signs of it. At the time of writing this article there are 16 official Android devices. How will this army of Android devices be created you ask ? Enter the Open Handset Alliance.</p>
<p>The <a title="Open Handset Alliance" href="http://en.wikipedia.org/wiki/Open_Handset_Alliance" target="_blank">Open Handset Alliance</a> was formed in 2007 and currently has 47 members. It is a consortium of technology and mobile companies all dedicated to bringing us better mobile experiences, with Android being their first project . There are some big names amongst the 47 members, including Google, Intel, Nvidia, HTC, Asus, SonyEriccson, LG, Ebay. With so many big names dedicated to Android development, it is bound to be amongst the top mobile device OS&#8217;s. You can read more about this <a title="before" href="http://www.mihswat.com/2008/10/07/why-android-will-win-or-iphone-in-the-long-run/" target="_self">argument here</a>, let me get to the Android architecture.</p>
<p>Android is a Linux based software stack. On top of the Linux kernel layer lies a layer for the system libraries such as SQLite, SSL, OpenGL, etc. This layer also houses the Android runtime, which runs the Dalvik Virtual Machine. On top of this there&#8217;s the Application Framework, housing the managers like the Activity Manager, Window Manager, etc. Then finally there is the application layer, which is the layer we are most interested in.</p>
<p><img class="alignnone size-full wp-image-844" title="system-architecture" src="http://www.mihswat.com/wp-content/uploads/2009/09/system-architecture.jpg" alt="system-architecture" width="428" height="307" /></p>
<p>Android applications can consist of different sections, namely Activities, Services, Broadcast Recievers and Content Providers. Activities form the User Interface(UI) part of the application, Services run in the background similar to RSS feed readers checking for updates. Broadcast Receivers just listen for particular system broadcasts, for example , when the battery is low. Content Providers just provide content to any asking application , for example your application asking the contact book to provide the users contacts for use within your application. We will mostly be concerned with Activities.</p>
<p>Activities were designed to be totally integrated with one another. What I mean is that Activities can call one another and pass data to one another, basically  like an event driven system, but on a system wide level. An application is thus a group of Activities passing Intents to one another. It is then possible to include , lets say, a Google Maps Activity into your application by passing a Google Maps Intent to it and waiting for a result from it. It would seem to the end user that you created a Google Maps section to your app. I think this is pretty powerful.</p>
<p>To get started with creating these applications you need the free <a title="Android SDK" href="http://developer.android.com/sdk/1.6_r1/index.html">Android SDK</a>, Apple iPhone developers need to register first($99!). Then you going to need an IDE, there is an Eclipse plugin, the <a title="Android Development Tools" href="http://dl.google.com/android/ADT-0.9.3.zip">Android Development Tools</a>(ADT) plugin that has everything including the latest stable SDK. You don&#8217;t immediately need a phone to test on as ADT comes with an Android emulator that you can debug and test with but you will eventually need a phone to properly test with. ADT is pretty awesome as it comes with many tools to tell you exactly whats happening on the phone, which threads are running,it has code completion, wizards to quickly create sub classes and much more. It took me less than 30 minutes to get a  &#8220;Hello World&#8221; application running on the Android emulator from the time I installed the ADT!</p>
<p>Since ActionScript 3 is a lot like Java I could easily jump in even though there were a few syntax differences &#8211; but after about 2 days and the help of ADT I had a basic application drawing a ball bouncing round the screen. But that was only the beginning and have rewritten sections of the game many times. Now after two weeks of lots of learning I have created the game and have it running on my phone. It is still a prototype and even though it needs weeks more spit and polish, after demonstrating the game I have gotten the thumbs up to turn it into a real game which we will be registering in the Android market.  There is still a lot to learn from this wonderful framework but the <a title="Android Groups" href="http://groups.google.com/group/android-beginners">Android groups</a> have been great help, as well as all the <a title="Android forums" href="http://www.anddev.org/" target="_blank">Android forums</a> and of course, <a title="developers guide" href="http://developer.android.com/guide/topics/graphics/2d-graphics.html">the Reference guide</a> which ships with the SDK. It has been a challenge to get to grips with this entirely new development area but it was far easier than imagined it would be. I spent about 10 times longer getting to know Flash, and that was with people available to help me.</p>
<p>What about my experience using the phone? I can honestly say I am now more connected than ever before. My email, both gmail and exchange, is pushed to the phone. My Twitter application runs in the background constantly fetching  tweets, while my Facebook application gets all my buddies&#8217; status updates to me as often as I want to see them. News and weather is updated all the time. My calendar and contacs are synchronised between my phone and my mobile. I never get lost anymore, maps are always available and my Gtalk status is always &#8220;available&#8221; and running in the background, unlike on some other phones <img src='http://www.mihswat.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Oh, and it makes phone calls as well.</p>
<p>I will follow up with another article of my findings, good and bad, this time focusing on the actual Android game development.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mihswat.com/2009/09/28/my-journey-to-planet-android/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mobile Payment Systems &#8211; An Itch Just Waiting To Be Scratched?</title>
		<link>http://www.mihswat.com/2008/11/08/mobile-payment-systems/</link>
		<comments>http://www.mihswat.com/2008/11/08/mobile-payment-systems/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 16:07:15 +0000</pubDate>
		<dc:creator>Theo van den Berg</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mobile banking]]></category>
		<category><![CDATA[mobile payment]]></category>
		<category><![CDATA[nfc]]></category>
		<category><![CDATA[ussd]]></category>
		<category><![CDATA[wap]]></category>
		<category><![CDATA[wig]]></category>

		<guid isPermaLink="false">http://www.mihswat.com/?p=369</guid>
		<description><![CDATA[How many times have you left home and forgotten your wallet? That thick, lumpy receptacle with some notes, slips, credit card, garage card, loyalty cards and God-knows-what-else squeezed into it until it looks like Tito Mboweni in a Speedo LZR &#8230; <a href="http://www.mihswat.com/2008/11/08/mobile-payment-systems/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>How many times have you left home and forgotten your wallet? That thick, lumpy receptacle with some notes, slips, credit card, garage card, loyalty cards and God-knows-what-else squeezed into it until it looks like Tito Mboweni in a Speedo LZR swimsuit. Without it, you’re basically a bum: sheepishly asking a colleague for some cash to buy a Woolies sandwich for lunch or promising your friend that next time, you’ll pay for drinks.<span id="more-369"></span> I’m quite a scatter-brained guy at the best of times, so these scenarios are definitely not foreign to me. But forgetting my cell phone at home? The few times that this has happened – and I can count these on one hand – have been exercises in abject terror. Think of Calvin without Hobbes, or Riaan Cruywagen without his toupee: it’s just wrong! Symptoms first appear when the realisation hits that you are cut off from the mobile world: your heart rate jumps, hands tremble and droplets of sweat form on your brow. I’ve been told by smokers that this is the same process they go through when their pack of smokes are left behind. The only difference is cigarettes can be bought everywhere and at any time. And if you’re really desperate, the smoker’s code of honour guarantees that a cigarette can be ‘borrowed’ from a complete stranger. Not the same for cell phones. No other gadget is so personal to us, so tailored to our personality. Without a cell phone, you feel naked, incomplete, vulnerable, with trips to the toilet now rendered excruciatingly boring as you are forced to stare at imaginary spots on the door in front of you.</p>
<p>What is it I’m getting at here, you ask? The fact of the matter is that cell phones have overtaken wallets as the one item people simply can’t do without. And the research backs it up: according to an <a href="http://www.reuters.com/article/technologyNews/idUSN1336793620080513">IDC report</a> earlier this year, 38% of workers would choose their cell phone over their wallet, keys, laptop or digital music player if they had to leave the house for 24 hours and could take only one item with them (only 30% chose their wallets). Cell phones are our communication devices, cameras, watches, music players, browsers, notepads, alarm clocks and gaming devices. Apple saw this coming and knew they had to get in the game, with the iPhone the grand result. So, doesn’t it make sense to use your cell phone for making payments as well?</p>
<p>This idea has occurred to several entrepreneurs and companies all over the world (<a href="https://www.obopay.com/consumer/Welcome.do">Obopay</a> in the US and <a href="http://www.safaricom.co.ke/index.php?id=228">M-PESA</a> in Kenya being notable examples). In South Africa, <a href="http://www.wizzit.co.za/">Wizzit</a> has been on the scene for a while, although their target market has been the ‘unbanked’ demographic, which is why you probably haven’t heard of it. Most of the big banks have WAP sites you can point your cell phone browser to, WIG applications that can be installed directly on your cell phone menu, or on-deck options for accessing your bank accounts via one of the cell phone operator gateways. In addition, collaborative agreements between operators and banks, like MTN and Standard Bank with its <a href="http://www.mtnbanking.co.za/">MTN Banking</a> product, are also available. But these are all clunky, unintuitive affairs with lots of information needing to be entered before anything can be done.</p>
<p>Enter new players similar to <a href="http://www.wiwallet.co.za/">wiWallet</a>, promising ease of use and convenience &#8211; mobile payment nirvana. wiWallet offers a Java application that enables your cell phone to become a ‘mobile wallet’. You can link credit cards and bank accounts on the service &#8211; information which is encrypted and not stored on the cell phone. To make and receive payments, a PIN is entered, ensuring that cell phone thieves are limited to using your cell phone for overseas calls. The service promises to work on any operator and with any of the major banks. wiWallet primarily targets customer-retailer transactions.  A service such as wiWallet differs from bank and operator offerings in that it aims to simplify the process of making and receiving payments.</p>
<p>But will these mobile payment services work? Is this a sign of disruptive technology ready to break banks’ stranglehold over consumers’ money (and on bad service!), or just placeholder services waiting for the banks and operators to wake up and smell the mobile money? As Roberto reported earlier on the SWAT Blog, <a href="http://www.mihswat.com/2008/10/09/sometimes-old-technologies-are-good-and-%E2%80%9Cnew%E2%80%9D-or-ussd-can-change-everything-for-mobile-banking">USSD is another great potential enabling technology</a> for mobile banking and payments, especially when it comes to the unbanked. The text-based simplicity makes it relatively easy to use and understand, especially in the emerging markets where the majority of phones are unsophisticated and people are accustomed to SMS. But an iPhone user is unlikely to embrace this ‘sooo 90’s’ UI, as is most tech-savvy teenagers and early adopters. A mobile payment system therefore needs to adapt to its specific target demographic, and not the other way around. The potential for mobile payments, especially in emerging markets where many people are unbanked and few other payment options exist, is obvious. In developed countries, on the other hand, these types of services will likely appeal more as a matter of convenience and extension of the other payment options available, rather than as a replacement bank.</p>
<p><a href="http://www.finextra.com/fullstory.asp?id=18383">According to Gartner</a> research director Sandy Shen, SMS text messages will continue to be the dominant channel for mobile payments, although take-up of WAP, USSD and near field communications (NFC) contactless services will also grow. NFC technology, as well as the rival FeliCa technology developed by Sony and DoCoMo, is proving popular as a means of making small payments (usually less than $10) and accessing transport networks by simply waving the chip-enabled cell phone within a few centimetres of a reader. The obvious limitation is that this is not a software implementation and therefore hardware, in the form of a NFC/FeliCa-capable cell phone, is needed.</p>
<p><a href="http://www.unisys.com/about__unisys/news_a_events/06108884.htm">A recent study by Unisys</a> reveals that the different mobile payment system providers will have their work cut out to convert consumers and convince them that the cell phone is a safe and secure payment channel. The findings reveal that:<br />
•	71% of all consumers surveyed in 14 countries will not consider using a mobile device to bank or shop online<br />
•	59% do not trust their mobile devices to provide a secure transaction<br />
•	Only 9% currently use these devices to conduct transactions involving credit-card payments, money transfers and deposits<br />
•	Most consumers generally perceive banks as having the best security for mobile transactions when compared to operators and online retailers</p>
<p>Which technology will win out? The one that makes it the easiest, cheapest and most secure to make and receive payments on your cell phone? Probably. You will decide, in the end. Rest assured, though: forgetting your cell phone at home will only lead to worse heart palpitations in future…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mihswat.com/2008/11/08/mobile-payment-systems/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

