<?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>ZBlog &#187; mobile</title>
	<atom:link href="http://blog.zarate.tv/category/mobile/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.zarate.tv</link>
	<description>Using the law to keep justice away</description>
	<lastBuildDate>Tue, 24 Aug 2010 11:50:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dad&#8217;s cab hits 45k downloads mark</title>
		<link>http://blog.zarate.tv/2009/10/15/dads-cab-hits-45k-downloads-mark/</link>
		<comments>http://blog.zarate.tv/2009/10/15/dads-cab-hits-45k-downloads-mark/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 19:12:30 +0000</pubDate>
		<dc:creator>Zarate</dc:creator>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[ustwo]]></category>

		<guid isPermaLink="false">http://blog.zarate.tv/?p=1268</guid>
		<description><![CDATA[Remember this post where I was talking about an app we were doing for Nokia and was the reason why I had to delve into Kuneri? Well, it&#8217;s up and running:
Kids treat you like a taxi service? Now you can act like one with this GPS enabled taximeter application on your mobile. It even includes [...]]]></description>
			<content:encoded><![CDATA[<p>Remember <a href="http://blog.zarate.tv/2009/07/11/kunerilite-actionscript-api/">this post</a> where I was talking about an app <a href="http://ustwo.co.uk/">we</a> were doing for Nokia and was the reason why I had to delve into Kuneri? Well, it&#8217;s <a href="http://store.ovi.com/content/73305479AC93C8F2E040050A85323F8C?clickSource=related%2Bcontent&#038;link=ovi_apps_dads_cab_brandhome_teaser5_download&#038;page=1">up and running</a>:</p>
<blockquote><p>Kids treat you like a taxi service? Now you can act like one with this GPS enabled taximeter application on your mobile. It even includes additional annoyance tolls and children-friendly payment options.</p></blockquote>
<p>It&#8217;s a simple <em>looking</em> app but it does indeed use the GPS and the calculation of the fare is done following London&#8217;s official taxi rules. It also takes into account if for whatever reason you lose connection with the satellites. Well, not so simple after all!</p>
<p>But I cannot take full credit, fellow ustwobie <a href="http://twitter.com/daaain">Dain Demmel</a> did a big part of the app (if not the biggest), plus we teamed up with <a href="http://www.work-club.com/">WorkClub</a> for art direction.</p>
<p>Anyway, very happy to release an app that people actually use and are happy about.</p>
<p>[UPDATE] Here&#8217;s a <a href="http://www.youtube.com/watch?v=WhZ4SzcB8vg">video demo of the app</a>. [/UPDATE]</p>
<p>And lately we&#8217;ve been releasing quite a few apps at UsTwo:</p>
<p>** <a href="http://tinyurl.com/ylra8cy">Ben 10 MouthOff</a> in partnership with Turner.<br />
** <a href="http://link.ustwo.co.uk/dot">.™</a>, brutally addictive first release of the 48hours app series (watch the <a href="http://8bitfeed.com/2009/10/mills-ustwo-interview/">interview with Mills</a> if you want to know more about the concept).<br />
** <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=306588353&#038;mt=8">Hell-oween MouthOff</a> special.<br />
** And the soon to be released <a href="http://ustwo.tumblr.com/tagged/inkstrumental">inkstrumental</a> in collaboration with <a href="http://www.jonburgerman.com/">Jon Burgerman</a>.</p>
<p>We don&#8217;t stop : )</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zarate.tv/2009/10/15/dads-cab-hits-45k-downloads-mark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Got my Hero!</title>
		<link>http://blog.zarate.tv/2009/08/16/got-my-hero/</link>
		<comments>http://blog.zarate.tv/2009/08/16/got-my-hero/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 14:50:15 +0000</pubDate>
		<dc:creator>Zarate</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://blog.zarate.tv/?p=1192</guid>
		<description><![CDATA[Not this hero, this Hero!
Couldn&#8217;t help myself. One of my workmates bought it so I had the chance to see it in real action. After that, couldn&#8217;t help myself.
I spent some time crunching numbers about what should I do. Buy it unlocked or get a deal with a carrier? If so, contract or pay as [...]]]></description>
			<content:encoded><![CDATA[<p>Not <a href="http://www.youtube.com/watch?v=7f_HsjpSVaI">this hero</a>, <a href="http://www.htc.com/www/product/hero/">this Hero</a>!</p>
<p>Couldn&#8217;t help myself. One of my workmates bought it so I had the chance to see it in real action. After that, couldn&#8217;t help myself.</p>
<p>I spent some time crunching numbers about what should I do. Buy it unlocked or get a deal with a carrier? If so, contract or pay as you go? Which company? I think for the first time in my LIFE I created a spreadsheet. Put nice rows detailing contracts, pay as you go, companies, initial payment, minutes, texts, internet&#8230; Very boring indeed.</p>
<p>I finally decided to buy it unlocked from HTC (well, a <a href="http://www.devicewire.co.uk/">distributor</a>, 390 quid, sent in 2 days) and get a &#8220;Solo 30 days&#8221; contract with T-Mobile. Basically for 20 pounds a month I have more minutes and texts that I can ever use plus 1GB of internet on the phone, which was the important bit. Also this is not a long contract, I can go somewhere else only after 30 days. </p>
<p>It finally came on Friday and I&#8217;ve been playing with it since. Overall impression is that it&#8217;s REALLY good. Interface is second to none. Is fast, slick, responsive&#8230; integration with Google services is almost flawless (little bit scary privacy-wise, to be honest), GPS on Google Maps is really good, you can customize whatever you want, etc.</p>
<p>The things I don&#8217;t like so much are: proprietary mini-USB connector. As <a href="http://blog.zarate.tv/2009/05/07/the-htc-magic-disappointment/">opposed to the Magic</a>, this one has a standard 3.5mm jack but still the USB connector is HTC only. This is so bloody annoying and I hope the <a href="http://online.wsj.com/article/SB124628607855768227.html">EU law to force a standard charger kicks in once and for all</a> (NOTE: the USB port and charger is the same). I also don&#8217;t find very useful the button that opens a search box and takes you to Google straight away. I find difficult to believe that Google has forced HTC to put it there, but who knows. Whatever the reason, to me is a <em>hardware</em> button that I don&#8217;t need and I can&#8217;t remove.</p>
<p>An interesting spin from the Hero is it turns out Linux IS very ready and capable for the GUI/desktop space. So why don&#8217;t we see an interface as polished as the Hero&#8217;s on Linux desktops? Well, when you design for <strong>one and only one device</strong> it&#8217;s so much easier to get it right. Your testing efforts, UI design, drivers&#8230; all of them target and focus a single piece of hardware. And if you get 80-90% of the job done from Google already, you &#8220;only&#8221; need to put the cherry on top.</p>
<p>Android is lowering A LOT the the threshold to become a mobile manufacturer, you only need to put the hardware and testing instead of having to <em>also</em> build the underlying OS. I could be pretty wrong, but I think Android is going to be the base for a ton of devices in the near-ish future.</p>
<p>&#8211;</p>
<p>To wrap up, who said <a href="http://www.google.co.uk/search?q=watered+down+site+for+mobile+devices&#038;ie=utf-8&#038;oe=utf-8&#038;aq=t&#038;rls=com.ubuntu:en-GB:unofficial&#038;client=firefox-a">websites should not offer a &#8220;watered down&#8221; version for mobile devices</a>? Fuck that! I&#8217;m loving the mobile version of these sites:</p>
<ul>
<li><a href="http://mobile.wikipedia.org/">Wikipedia</a></li>
<li><a href="http://bbc.co.uk/mobile">BBC</a></li>
<li><a href="http://m.google.com/reader">Google Reader</a></li>
<li><a href="http://m.marca.com">Marca</a></li>
</ul>
<p>They are the non-fatty versions of their big brothers, load very fast and most of them don&#8217;t even have ads, so you get what you are looking for <em>quickly</em>. And when you are out and about on a not-so-fast mobile connection you really appreciate <strong>succinctness</strong>.  I&#8217;m all up for adding the extra value mobiles could bring to those sites (GPS location, for example, but there&#8217;re privacy issues as well), but please keep the mobile versions, thanks.</p>
<p>PS: Yes, it comes with a Flash Player installed. Which one? I don&#8217;t know. The beta of the Flash player 10 for mobile devices is supposed to come out late this year, and I don&#8217;t think this one plays AVM2 swfs. It <em>does</em> play Flash fullscreen (including YouTube), but I haven&#8217;t run any tests just yet. Will keep you posted if/when I do.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zarate.tv/2009/08/16/got-my-hero/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>KuneriLite ActionScript API</title>
		<link>http://blog.zarate.tv/2009/07/11/kunerilite-actionscript-api/</link>
		<comments>http://blog.zarate.tv/2009/07/11/kunerilite-actionscript-api/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 18:58:29 +0000</pubDate>
		<dc:creator>Zarate</dc:creator>
				<category><![CDATA[as2]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://blog.zarate.tv/?p=1149</guid>
		<description><![CDATA[I&#8217;m building a little app for Nokia S60s that has to talk to the GPS, and we decided to use KuneriLite, the Flash-on-steroids wrapper for mobile devices that cool kids in town use these days. Because of HippoHX now every time I see/use a Flash wrapper can&#8217;t help to compare with it, but I&#8217;ll leave [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m building a little app for Nokia S60s that has to talk to the GPS, and <a href="http://ustwo.co.uk/">we</a> decided to use <a href="http://www.kunerilite.net/">KuneriLite</a>, the Flash-on-steroids wrapper for mobile devices that cool kids in town use these days. Because of <a href="http://hippohx.com/">HippoHX</a> now every time I see/use a Flash wrapper can&#8217;t help to compare with it, but I&#8217;ll leave that for the end of the post.</p>
<p>Setting up Kuneri is a little bit messy. There&#8217;s a nice list of very specific requirements, so my advice if you want to give it a go is:</p>
<p>1) Get Kuneri, install and open the requirements wizard.<br />
2) Install the requirements the wizard tells you about in the same order and the same versions, <strong>use the links they provide</strong>. I specially got problems with S60 SDK because I got a wrong version. With Java I saw the <a href="http://www.dandolachapa.com/2008/05/12/flex-3-sdk-msvcr71dll-not-found/">missing DLL error</a>. </p>
<p>[BTW, to download the S60 SDK you have to register with Nokia, what a nice way to annoy your developers. I'd like to know the % of real data they get. So well done Adobe for not requiring this annoying step to get Flex SDK]</p>
<p>3) Until you can&#8217;t compile the test application, you will not be good to go.</p>
<p>Once you are all set up, you can start using Kuneri. Create a new project, add the plugins you want to use, compile, install and live happy ever after.</p>
<p><strong><em>Where&#8217;s my API dude?</em></strong></p>
<p>It turns out Kuneri is a tiny webserver on the phone, thus you communicate doing http requests and parsing the results you get. Somehow weird, but whatever, I&#8217;ll play along. What I was <strong>really</strong> surprised about is that there&#8217;s no official higher ActionScript API. I mean, if you want to talk to the GPS, the <a href="http://wiki.kunerilite.net/index.php?title=GPS_plugin">documentation</a> tells you to do something like this:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">loadVariables</span><span class="br0">&#40;</span><span class="st0">&quot;http://127.0.0.1:1001/Basic/GPS?klCommand=read&quot;</span>,<span class="st0">&quot;&quot;</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
</div>
<p>loadVariables? Sorry, <em>are you from the past?</em> Apparently they are not, they recommend loadVariables to be compatible with FlashLite 1.1. But because of that you also have to use a MovieClip and an interval to receive the answer from the server. A graphical element to receive the answer from a network call, that&#8217;s good ol&#8217;Flash in all its glory!</p>
<p>The point is KuneriLite doesn&#8217;t provide at the moment a clean ActionScript API to use their plugins, they only document how you should make the requests and what you should expect as their response. No way in hell I&#8217;m going through that so I&#8217;m presenting (drum roll, please):</p>
<p><a href="http://code.google.com/p/kuneri-api/">Kuneri ActionScript API</a></p>
<p>Check it out:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">var</span> gps : GPS = <span class="kw2">new</span> GPS<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">gps.<span class="me1">read</span><span class="br0">&#40;</span>Delegate.<span class="me1">create</span><span class="br0">&#40;</span><span class="kw3">this</span>, handler<span class="br0">&#41;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">function</span> handler<span class="br0">&#40;</span>response : GPSResponse<span class="br0">&#41;</span> : <span class="kw3">Void</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; <span class="kw3">trace</span><span class="br0">&#40;</span>response.<span class="me1">latitude</span> + <span class="st0">&quot;, &quot;</span> + response.<span class="me1">longitude</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
</div>
<p>That&#8217;s much better. Not only you hide all the crap of calling the server, you also get a strictly typed response. Sweet. ATM I&#8217;ve only created the API for the GPS because that&#8217;s what I need now, and also the Camera for the sake of it, really. I&#8217;m not sure if I&#8217;m going complete it and I&#8217;m almost sure I&#8217;m not going to keep up in sync with Kuneri development, so if anyone is interested, please contact me, I&#8217;ll gladly handover the project.</p>
<p>Special thanks to mr <a href="http://www.elecash.org/blog/">Elecash</a> for explaining to me the <em>why-the-hell-they-use-loadVariables</em> mystery and for pointing out <a href="http://forum.kuneri.net/index.php/topic,184.0.html">this nice bug</a> that, thanks to him, nobody else has to suffer. Plus, he&#8217;s always available on IM for my silly FlashLite doubts. Yo! Thanks mate :)</p>
<p><strong><em>Extra ball: KuneriLite vs HippoHX</em></strong></p>
<p>As I said at the beginning, can&#8217;t help but compare Kuneri with HippoHX. Here we go:</p>
<p>- Both are based on somebody else&#8217;s codebase (SWHX and S60 SDK), but because SWHX is Open Source I can redistribute it myself saving the hassle to my final user, something that Kuneri can&#8217;t with Nokia&#8217;s SDK. Another nice side effect is that if a new version of SWHX breaks HippoHX for some reason, I can hold the HippoHX release till I fix the problem.</p>
<p>- HippoHX GUI is only that, a GUI to the CLI packager, so you can integrate it with your compilation scripts. I have the feeling that Kuneri GUI is the same, but haven&#8217;t seen the documentation.</p>
<p>- HippoHX GUI doesn&#8217;t use the installation folder to store its data, it uses user&#8217;s space for that. See <a href="http://stackoverflow.com/questions/57019/where-should-cross-platform-apps-keep-their-data">Where should cross-platform apps keep their data?</a> to know why.</p>
<p>- SWHX and HippoHX are for Win and Mac and Kuneri is Windows only. Might be because of the dependencies, but I&#8217;m not sure.</p>
<p>- I can&#8217;t find a download for the documentation, it seems to be on-line only.</p>
<p>Some of these are bigger deals than others, and I&#8217;m sure the Kuneri team will fix them in the future, but being a commercial app, I feel most of them could/should have been fixed already.</p>
<p>Anyway, will add a link to the OVI store (Nokia&#8217;s copycat of the Apple store) once the app is finished and ready to download. It&#8217;s a little silly app, but, hey, I coded it!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zarate.tv/2009/07/11/kunerilite-actionscript-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
