<?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>mFabrik - mobile sites, apps, HTML5 and CMS software development &#187; nokia</title>
	<atom:link href="http://blog.mfabrik.com/tag/nokia/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mfabrik.com</link>
	<description>Freedom delivered.</description>
	<lastBuildDate>Wed, 03 Aug 2011 09:47:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Thoughts about WP7</title>
		<link>http://blog.mfabrik.com/2011/02/13/thoughts-about-wp7/</link>
		<comments>http://blog.mfabrik.com/2011/02/13/thoughts-about-wp7/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 12:33:07 +0000</pubDate>
		<dc:creator>Jussi Toivola</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[WP7]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wp7]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=960</guid>
		<description><![CDATA[Now that Nokia made sure most of the energy put on Qt goes down the drain, I took a peek at Windows Phone 7 development and I was disappointed. I posted a short comment to Future of Qt blog post and I thought I’ll write a bigger rant to make people more aware of an [...]]]></description>
			<content:encoded><![CDATA[<p>Now that Nokia made sure most of the energy put on Qt goes down the drain, I took a peek at Windows Phone 7 development and I was disappointed.</p>
<p>I posted a short comment to <a href="http://blog.qt.nokia.com/2011/02/12/nokia-new-strategic-direction-what-is-the-future-for-qt/">Future of Qt</a> blog post and I thought I’ll write a bigger rant to make people more aware of an important issue.</p>
<p>The tools for WP7 are probably the best with Visual Studio and GUI editor and what else, I’m pretty sure about that, but the platform itself is disturbing: all code must be C#. You can&#8217;t use C/C++ with WP7. And when there can’t be those, there won’t be CPython nor Lua or any scripting language implemented without C# or .NET managing your code, unless you&#8217;ll find a C# port for it. And if you did, it most likely lacks in features compared to the original. And then there&#8217;s numerous other C/C++ libraries that you can&#8217;t use.</p>
<p>Somebody commented on my post saying this is the reason why the platform will fail and nothing except meaningless apps(fart apps,rss readers etc) will be ported. Apps with long history, existing code base and support for multiple platforms can&#8217;t be pure C#.  And I agree 100%.</p>
<p>Microsoft wants to avoid fragmentation, well that’s good but not with these restrictions. Lack of “unmanaged code”, as native code is called in .NET land, will be causing fragmentation, not the ability to reuse your code. It&#8217;s your code that’s fragmenting so MS doesn&#8217;t care. This is even worse than the Apple&#8217;s ban on scripting languages, which was removed a while ago. They still allowed reusing old C/C++ libraries, like physics engines in your apps.</p>
<p>If WP7 ever gains popularity among major app/game makers, I believe and wish they&#8217;ll make this issue clear to Microsoft as they (I assume) did to Apple. Well, first they need to gain popularity among consumers <img src='http://blog.mfabrik.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Without knowing much about the internal workings of WP7, I don’t see reason to block native libraries. Sure, it’s harder to avoid dll hell with C/C++ as the problem is <a href="http://en.wikipedia.org/wiki/DLL_hell">well known</a> on desktop. But if my app doesn’t use any system libraries but only its own? How many system libraries do you think a physics library might need? How many system libraries does a Lua interpreter need? I can think of one: libc for allocating and freeing memory. All those libraries do is reserve some memory and do some math and give some results back. Sure scripting languages may allow file access etc., but that’s not necessary. I just want to script some logic of the app, not the whole app. Anyhow, I don’t see the point, somebody, please enlighten me. Google &amp; Apple can do this without getting in your way, why not Microsoft?</p>
<p>I have been reading discussions about Nokia-Windows deal, and only fraction seems to think that the whole Nokia-WP7 thing is a good thing. And those who do seem to be&#8230; less informed. The only good thing here is that we are finally getting rid of Symbian, but the price is too high.</p>
<p>So what’s the main reason that I’m worried about: to force people use .NET and me to write only C#. We have now witnessed what happened to people skilled with Symbian C++, the fear that I heard soon after Nokia started using Symbian. So don&#8217;t try to get us stuck with a single way of doing things. Sure there’s monotouch and monodroid to reuse your code on iPhone and Android. Not sure about them though, not free and they add another layer of complexity to your app. Easier to just learn the platform’s own way. I have no trouble using C#, but that’s not the point: I want to reuse my old code and the other libraries out there. Apple is good boy compared to MS.</p>
<p>And my opinion about C#? Nice, but Qt Quick rules. Sadly, now I can only think that it <strong>should</strong> rule. *sigh*&#8230; back to the drawing board.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/02/13/thoughts-about-wp7/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Native mobile application development with Plone, WordPress and Python</title>
		<link>http://blog.mfabrik.com/2011/02/09/native-mobile-application-development-with-plone-wordpress-and-python/</link>
		<comments>http://blog.mfabrik.com/2011/02/09/native-mobile-application-development-with-plone-wordpress-and-python/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 13:59:32 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[android scripting environment]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[google app engine]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[meego]]></category>
		<category><![CDATA[mobile apps]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[push notification]]></category>
		<category><![CDATA[pyobjc]]></category>
		<category><![CDATA[pypy]]></category>
		<category><![CDATA[pyside]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[series 60]]></category>
		<category><![CDATA[symbian]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wurfl]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=937</guid>
		<description><![CDATA[We have just released two mobile applications backed by Plone, WordPress and Python middleware code. In this blog post I&#8217;ll tell some background information what we have learnt with mobile applicationand Python development. mFabrik News &#8211; download now for iPhone and Android Why create a mobile application? The first question is why one rather create [...]]]></description>
			<content:encoded><![CDATA[<p>We have just released two mobile applications backed by Plone, WordPress and Python middleware code. In this blog post I&#8217;ll tell some background information what we have learnt with mobile applicationand Python development.</p>
<p style="text-align: center;"><strong>mFabrik News &#8211; download now for iPhone and Android</strong></p>
<p style="text-align: center;"><a href="http://bit.ly/mfabriknewsitunesblog"><img class="aligncenter" title="iPhoneFooter" src="http://blog.mfabrik.com/wp-content/uploads/2011/01/iPhoneFooter.png" alt="" width="88" height="31" /></a></p>
<p style="text-align: center;"><a href="http://bit.ly/mfabriknewsappbrainblog"><img class="aligncenter" title="AndroidFooter" src="http://blog.mfabrik.com/wp-content/uploads/2011/01/AndroidFooter.png" alt="" width="88" height="31" /></a></p>
<h2>Why create a mobile application?</h2>
<p>The first question is why one rather create a mobile application when the same task can be accomplished with a mobile site? Most people even <a href="http://www.wirelessweek.com/News/2010/10/Mobile-Content-Report-Mobile-Browsers-Trump-Mobile-Applications/">prefer mobile sites over applications</a>. From a pure engineering viewpoint, mobile applications are usually just glorified RSS readers that embed Webkit and add some native user interface bling bling over it. With an app, you are limiting your target audience, because an application is limited to one platform. Maintaining application(s) and application developers is more expensive compared to a mobile site which few (cheap) PHP junkies can throw together.</p>
<p>But is not always technology or price which matters. Mobile applications have prestige value &#8211; <em>having or showing success, rank, wealth, etc.</em> If you have a high quality brand, you probably want to have a mobile application too. When you see the brand logo swinging forth and back in an iPhone application with smooth animation running 60 frames per second, you see that it is a proper placement for the brand logo. The output is more luxury, more carefully planned, and does not look like it was thrown together by few cheap web developers.</p>
<p>There are even rationale reason for going after applications. First, you are in a business of making money. It is a lot of easier when the platform itself is offering you a payment solution without a monthly fees (iTunes payment). Other good reason is that there exists interaction between the application and your content beyond the browser window.  You can push messages or do things even if the user is not on your site (see more information about the push solution we implemented below).</p>
<h2>Mobile application development and Python</h2>
<p>As most of this post readers are probably fellow Python developers, here are some thoughts specifically aimed for them. Python itself is not a very good alternative what comes to mobile application development. Though, the application itself may not contain Python code, Python still shines on the backend side of the things. For example, we&#8217;ll hope to publish an example application using Google App Engine in the near future.</p>
<p>The only future proof platform where Python is 1st class citizen for building applications, is Nokia&#8217;s Meego with its Pyside and Qt bindings. Unfortunately Meego doesn&#8217;t have any shipped handsets and looks like it never will.</p>
<p>Android has script bindings, but they are not good enough for real application development, as interaction with the native platform happens over TCP/IP sockets. However, <a href="http://morepypy.blogspot.com/2011/01/jit-backend-for-arm-processors.html">Android has seen some recent exciting development from PyPy project</a>, possibly enabling native Android development for Python in the future.</p>
<p>iOS with Python could be a go, now when Apple has lift ban on interpreted languages. I haven&#8217;t heard anybody doing it yet, though. <a href="http://www.telesphoreo.org/pipermail/iphone-python/2008-October/000203.html">CTypes had some problems long time ago regarding run-time generated code for Python bindings</a>.</p>
<p>Python has also a port for Series 60 (Symbian) &#8211; don&#8217;t go there if you are not prototyping. It is good platform for students for  playing around, but unfortunately it has never been considered as serious development environment by the handset manufacturer. You have tons of headaches if you actually want to release a product version of your application.  Nokia N900, soon supported. is better prototyping platform for Python than Series 60 as you get full Debian userland.</p>
<h2>Mobile application development and wrappers</h2>
<p><a href="http://blog.mfabrik.com/2009/09/30/cross-platform-mobile-application-development-and-payment/">There exist various wrapper technologies which help you to wrap your HTML5 application to a native application shell</a>. With simplistic APIs provided through Javascript bindings, you can access a limited subset of native platform APIs. Wrapper technologies are mostly aimed for web developers, who do not have any experience on application development and they might want to skip the learn experience of native development.</p>
<p>Wrapper technologies do their job and produce decent apps. But if you are a Python developer I recommend you skip the wrapper step and build your own native user interface and embed Webkit yourself. Designing an user interface is much is easier with Apple&#8217;s Interface Builder or Google&#8217;s  Android tools than with half-baked Javascript bindings. The fact that you are actually able to insert a real breakpoint into your code is itself worth of skipping wrappers. If you already are a Python developer you already know at least one real programming language and mastering Objective-C or Java should be an easy task for you.</p>
<p>Webkit itself has bugs. You will regularly hit obscrure bugs when the amount of  Javascript and CSS code grows. In the worst cases Webkit just dies under your application without a way to debug the problem &#8211; sometimes without a workaround available for the problem. This means dead end for your lovely application. You don&#8217;t want to end up to this situation. So, just to have more low level control, using native tools is good.</p>
<h2>mFabrik News application</h2>
<p><a href="http://blog.mfabrik.com/wp-content/uploads/2011/02/news-both.png"><img class="alignnone size-full wp-image-954" title="news both" src="http://blog.mfabrik.com/wp-content/uploads/2011/02/news-both.png" alt="" width="700" height="500" /></a></p>
<p>mFabrik News mobile application allows you to follow the latest news of mobile and web development, produced by our hacking team. The applications source the news from our Plone based web site and WordPress blog (which you are currently reading). It uses special RSS streams prepared with our <a href="http://webandmobile.mfabrik.com">Web and Mobile multichannel publishing solution</a>: news images are optimized for mobile device screens using a handset database (Wurfl) and some other HTML preproessing is done to make the posts look better in embedded WebKit. Processing is done using <a href="http://pypi.python.org/pypi/mobile.sniffer">mobile.sniffer</a> and <a href="http://pypi.python.org/pypi/mobile.htmlprocessing">mobile.htmlprocessing</a> Python packages which are generic Python packages and should be usable in various environments, including App Engine.</p>
<p>iOS mFabrik News application has push notification support. Android doesn&#8217;t yet implement push solution, <a href="http://android-developers.blogspot.com/2010/05/android-cloud-to-device-messaging.html">but it is coming for Android 2.2 handsets</a>.  Please <a href="http://blog.mfabrik.com/2011/01/29/apple-push-notifications-apn-with-python/">see the earlier blog post how we use Apple Push Notifications with Python</a>.</p>
<p>Download, give the apps a spin and report any feedback! (direct links at the beginning of the post)</p>
<p>We may or may not release the source code of the applications, depending if anybody thinks they actually would find it useful.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/02/09/native-mobile-application-development-with-plone-wordpress-and-python/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Why people hate Adobe (and have now headache with sports-tracker.com)?</title>
		<link>http://blog.mfabrik.com/2010/08/21/why-people-hate-adobe-and-have-headache-now-with-sports-tracker-com/</link>
		<comments>http://blog.mfabrik.com/2010/08/21/why-people-hate-adobe-and-have-headache-now-with-sports-tracker-com/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 11:35:08 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[series 60]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[run-time]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[sports tracker]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=673</guid>
		<description><![CDATA[sportstracker.nokia.com was a GPS based sports tracking service for Nokia phones. Around a year ago it spun off as independent company, which was a good move if you really want to develop your service business. Now sports-tracker.com has launched a new website. You can upload your runs and photos there and share your sports results [...]]]></description>
			<content:encoded><![CDATA[<p>sportstracker.nokia.com was a GPS based sports tracking service for Nokia phones. Around a year ago it spun off as independent company, which was a good move if you really want to develop your service business. Now sports-tracker.com has launched a new website. You can upload your runs and photos there and share your sports results through social media.</p>
<p>It was delightful to see the new site opened and having the features been missing so long time ago. However, I was not totally happy with what I saw.</p>
<p><a href="http://blog.mfabrik.com/wp-content/uploads/2010/08/Screen-shot-2010-08-21-at-1.32.14-PM.png"><img class="alignnone size-full wp-image-674" title="Screen shot 2010-08-21 at 1.32.14 PM" src="http://blog.mfabrik.com/wp-content/uploads/2010/08/Screen-shot-2010-08-21-at-1.32.14-PM.png" alt="" width="867" height="552" /></a></p>
<p>The <strong>whole</strong> new site is built on top of Adobe Flash run-time technologies. There are no traditional web pages per se.</p>
<p>The problem is that full page Flash is resource hog. In the picture above you see that opening this web site in my Safari web browser spikes CPU to 100% usage &#8211; and it actually stays there indefinitely (note: on front page, see remarks below). This means that my computer is working to barely survive under the stress caused by this one web site &#8211; and my computer is powerful iMac. This means that if I have this site open background in my web browser my laptop battery would die very very fast. This means that all programs I try to simultaneously use on my computer become sluggish.</p>
<p>I assume that when sports-tracker.com was spun off from Nokia they contracted some digital advertisiment agency to built the new site for them. Digital advertisement agencies are often, not always, companies focused on the brand and visual appearance. They love to work with Flash because it gives good authoring tools to build nice looking, bling bling filled, animations.  Flash is a great tool for animations. Flash is a great tool for building browser based games. However, it is not good for building the whole web site where the user experience criteria could include 1) the site actually to responds to clicks 2) the site does not bring down to the whole computer. The decision makers probably drink cool-aid &#8220;hey let&#8217;s built the site with the Adobe&#8217;s latest tools &#8211; have you seen the demos how coooooool they look like&#8221;.</p>
<p>The thing is, I want to just see my sports tracking results. I don&#8217;t care whether the diagrams have blurred drop shadows with state of the art Web 3.0 mouse over effects. Now I can enjoy the effects, points for the artistic leader for that, but doing the actual task, accessing my sports results, have become irritating task to do. Things respond sloooow &#8211; that&#8217;s the main reason. In-flash scrolls bars have noticeable lag.</p>
<p>There exists an <a href="http://en.wikipedia.org/wiki/Uncanny_valley">uncanny valley</a> how normal web sites behave and how 100% Flash site behave. My right click does not work. I cannot right click a link and open it in new tab. I cannot right click a link to copy it to my friend. I cannot access the site on my N900 web browser (which even has Flash). I coudn&#8217;t even send feedback to sports-tracker.com team without first installing a desktop email client, as the email address cannot be copied from Flash to web mail. Text boxes are little different.</p>
<p>I cannot hold my horses to see Adobe conquering mobile phones with Flash and doing the same thing for mobile browsing experience it has now done for sports-tracker.com.</p>
<p>The site is not bad. Usability guidelines have been followed carefully when building the site. The developers seem to have gone into great details to make the operations smooth as possible. For example, <a href="http://www.whatwg.org/specs/web-apps/current-work/#scroll-to-fragid">URL fragment identifies </a>are used to make sure bookmarking works even though Flash is present on the site. Social media features, not present in old sport tracker, are finally there. The results of design decision to built the whole site on Flash, instead of using Flash for some components only, might not have been seen by the time this decision was taken.</p>
<p>When Nokia Sports Tracker was first introduced 3-4 years ago with the first Series 60 GPS phones it was ahead of the competition. Wow effect had no limits &#8211; can you <em>really</em> do that with your mobile phone &#8211; in real-time and live?</p>
<p>It is funny how time passes.</p>
<p>It is <a href="http://www.mapmytracks.com">definitely possible to build a sports tracking site</a>, which looks cool, but does not have issues mentioned here.</p>
<p>Note: With little more research it seems that CPU usage stays 100% is specific to front page only and it has issues of not winding down action when you move away from your browser. However, rendering of other pages still uses vast amount of CPU, causing lag you do not see when opening web pages. The background CPU consumption on sports-tracker.com page is aroud 8% per tab when should be 0%.</p>
<p>Note 2: I am using the latest 10.1  Flash Player.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/08/21/why-people-hate-adobe-and-have-headache-now-with-sports-tracker-com/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Python 2.3, Python for Series 60 1.4.5 still in use&#8230; and insight into Symbian deployment process and user experience</title>
		<link>http://blog.mfabrik.com/2010/08/18/python-2-3-python-for-series-60-1-4-5-still-in-use-and-insight-into-symbian-deployment-process-and-user-experience/</link>
		<comments>http://blog.mfabrik.com/2010/08/18/python-2-3-python-for-series-60-1-4-5-still-in-use-and-insight-into-symbian-deployment-process-and-user-experience/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 20:36:46 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[nokia]]></category>
		<category><![CDATA[pys60]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[series 60]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[dll]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[pyside]]></category>
		<category><![CDATA[sis]]></category>
		<category><![CDATA[smart installer]]></category>
		<category><![CDATA[static]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=660</guid>
		<description><![CDATA[Nokia&#8217;s Python for Series 60 has a long history. It is a Python interpreter, originally escaped from Nokia prototype labs, running in your phone. It is said to been awesome to show mobile/embedded developers, who were love with their static C compilers and 4 hours built times, opening a Python prompt in your phone and [...]]]></description>
			<content:encoded><![CDATA[<p>Nokia&#8217;s Python for Series 60 has a long history. It is a Python interpreter, originally escaped from Nokia prototype labs, running in your phone. It is said to been awesome to show mobile/embedded developers, who were love with their static C compilers and 4 hours built times, opening a Python prompt in your phone and typing <em>import audio; audio.say(&#8220;your phone loves Python&#8221;) </em>by keypad (Nokia Series 60 phones come with a speech synthetizer). Python for Series 60 is the best tool of building a simple proof of concept mobile applications. The lack of speed, lack of good UI libraries and difficult deployment problems makes it challenging to use it in production grade environments.</p>
<p>PyS60 has also a history of staying in archaid Python version &#8211; namely Python 2.3. It was not until this February when stable PyS60 2.0.0 with Python 2.5 was released (1.9.x was considered experimental according to the release notes). Luckily looks like new winds are blowing (Qt acquisition, Meego/Maemo) and Python is getting higher priority. For example, <a href="http://www.pyside.org/">PySide</a> Qt bindings is very high profile project. Based on this, we hope to expect Python to the first class citizen in the future Meego and Symbian devices.</p>
<p>My company had a little side venture with <a href="http://blog.mfabrik.com/2008/09/01/introducing-python-for-series-60-community-edition/">PyS60 Community Edition</a> when we were still betting that Symbian and Python would rock the world &#8211; the era before iPhone changed the game.  PyS60 community edition was effectively a revamped PyS60 1.4.x with Python 2.3 toolchain which actually made PyS60 application production deployment <em>possible</em>. Possible&#8230;? -you ask. Madness&#8230; no. It is Symbian. It is certification and signing and<a href="http://www.newlc.com/en/Why-the-fuck-won-t-my-SIS-file.html"> obscure error messages</a>. Basically vanilla PyS60 is being shipped as an external SIS (Symbian package format) and Symbian platform security makes it impossible to deploy two production signed applications using vanilla PyS60 on the same device. The only cure was statically building Python for both apps from the scratch, which is exactly what PyS60 Community Edition was doing.</p>
<p>But this all was long long time ago. Aeons in mobile time. So I was today surprised when I got email from a person (David) using PyS60 Community Edition. We never upgraded PyS60 Community Edition to Python 2.5 . In fact we haven&#8217;t touched the project about two years. David was effectively using Python 2.3 and asked questions about the tool chain internals.</p>
<p>My first answer was a question <em>Why on Earth you are still using Python 2.3</em>? I thought maybe the guy had somehow missed the last two years or was a stuck with an old phone.</p>
<p>However&#8230; this was not the case and the answer was very insigtful.</p>
<p><em>Yes, I&#8217;m aware of PyS60 2.0.0, but I prefer PythonCommunity, at least for the moment: no OpenC neither Platform Services dependencies; smaller .SIS size and memory footprint. I think that the final .SIS produced with PythonCommunity, with everything necessary to run contained in it and with a clean installation without multiple dependencies, is a better fit for a mass-market than the files produced by PyS60 2.0.0, above all taking into account that people don&#8217;t know what S60 or Symbian are. </em></p>
<p><em>Also, the runtime deployment on the new PyS60 isn&#8217;t automatic for S60_3rd and S60_FP1 devices, so in the worst case scenario, users may end having to learn to install the different files (pips.sis, ssl.sis, stdioserver.sis, Python_2.0.0.sis, PythonScriptShell_2.0.0.sis) in the correct order, which is a big no-no for a mass-market deployment.</em></p>
<p>So&#8230;. I hope someone in Nokia is reading this blog entry carefully. Do it like Apple does. <strong>Make your application deployment static.</strong> Make OpenC static. Make every freaking library which is not shipped with the device statically buildable. It should be possible now when everything is open source. It will consume precious device RAM, but at least it will make mass market application development possible. SIS hell is worse hell than deb hell, or DLL hell, as the end user cannot fix it due to device security.</p>
<p>In the related news <a href="http://wl4.peer360.com/b/KYm12M46kGV2H2UO89lZ/main.asp?hl=80257660">SIS smart installer was announced few weeks ago.</a> Personally I wouldn&#8217;t bet it can deal with all the problems of versioning and Symbian platform security. <a href="http://discussion.forum.nokia.com/forum/forumdisplay.php?235-Nokia-Smart-Installer-for-Symbian">Forum reports aren&#8217;t promising</a> and looks like very Symbianish user experience can be expected. In positive light, it seems that Python is <a href="http://discussion.forum.nokia.com/forum/showthread.php?205584-Please-add-Python-runtime-to-dependencies-supported-by-Smart-Installer">being considered for this process</a>.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/08/18/python-2-3-python-for-series-60-1-4-5-still-in-use-and-insight-into-symbian-deployment-process-and-user-experience/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Peek-a-boo &#8211; Python logo spotted in outdoor advertisement!</title>
		<link>http://blog.mfabrik.com/2010/08/17/peek-a-boo-python-logo-spotted-in-outdoor-advertisement/</link>
		<comments>http://blog.mfabrik.com/2010/08/17/peek-a-boo-python-logo-spotted-in-outdoor-advertisement/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 19:29:46 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[plone]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[series 60]]></category>
		<category><![CDATA[symbian]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[advertisemetn]]></category>
		<category><![CDATA[logo]]></category>
		<category><![CDATA[mini]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[nokia n97]]></category>
		<category><![CDATA[python for series 60]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[sports tracker]]></category>
		<category><![CDATA[veikkaus]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=636</guid>
		<description><![CDATA[This caught my eye when coming home from the work. The finger points straight to the snake&#8230; Kudos to Nokia for this. Nokia&#8217;s phones are the best platform if you wish to have pleasant rapid mobile application development in Python &#8211; just stay away from Symbian and Series 40 models. Get developers  Subscribe mFabrik blog [...]]]></description>
			<content:encoded><![CDATA[<p>This caught my eye when coming home from the work.</p>
<p><a href="http://picasaweb.google.com/miohtama/PythonInAds#5506452409414984274"><img src="http://lh3.ggpht.com/_k6ZWjTOvMXw/TGrZSrvGIlI/AAAAAAAAAqM/6XDS9Qtmls4/s512/20100817_002.jpg" /></a></p>
<p>The finger points straight to the snake&#8230;</p>
<p><a href="http://picasaweb.google.com/miohtama/PythonInAds#5506452396396761234"><img src="http://lh5.ggpht.com/_k6ZWjTOvMXw/TGrZR7PT0JI/AAAAAAAAAqA/CrdvJnFQ3bc/s512/20100817_001.jpg" />
</p>
<p>
<img src="http://lh4.ggpht.com/_k6ZWjTOvMXw/TGraYVW0ZMI/AAAAAAAAAqc/X9AwQwGEL9Y/s512/python_logo.jpg" />
</p>
<p>
Kudos to Nokia for this. Nokia&#8217;s phones are the best platform if you wish to have pleasant rapid mobile application development in Python &#8211; just stay away from  Symbian and Series 40 models.
</p>
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/08/17/peek-a-boo-python-logo-spotted-in-outdoor-advertisement/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Developing and distributing QT applications for Nokia&#8230; not yet!</title>
		<link>http://blog.mfabrik.com/2010/05/04/developing-and-distributing-qt-applications-for-nokia-not-yet/</link>
		<comments>http://blog.mfabrik.com/2010/05/04/developing-and-distributing-qt-applications-for-nokia-not-yet/#comments</comments>
		<pubDate>Tue, 04 May 2010 08:37:54 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[app store]]></category>
		<category><![CDATA[n8]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[ovi store]]></category>
		<category><![CDATA[pr1.2]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=531</guid>
		<description><![CDATA[This information was posted to Phonegap Google groups also. Next N900 release (PR1.2) will include QT 4 in the default install. It has been delayed due to various problems observed in the leaked beta. Also, N8  will be the first device supporting Qt out of the box. It is not shipping yet. Nokia Qt SDK [...]]]></description>
			<content:encoded><![CDATA[<p>This information was posted to Phonegap Google groups also.</p>
<p>Next N900 release (PR1.2) will include QT 4 in the default install. It has been delayed due to various problems observed in the leaked beta.</p>
<p>Also, N8  will be the first device supporting Qt out of the box. It is not shipping yet.</p>
<p>Nokia Qt SDK should allow unified Qt apps for Symbian and Meego:</p>
<ul>
<li><a rel="nofollow" href="http://www.google.com/url?sa=D&amp;q=http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Nokia_Qt_SDK/&amp;usg=AFQjCNFZK2PRjTP5cSrXIxO7ZwfGCVJjXg" target="_blank">http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Nokia_Qt_SDK/</a></li>
<li><a rel="nofollow" href="http://www.google.com/url?sa=D&amp;q=http://conversations.nokia.com/2010/04/27/nokia-rolls-out-qt-sdk-for-unified-mobile-developer-experience/&amp;usg=AFQjCNHM301QWQl8F6GBUVnc_0rJdBhHog" target="_blank">http://conversations.nokia.com/2010/04/27/nokia-rolls-out-qt-sdk-for-&#8230;</a></li>
</ul>
<p>It is not yet possible to deploy Qt apps through OVI store, so targeting third party apps to Nokia Qt is kind of pointless. If you need to develop to Nokia using a web framework, don&#8217;t rely on native QT Webkit, but target to Nokia WRT  instead.</p>
<p>Nokia bought Qt in January 2008. It has taken over two years to ship the first Qt enabled mobile phone. Meanwhile, Apple has released App Store and risen to be the leading smartphone provider with its iPhone&#8230;. talk about slow development and the lack of leadership. So the hype around &#8220;QT will solve everything&#8221; is still just hype&#8230; they still don&#8217;t have nothing solid out there.
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/05/04/developing-and-distributing-qt-applications-for-nokia-not-yet/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mobile browser wars: Nokia microB vs. Firefox Fennec</title>
		<link>http://blog.mfabrik.com/2010/01/02/mobile-browser-wars-nokia-microb-vs-firefox-fennec/</link>
		<comments>http://blog.mfabrik.com/2010/01/02/mobile-browser-wars-nokia-microb-vs-firefox-fennec/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 15:28:37 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[browser]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[fennec]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[microb]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[xul]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=393</guid>
		<description><![CDATA[Begun, this mobile browser war, has. When mobile internet is growing 8x faster than desktop internet everyone wants to have a share of it. In the core of this fight is the mobile browser &#8211; the doorway to the mobile internet. Usually phone comes with a browser from the phone manufacturer: Safari ships with iPhone, [...]]]></description>
			<content:encoded><![CDATA[<p>Begun, this mobile browser war, has. When <a href="http://startupmeme.com/mobile-internet-growing-8-times-faster-than-the-pc-internet/">mobile internet is growing 8x faster </a>than desktop internet everyone wants to have a share of it. In the core of this fight is the mobile browser &#8211; the doorway to the mobile internet.</p>
<p>Usually phone comes with a browser from the phone manufacturer: Safari ships with iPhone, Android ships with WebKit based browser and Maemo comes with Nokia <a href="http://en.wikipedia.org/wiki/MicroB">microB</a>. Besides the default browser, open platforms have seen third party browsers created for them: <a href="http://www.opera.com/press/releases/2009/09/24/">Opera Mini has 30 million users </a>and several browsers have been created for Symbian platforms. (Note that iPhone is not really open platform regarding this as Apple developer terms specifically forbid creating alternative  browser engines for their Safari &#8211; all iPhone &#8220;browsers&#8221; are just the same Safari with new toppings).</p>
<p>Now Mozilla foundation is releasing Firefox <a href="https://wiki.mozilla.org/fennec">Fennec</a> (<a href="http://blog.pavlov.net/2009/12/31/firefox-for-maemo-rc1/">RC1 version is available  for Nokia N900</a>), touted as the most innovative mobile browser this far. New user interface ideas, desktop syncronization and vibrant add-on community are something yet to be seen for mobile browsers. Mozilla did an amazing thing with Firefox when it actually managed to push Internet experience forward and compete against Microsoft&#8217;s bundled Internet Explorer with sheer quality. Can Mozilla repeat the same thing it did for desktop browsing for mobile browsing too?</p>
<p>Is Fennec good? I installed the release candidate and conducted some tests by visiting on popular sites. It is especially fruitful to compare Fennec against Nokia&#8217;s own microB browser as they both are based on the same Gecko rendering engine beneath the hood.</p>
<p>The differences of the browsers are, actually surprisingly, not limited to branding and user interface shell. Fennec is portable browser &#8211; Mozilla hopes to run Fennec on other mobile platforms beside Maemo in the future. Fennec user interface is based on Mozilla&#8217;s XUL library and you can actually run Fennec on your desktop computer too. Nokia&#8217;s interest, on the other hand, is have an optimized browser for their own mobile phones: microB user interface is using native Maemo user interface components.</p>
<p>Below are some aspects of the browsers compared against each other.</p>
<h2>Start up time</h2>
<ul>
<li>microB: instant</li>
<li>Fennec: About ten seconds (warm start-up is little bit faster, but it is still slooooow&#8230;.)</li>
</ul>
<p>This is a pain for Fennec. Loading all that XUL Javascript  needed to run Fennec is just too much. You really don&#8217;t want to start Fennec for a quick browsing session, unless you have the patience of a cow. I am not sure whether N900 keeps microB loaded on the background all the time or what&#8217;s causing the difference.</p>
<h2>User interface</h2>
<p>This is really where Fennec shines. Nokia enjoys some reputation of being a boring engineer house with little innovation left to stir. After learning the trick of left and right sweep, which is cleverly demostrated on the start page, Fennec user interface instantly feels intuitive. microB, on the other hand, uses somehow clumsy &#8220;bottom right corner full-screen button&#8221; to access buttons and left-right sweep is not very well thought. For example, switching a tab/browser window takes three &#8220;clicks&#8221; on microB (show menu &#8211; switch application &#8211; choose next browser window) when Fennec does it with one sweep and click. Also, backward navigation is much more intuitive on Fennec and takes too many gestures on microB.</p>
<p>Both browsers have search integrated to the navigation bar. Fennec start screen is more clever, showing the history and shortcuts, while microB shows only the bookmarks.  Fennec navigation bar also is a combination of title and navigation bar, saving the precious screen estate on small physical form factor. Fennec zooms to text fields automatically when you start to input text into them and also have soft &#8220;tab keys&#8221; to navigate to next and previous input field.</p>
<h2>Page reading and speed</h2>
<p>On sites with above average layout complexity, Fennec is unbearable slow compared to microB, up to the point the browser is next to unusable in its current incarnation. As they both use the same rendering engine, I have hard time to understand how microB manages even the heaviest dynamic pages (Facebook profile page) when Fennec becomes unusable even on a moderate complex page (slashdot.org).</p>
<p>The thing with Fennec is that for some of the the time it does not register your interaction and does not have any indicator showing if it is responding &#8211; it has grinded to halt, little bit like desktop computer when swapping.  And even when Fennec is responding the scrolling of the page refreshment is sluggish compared to microB. This makes the page reading experience unusable. A normal user won&#8217;t stand 1-3 second frequent responsivity pauses or page movement which cannot be controlled.</p>
<p>microB must do the rendering somehow different  - is it hardware acceleration on font rendering, smarter management of images or some other trick?. However, until Fennec reaches the smoothiness of microB, there is no way I would switch to Fennec over microB.</p>
<p>(Note: You can press CTRL-Backspace from N900 keyboard to force application switch if you cannot exit from halted Fennec otherwise)</p>
<h2>Mobile browsing</h2>
<p>Though N900 has 800 pixel wide screen, it is still a mobile phone. Small physical size, low bandwidth with high latency and  limited CPU power might make you to pick a mobile internet version of the site when it is available. However, since the screen has exceptional high Dots-Per-Inch value, this poses a problem for rendering sites with the default font sizes.</p>
<p>Fennec does not seem to have a shortcut for setting a large text size. This is something one would hope to see on such high DPI device as the most of the time default web site fonts are too small to be usable. Also, Fennec does not use the shoulder plus and minus volume buttons for zooming &#8211; microB does it and it is very natural place for this function.</p>
<p>Fennec seems to have some difficulties with mobile site rendering: for example touch.facebook.com and yle.mobi are not scaled to full width. Instead a narrow colum of 1/3 screen width is displayed.</p>
<h2>Bugginess</h2>
<p>microB is very solid piece of software. It crashes more rarely than Safari on iPhone (might this be because of more memory &#8211; low memory conditions seem to be a normal crashing condition for Safari?).  Fennec is still in its first version and have some issues.</p>
<p>(Note: I managed to get Fennec to zombie state &#8211; I had to go to terminal and type <em>killall fennec</em> command to make the browser become launchable again).</p>
<h2>Sites tested</h2>
<p><strong>Slashdot.org</strong></p>
<p>Geek discussion site</p>
<p>microB: no problems</p>
<p>Fennec: slow, frequent pauses, not smooth scrolling</p>
<p><strong>slashdot.org/palm</strong></p>
<p>Very simple mobile version of the above.</p>
<p>microB:  Font too small</p>
<p>Fennec: Scales correctly</p>
<p><strong>Facebook.com</strong></p>
<p>High profile social networking site</p>
<p>microB: Sometimes little slow, but seems to work perfectly</p>
<p>Fennec: Unusable slow</p>
<p><strong>touch.facebook.com</strong></p>
<p>microB: Perfect (at least when scaling font up a little)</p>
<p>Fennec: Does not scale correctly (default scale uses only 1/3 of screen width, double click zooming scales too much)</p>
<p><strong> yle.fi</strong></p>
<p>Finnish national broadcasting company site</p>
<p>microB: Ok. Readable and usable with text size large.</p>
<p>Fennec: Ok. The default view is navigable, but not readable. You need to double-click zoom to read the text (Fennec doesn&#8217;t seem to have text size large option)-</p>
<p><strong>yle.mobi</strong></p>
<p>The mobile version of above.</p>
<p>microB: Perfect with text size large, ok otherwise (need to double click to zoom and then click to choose a link to follow).</p>
<p>Fennec: Ok &#8211; font size too small</p>
<p><strong>GMail HTML version</strong></p>
<p>The default Javascript version of GMail is too heavy for both the browsers. GMail still provides &#8220;Basic HTML&#8221; view as the fallback for devices with less CPU power and network bandwidth.</p>
<p>microB: Ok &#8211; you can do some basic emailing</p>
<p>Fennec:  Ok. Does not seem to be affected by as much of &#8220;slugginess&#8221; as other sites are (might the slugginess be a Javascript issue?)</p>
<p><strong>Youtube.com</strong></p>
<p>The web version of flash based video sharing site.</p>
<p>microB: Plays Flash movies ok &#8211; smooth scrolling even whilst a Flash movie is playing</p>
<p>Fennec: Frequent grinds to halt, sluggish, unusable. Manages to open Flash video, though.</p>
<p><strong>m.google.com/youtube</strong></p>
<p>The mobile version of above.</p>
<p>microB: Youtube claims the browser is unsuppoted</p>
<p>Fennec: Cannot enter the site &#8211; shows only the page of Youtube Mobile instructions</p>
<p><strong>twitter.com  (web site)</strong></p>
<p>microB: Perfect</p>
<p>Fennec: Ok. Sluggish when opening new pages, but still usable. Fennec start view ships with Twitter button, so one might assume this site is well tested for Fennec.</p>
<p><strong>m.twitter.com</strong></p>
<p>The mobile site of above.</p>
<p>microB: Ok &#8211; the default font size too small, but when settings text size large works well</p>
<p>Fennec: Ok &#8211; the default font size too small. Double click zoom does not work well on the twit feed, making reading difficult.</p>
<p><strong>plone.org</strong></p>
<p>A community site with relatively simple layout.</p>
<p>microB: Ok &#8211; minor rendering errors</p>
<p>Fennec: Ok &#8211; minor rendering errors</p>
<p><strong>iltalehti.fi</strong></p>
<p>Finnish tabloid web site with lots of images.</p>
<p>microB:  Ok</p>
<p>Fennec: Grinds to halt, unusable slow<strong> </strong></p>
<h2>Summary</h2>
<p>Though having nice promise of innovation, the advise for Fennec development team would be &#8220;back to the basics&#8221;. The slugginess and response times of Fennec are such an issue that one would not yet consider it as an real alternative for Nokia&#8217;s default microB browser.</p>
<p>With Fennec&#8217;s user interface and microB&#8217;s speed one could have a near perfect mobile browser. Depending what kind of future co-operation Nokia and Mozilla foundation will have, we might live to see it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2010/01/02/mobile-browser-wars-nokia-microb-vs-firefox-fennec/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cross-platform mobile application development and payments</title>
		<link>http://blog.mfabrik.com/2009/09/30/cross-platform-mobile-application-development-and-payment/</link>
		<comments>http://blog.mfabrik.com/2009/09/30/cross-platform-mobile-application-development-and-payment/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 09:55:30 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[locationing]]></category>
		<category><![CDATA[payment]]></category>
		<category><![CDATA[series 60]]></category>
		<category><![CDATA[symbian]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[appaccelerator]]></category>
		<category><![CDATA[appstore]]></category>
		<category><![CDATA[bango]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[deviceatlas]]></category>
		<category><![CDATA[fennec]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[pre]]></category>
		<category><![CDATA[rhomobile]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[titanium]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[web run-time]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=277</guid>
		<description><![CDATA[We have been piloting multi-platform mobile application development and payments in few client projects. Target platforms usually include iPhone, Android, Blackberry and Nokia Series 60. Also there are two notable usual cases which need to be specially handled Image uploads Payments for subscribed content Sounds easy, right? Well it isn&#8217;t&#8230; Below are some notes for [...]]]></description>
			<content:encoded><![CDATA[<p>We have been piloting multi-platform mobile application development and payments in few client projects. Target platforms usually include iPhone, Android, Blackberry and Nokia Series 60. Also there are two notable usual cases which need to be specially handled</p>
<ul>
<li>Image uploads</li>
<li>Payments for subscribed content</li>
</ul>
<p>Sounds easy, right? Well it isn&#8217;t&#8230; Below are some notes for our due diligence work which you fellow developers might find interesting.</p>
<h2>SDKs</h2>
<p>Mobile phone vendors are jealously and don&#8217;t want to co-operate with each other. Building application which works in all handsets is major headache.</p>
<p>We found some reasonable candidates for cross-platform mobile development doing HTML and Javascript. HTML and Javascript pages are converted to native application using a wrapper technology (a.k.a. appaccelerator). Doing Flash Lite or Java ME can be pretty much forgotten nowadays as they won&#8217;t run on the most hyped platform, iPhone. Flash Lite has poor support for anything except content authoring due to primitive and limited APIs. Java ME provides horrible user experience.</p>
<p>(X)HTML is the only common language spoken by mobile phones. Thus, there has been a rise of &#8220;appaccelerators&#8221;, technologies which allow to create mobile applications with HTML(5) and Javascript.</p>
<ul>
<li><a href="http://www.phonegap.com/">Phonegap:</a> iPhone, Android, Blackberry and possibly S60 in the future. <strong>Pluses:</strong> BSD license, very active community. <strong>Minuses:</strong> <a href="http://groups.google.com/group/phonegap/browse_thread/thread/5760d86c91970441/f0305e400b362933#f0305e400b362933">bad documentation, difficult deployment process</a>.</li>
<li><a href="http://www.appcelerator.com/">Titanium</a>: iPhone, Android.<strong> Pluses: </strong>Professional, Apache license. <strong>Minuses:</strong> Too tightly coupled with Appacclerator Inc. company.</li>
<li><a href="http://www.rhomobile.com/">Rhomobile</a>: iPhone, Android, Blackberry, S60, Windows Mobile. <strong>Pluses:</strong> Professional, tries to build open source community, the widest platform support. <strong>Minuses:</strong> Dual licensing and tightly coupled with Rhomobile Inc.</li>
<li><a href="http://www.forum.nokia.com/Technology_Topics/Web_Technologies/Web_Runtime/">Nokia Web-runtime</a>: Nokia S60 and some other Symbian based phones. <strong>Pluses: </strong>Professional, good documentation. <strong>Minuses: </strong>Not open source, impossible to extend, Nokia has little interest to make this cross-platform, Nokia doesn&#8217;t like updating old models and web-runtime is useable only in the latest S60 5th edition models.</li>
<li>Palm Pre supports web applications natively. However Palm Pre application business is still taking a shape.</li>
</ul>
<p>All these wrap the browser component (WebKit) and provide some extra Javascript APIs when your web pages as executed under the application mode.</p>
<ul>
<li>Locationing</li>
<li>Contacts</li>
<li>SMS</li>
<li>Client-side database</li>
<li>and so on&#8230;</li>
</ul>
<p>Rhomobile has little different use cases  from the rest of the bunch as it provides client-side programming using Ruby and less focuses on Javascript/web applications.</p>
<h2>Payments and in-application purchases</h2>
<p>There are four major way to do mobile payments &#8220;inside&#8221; the application for bought content and subscriptions. The price tag on the application itself is left out on this discussion as the application stores themselves take care of it.</p>
<ul>
<li>Credit card</li>
<li>SMS</li>
<li>App Store payment (thus far Apple only)</li>
<li>Direct operator payments &#8211; you have a service provider (Bango) which can directly charge items to the operator phone bill based on handset identification.</li>
</ul>
<p>App Store payment is the most attractive as it provides the best end user experience.  It allows you to use App Store payment mechanism inside the application. It is safe and no need to hassle with external payment providers. However, App Store payment can be used only for content consumed directly inside the application. You cannot use it e.g. for ordering a pizza. I think this might be related to recent EU legislation forbidding SMS payments for services not consumed in the phone itself.</p>
<p>SMS payment is ok for little payments. Operators take big cut of the revenue, generally 30% &#8211; 70% depending on the country. Short code fees usually start from 500€ set-up fee + 500€ / month. SMS cannot be often send as a background, but the user is presented the normal SMS editor which reduces the user experience somehow.</p>
<p>For credit card payments there exists several providers. Credit card has the cheapest entry fees, but the downside is that the user needs to have the credit card. This excludes teenager audience.</p>
<p>Direct operator payments are not very well supported yet globally. Most western operators support them. The operator also takes a big share and the fixed fee is pretty high.</p>
<p>My favorite payment provider thus far is<a href="http://www.bango.com"> Bango</a> which provides credit card payment starting 9€ / mo. and scales up to worldwide SMS payments which cost few grannies per month.</p>
<p>In most cases, the payment experience will not be smooth. You need to open the phone main browser on the payment provider page to do the payment. This usually will close your own application. Rarely you can do the payment inside the application <em>and</em> support multiple platforms. After doing the payment most platforms allow you to close the browse and reopen your application using a special URL handler.</p>
<p><a href="http://en.wikipedia.org/wiki/Mobile_payment">Wikipedia mobile payments</a> page is also useful.</p>
<h2>Image upload</h2>
<p>&lt;input type=&#8221;file&#8221;&gt; won&#8217;t work on iPhone and some other platforms  as those don&#8217;t have user browsable file system. Also the file dialog usually doens&#8217;t have image preview making it useless.</p>
<p>Phonegap has a branch which supports images picking using iPhone&#8217;s own gallery browser.</p>
<p>In any case, there is not yet cross-platform solution for this.</p>
<h2>Future prospects</h2>
<p>In some time-frame we will get rid of the need to wrap HTML applications natively as the web browser applications will support all HTML5 features without extensions and probably have some proprietary extensions for mobile specific features like SMS. We already have had some taste for this:</p>
<ul>
<li>The first taste of this is <a href="http://hacks.mozilla.org/2009/06/geolocation/">Mozilla&#8217;s Fennec mobile browser which has locationing support</a>.</li>
<li>iPhone&#8217;s Safari already supports <a href="http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/Introduction/Introduction.html">client-side storage</a> and <a href="http://girliemac.com/blog/2009/01/23/webkit-comparison-on-css3/">CSS3</a>.</li>
<li>All phones have support for dial-in links. The format of the link may vary. <a href="http://deviceatlas.com/">DeviceAtlas</a> is good place to hunt for this information.</li>
<li>Nokia browser supports send SMS links</li>
<li>Nokia browser supports downloadable map markers (to the map application of the phone itself)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2009/09/30/cross-platform-mobile-application-development-and-payment/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Building a mobile site and applications with Django and Python</title>
		<link>http://blog.mfabrik.com/2009/09/30/building-a-mobile-site-and-applications-with-django-and-python/</link>
		<comments>http://blog.mfabrik.com/2009/09/30/building-a-mobile-site-and-applications-with-django-and-python/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 08:46:52 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[pys60]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apex vertex]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[bicycling]]></category>
		<category><![CDATA[bilingual]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[browsercontrol]]></category>
		<category><![CDATA[capabilities]]></category>
		<category><![CDATA[darwin]]></category>
		<category><![CDATA[django-cms]]></category>
		<category><![CDATA[extjs]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[handset]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[lbs]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[location based]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[mobile profile]]></category>
		<category><![CDATA[mod_python]]></category>
		<category><![CDATA[multichannel]]></category>
		<category><![CDATA[multilingual]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[oulu]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[premium]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[rtsp]]></category>
		<category><![CDATA[series 40]]></category>
		<category><![CDATA[series 60]]></category>
		<category><![CDATA[sniffing]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[symbiansigned]]></category>
		<category><![CDATA[tourism]]></category>
		<category><![CDATA[traffic statistics]]></category>
		<category><![CDATA[twinapex]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upnorth]]></category>
		<category><![CDATA[user agent]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.twinapex.fi/?p=248</guid>
		<description><![CDATA[Recently we created a mobile site for an interactive bicycle tour. oulugo.mobi (you need to use mobile browser to access the site or you&#8217;ll get a redirect) is a multimedia enriched bicycle tour through the historic parts of the city of Oulu. All content is provided by OnGo. The route, which you can bicycle through is [...]]]></description>
			<content:encoded><![CDATA[<p>Recently <a href="http://www.twinapex.com">we</a> created a mobile site for an interactive bicycle tour. <a href="http://oulugo.mobi">oulugo.mobi</a> (you need to use mobile browser to access the site or you&#8217;ll get a redirect) is a multimedia enriched bicycle tour through the historic parts of <a href="http://ouka.fi/english/index.asp">the city of Oulu</a>. All content is provided by <a href="http://www.ongo.fi/en/index.htm">OnGo</a>.</p>
<p>The route, which you can bicycle through is drawn on Google Maps. There are nine  action points where the user can listen to streaming audio clips, with still images, in his/her mobile phone. This is sort of  augmented reality experience: The user sees the real world (where he/she is now bicycling) combined with the historic events (audio playback narrative). For example, at Linnansaari (a location on the route) you&#8217;ll see the actual 17th century castle ruins and the narrator tells how the castle exploded when fire, caused by a lighting, reached gunpowder warehouse&#8230; boom. The explosion caused stones fly over 400 meters.</p>
<p>Alternatively, the clips are available as podcasts from <a href="http://www.oulutourism.fi/oulugo/en_default.aspx">Oulu Tourism pages</a>. You can download them into your iPod for offline listening and use in conjuction with a paper map. This demostrates interesting mix of multichannel publishing: paper, web, mobile and podcasts.</p>
<p>The tour is bilingual in Finnish and English.</p>
<p>There exists unreleased iPhone application, based on <a href="http://phonegap.com">PhoneGap</a>, which allows the user to track his/her location real-time on the web page. We didn&#8217;t see it worth of trouble to go through Apple iPhone application review process. When location based service support comes for the browser this feature is indended to be included as the standard HTML5 feature of the service.</p>
<p>There also exists Nokia Series 60 mobile application, based on<a href="http://wiki.opensource.nokia.com/projects/PyS60"> PyS60</a> and Series 60<a href="http://www.forum.nokia.com/info/sw.nokia.com/id/47d8a7fe-768c-44e5-bc26-fcba0a05e35e/S60_Platform_Browser_Control_API_Guide_v2_0_en.pdf.html"> BrowserControl API</a>, which allows the user to track his/her location in real-time. The application provides wrapper around Series 60 WebKit control and allows Javascript to access phone native functions (GPS) over localhost socket communication. Like with Apple, we didn&#8217;t see real-time tracking feature interesting enough to go through Symbian Signed process to get our application released. Also, BrowserControl had seriousquality problems and we didn&#8217;t consider it stable enough for the end users. <a href="https://code.launchpad.net/~august-joki/pys60community/browsercontrol">Some work is available in PyS60 Community Edition repository</a>.</p>
<p>The service is hosted <a href="http://www.twinapex.com/solutions/outsourcing-hosting-and-maintenance-of-internet-and-mobile-systems">on Python specific virtual server on Twinapex services server farm</a>.</p>
<h2>Features</h2>
<ul>
<li>Premium content tailored for audio listening</li>
<li>Dubbed in English and Finnish by a professional voice actor</li>
<li>Bilingual: English/Finnish</li>
<li>Adapts for smartphones (WebKit based browsers) and low end phones (XHTML mobile profile browsers)</li>
<li>Streaming video and audio (RTSP / progressive HTTP download forv iPhone). Different audio quality is provided on depending on the handset features.</li>
<li>Screen resolution detection based on <a href="http://en.wikipedia.org/wiki/User_Agent">user agent sniffing</a>. Three different version of images are used.</li>
<li>Custom Google Maps component for mobile is used. The component adapts for different mobile phones based on sniffing. Features include zoom, show action point, show the current location, search street address name. This component can be published on a request.</li>
<li>Management interface features include video upload, video transcoding different mobile versions and editing bilingual content</li>
<li><a href="http://www.twinapex.com/products/mobile-publishing/apex-vertex/handset-database">Apex Vertex handset database is used to detect the user&#8217;s mobile phone capabilities</a></li>
<li><a href="http://www.twinapex.com/products/mobile-publishing/apex-vertex/reporting">Apex Vertex logging and traffic analytics capabilities are used for the site statistics</a></li>
</ul>
<h2>Software stack</h2>
<ul>
<li><a href="http://www.ubuntu.com">Ubuntu 8.04 Hardy Heron virtual server</a></li>
<li><a href="http://www.apache.org">Apache 2.2 / mod_python</a></li>
<li><a href="http://python.org">Python 2.5</a></li>
<li><a href="http://djangoproject.com">Django 1.0</a></li>
<li><a href="http://django-cms.org/">Django-CMS 1.0</a></li>
<li><a href="http://code.google.com/p/mobilesniffer/">mobile.sniffer Python package to provide abstraction over different handset databases</a></li>
<li><a href="http://www.twinapex.com/products/mobile-publishing/apex-vertex">Apex Vertex streaming</a> solution (RTSP based on Darwin streaming server by Apple)</li>
<li><a href="http://tinymce.moxiecode.com/">TinyMCE WYSIWYG editor</a></li>
<li><a href="http://developer.apple.com/opensource/server/streaming/index.html">Darwin streaming server</a></li>
<li><a href="http://extjs.com/">ExtJS</a> is extensively used in Apex Vertext management interface</li>
</ul>
<h2>Development effort</h2>
<p>Development time: Around 100 hours. Three different developers where involved. Used development tools: <a href="http://www.eclipse.org">Eclipse</a>, <a href="http://pydev.sourceforge.net/">PyDev</a>, <a href="http://subclipse.tigris.org/">Subclipse</a>, <a href="http://subversion.tigris.org/">Subversion</a>. There were around five meetings between the content provider and the technology provider. Few beta testing rounds using iPhone application were performed by bicycling in -10 celcius degrees weather (north and so on&#8230;). No polar bears were harmed during the creation of this mobile service.</p>
<p>The service is linked in from Oulu Tourism pages and thousands of paper brochures printed for Oulu summer season 2009.</p>
<p><strong style="font-weight: bold;">About the author Mikko Ohtamaa</strong></p>
<ul>
<li><a href="http://www.linkedin.com/in/ohtis  ">LinkedIn</a></li>
<li><a href="http://twitter.com/moo9000">Twitter</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2009/09/30/building-a-mobile-site-and-applications-with-django-and-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pygame goes mobile</title>
		<link>http://blog.mfabrik.com/2008/12/17/pygame-goes-mobile/</link>
		<comments>http://blog.mfabrik.com/2008/12/17/pygame-goes-mobile/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 09:50:25 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[mobile]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[pygame]]></category>
		<category><![CDATA[series 60]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://blog.redinnovation.com/?p=161</guid>
		<description><![CDATA[Pygame, the easiest way to make computer games in the world, has just reached your pocket. Check our announcement at http://discussion.forum.nokia.com/forum/showthread.php?t=152969]]></description>
			<content:encoded><![CDATA[<p>Pygame, the easiest way to make computer games in the world, has just reached your pocket.</p>
<p>Check our announcement at</p>
<p><a href="http://discussion.forum.nokia.com/forum/showthread.php?t=152969">http://discussion.forum.nokia.com/forum/showthread.php?t=152969</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2008/12/17/pygame-goes-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

