<?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; android</title>
	<atom:link href="http://blog.mfabrik.com/category/android/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>QuasselDroid: Quassel for Android  &#8211; cross-platform mobile IRC client</title>
		<link>http://blog.mfabrik.com/2011/03/28/quasseldroid-quassel-for-android-cross-platform-mobile-irc-client/</link>
		<comments>http://blog.mfabrik.com/2011/03/28/quasseldroid-quassel-for-android-cross-platform-mobile-irc-client/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 18:42:28 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[irc]]></category>
		<category><![CDATA[irssi]]></category>
		<category><![CDATA[logcat]]></category>
		<category><![CDATA[quassel]]></category>
		<category><![CDATA[quasseldroid]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1112</guid>
		<description><![CDATA[IRC (Internet Relay Chat, the description of IRC) is a chat protocol used by many open source and hacktivism projects for real-time discussion and support chat. I myself participate to Python and Plone discussion and now recently to Android chat on Freenode and IRCNet networks. Quassel is a distributed IRC client. Distributed in the sense [...]]]></description>
			<content:encoded><![CDATA[<p>IRC (Internet Relay Chat, <a href="http://www.youtube.com/watch?v=O2rGTXHvPCQ">the description of IRC</a>) is a chat protocol used by many open source and hacktivism projects for real-time discussion and support chat. I myself participate to Python and Plone discussion and now recently to Android chat on Freenode and IRCNet networks.</p>
<p>Quassel is a distributed IRC client. Distributed in the sense that it keeps your chat sessions on the server side: even if you get disconnected you won&#8217;t lose any chat messages. This is a nice feature for people who need to be constantly in touch with the communities.  For IRC veterans, Quassel is like the good ol&#8217; screen + irssi combo, but with an user interface which does not require a degree in Perl scripting. This is a short tutorial for getting or building  the mobile version of Quassel,  Quasseldroid for Android.</p>
<p><a href="http://blog.mfabrik.com/wp-content/uploads/2011/03/SC20110328-2053501.png"><img class="alignnone size-medium wp-image-1167" title="SC20110328-205350" src="http://blog.mfabrik.com/wp-content/uploads/2011/03/SC20110328-2053501-180x300.png" alt="" width="180" height="300" /></a></p>
<p>Everyone how has tried it knows that irssi or any terminal software suits very badly for mobile screens. QuasselDroid fixes this: it provides an user interface which is suitable even for touch screens. Also, with Quassel core on the server side, you do not need to worry about disconnections which often happen with mobile networks, With desktop Quassel and mobile QuasselDroid you should be able to  seamlessly leave your desktop, go traveling whilst continuing the  on-going dispute of the next most important internet thing with your  on-line friends and foes.</p>
<p>This tutorial show how to get binary or source from  Github and compile the project for your phone. Note that <em>QuasselDroid is still in very early developing phase</em> and the main purpose of this is to drive more development into QuasselDroid. Do not expect it to be ready for your specific use cases yet! Also, these instructions are tested only on Samsung Galaxy S with Android 2.2.</p>
<p><a href="http://blog.mfabrik.com/wp-content/uploads/2011/03/SC20110328-205252.png"><img class="alignnone size-medium wp-image-1169" title="SC20110328-205252" src="http://blog.mfabrik.com/wp-content/uploads/2011/03/SC20110328-205252-180x300.png" alt="" width="180" height="300" /></a></p>
<p>Quassel is originally based on Qt C++ libraries and uses Qt based serialization protocol to communicate between the server (your IRC session) and client (your phone). QuasselDroid implements Qt protocol from scratch in Java and does not use any Qt libraries on Android. There also existed a prior version which required a proxy server, but this has been fixed for now.</p>
<h2>Getting and building QuasselDroid</h2>
<p>Before proceeding you need</p>
<ul>
<li>A server which allows you to run a background process with more than hundred megabytes of memory usage</li>
<li><a href="http://quassel-irc.org/downloads">Quassel core</a> installed on the server side (this maintains your IRC session). Core  itself comes with decent command-line help. If you get stuck ask help on  #quassel channel @ freenode IRC network.</li>
<li>Preferable <a href="http://quassel-irc.org/downloads">Quassal desktop client</a> (Windows, OSX, Linux) for ircing from the desktop</li>
</ul>
<h3>Downloading pre-built binary</h3>
<p>Note: there exists a pre-built Android binaries for non-Android hackers. <a href="https://github.com/sandsmark/QuasselDroid/wiki/QuasselDroid-Wiki ">Download QuasselDroid Android binary from here</a>. You still need to set-up the server side core yourself.</p>
<h3>Prerequisites for building and running QuasselDroid</h3>
<p>This is the recommend method of installing QuasselDroid if you are looking for helping in QuasselDroid development. It is not that difficult, as Android tools are quite friendly for newcomers.</p>
<ul>
<li>OSX or Linux (your mileage on Windows may vary)</li>
<li>Android Phone (Android 2.1 or newer)</li>
<li><a href="http://developer.android.com/sdk/index.html">Android SDK</a></li>
<li><a href="http://www.eclipse.org/downloads/">Eclipse IDE for Java Developers</a></li>
<li>Android Eclipse plug-in (<a href="http://developer.android.com/sdk/installing.html">you need to install it through Find and Install updates inside Eclipse</a>)</li>
<li>Git (for OSX use <a href="http://www.macports.org/">Macports</a> to install it)</li>
<li>Minimal understanding of terminal and UNIX style command line</li>
</ul>
<h3>Compiling and running</h3>
<p>Install Android SDK, Eclipse  Android plug-ins for Eclipse. Note this is several hundreds of megabytes worth of software, so be patient and entertain yourself with some cool music whilst downloading.</p>
<p>Install Quassel client, Quassel core and get yourself familiar with the noveau IRC experience.</p>
<p>Get code from Github:</p>
<pre>git clone https://github.com/sandsmark/QuasselDroid</pre>
<p>Open project in Eclipse. Start Eclipse, choose or create any empty directory as workspace of just choose the default one. Then choose <em>File -&gt; Import -&gt; General -&gt; Existing projects into Workspace</em>. In Select Root Directory you need to choose a directory <strong>above</strong> Github checkout directory. Select QuasselDroid in Projects list (which is now refreshed after selecting root directory).</p>
<p>In this point I had to select the project, choose <em>Project -&gt; Clean</em> from Eclipse menu (there were some errors popping up in Eclipse internal console).</p>
<p>Right click <em>Project -&gt; choose Run as -&gt; Android application</em>.</p>
<ul>
<li>If your phone is connected via USB Eclipse will automatically build and install APK directly to your phone</li>
<li>If you do not have phone connected QuasselDroid will start in the emulator</li>
</ul>
<h2>Installing QuasselDroid</h2>
<h3><a href="http://blog.mfabrik.com/wp-content/uploads/2011/03/SC20110328-205210.png"><img class="alignnone size-medium wp-image-1168" title="SC20110328-205210" src="http://blog.mfabrik.com/wp-content/uploads/2011/03/SC20110328-205210-180x300.png" alt="" width="180" height="300" /></a></h3>
<h3>Creating a core entry</h3>
<p>When QuasselDroid is run for the first time. press Android <em>Menu</em> key on the start-up screen(this was little hard to discover) and choose Manage cores. Now you need to configure quassel core for the server &#8211; for this process you should already have experience with Quassel desktop client.</p>
<h3>SSL</h3>
<p>Also, you might need to disable SSL support if you are running a core without SSL compiled in. Again, press Android Menu key, choose <em>Preferences</em> and uncheck <em>SSL</em>.</p>
<h2>Debugging issues</h2>
<p>When you run an issue and you can repeat it reliably with necessary log traces available, file a bug report <a href="https://github.com/sandsmark/QuasselDroid/issues">on Github project page</a>.</p>
<p>Android has a logging tool called LogCat, showing log output from emulator or device. You will see Android log output in Eclipse in LogCat view when</p>
<ul>
<li>Emulator is running</li>
<li>A device is connected via USB, debug mode enabled (from system <em>Settings</em> menu)</li>
</ul>
<p>Use Eclipse <em>Window -&gt; Show -&gt; Debug perspective</em> to see LogCat window if it&#8217;s hidden.</p>
<p>If you launch the application in Eclipse using Debug run (the bug icon) Eclipse will stop on the line where an uncaught Java exception is thrown. This is very useful for debugging crashing bugs (Android pops up force close dialog).</p>
<p>On the server side, you can see quasselcore output in stdout and see how the core reacts to client connection attempts.
<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/03/28/quasseldroid-quassel-for-android-cross-platform-mobile-irc-client/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Taking a screenshot on Samsung Galaxy S and other Samsung Android devices</title>
		<link>http://blog.mfabrik.com/2011/02/27/taking-a-screenshot-on-samsung-galaxy-s-and-other-samsung-android-devices/</link>
		<comments>http://blog.mfabrik.com/2011/02/27/taking-a-screenshot-on-samsung-galaxy-s-and-other-samsung-android-devices/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 18:44:03 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[back key]]></category>
		<category><![CDATA[galaxy s]]></category>
		<category><![CDATA[home key]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[screen capture]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[wildfire]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1029</guid>
		<description><![CDATA[Samsung Galaxy S comes with a internal screenshot capturing feature similar to iPhone. This is not the same as the infamous stock Android screenshot facility which forces you to turn on USB debugging, downloading Android SDK, etc. Captured screenshots can be found from Gallery in their own category ScreenCapture. To take a screenshot Hold Back [...]]]></description>
			<content:encoded><![CDATA[<p>Samsung Galaxy S comes with a internal screenshot capturing feature similar to iPhone.<span style="text-decoration: line-through;"> This is not the same as the infamous stock Android screenshot facility which forces you to turn on USB debugging, downloading Android SDK, etc.</span> Captured screenshots can be found from Gallery in their own category <em>ScreenCapture</em>.</p>
<p>To take a screenshot</p>
<ul>
<li>Hold Back touch key</li>
<li>Double press Home key</li>
</ul>
<p>This feature is probably available on other Samsung Android devices, like Samsung Wildfire and Samsung Galaxy Tab.
<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/27/taking-a-screenshot-on-samsung-galaxy-s-and-other-samsung-android-devices/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Qt on Android</title>
		<link>http://blog.mfabrik.com/2011/02/26/qt-on-android/</link>
		<comments>http://blog.mfabrik.com/2011/02/26/qt-on-android/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 15:26:24 +0000</pubDate>
		<dc:creator>Jussi Toivola</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1022</guid>
		<description><![CDATA[I gave the Qt on Android project a try and was happily surprised how easy it was to get everything set up and get my QML Physics project running on Android phone without too much fuss. There was just one issue. Now I can continue the project again, and this time I even have proper device to work [...]]]></description>
			<content:encoded><![CDATA[<p>I gave the <a href="http://sourceforge.net/p/necessitas/home/">Qt on Android</a> project a try and was happily surprised how easy it was to get everything set up and get my <a href="https://bitbucket.org/jtoivola/qml-physics/">QML Physics</a> project running on Android phone without too much fuss. There was <a href="http://sourceforge.net/p/necessitas/tickets/5/">just one issue</a>. Now I can continue the project again, and this time I even have proper device to work with <img src='http://blog.mfabrik.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Actually this is even better than before. While developing for Symbian or Meego, I always had a cloud of uncertainty hanging over my head. My experience with Symbian had taught me to be very skeptical about the platform and Meego devices weren&#8217;t out yet(and still aren&#8217;t ). And as everybody knows, those fears got some justification by Nokia. Maybe Meego will prevail, but I&#8217;m pretty sure Android is not going to disappear very soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/02/26/qt-on-android/feed/</wfw:commentRss>
		<slash:comments>0</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>Android on-device debugging launch fails: Can&#8217;t bind to local 8600 for debugger</title>
		<link>http://blog.mfabrik.com/2010/12/01/android-on-device-debugging-launch-fails-cant-bind-to-local-8600-for-debugger/</link>
		<comments>http://blog.mfabrik.com/2010/12/01/android-on-device-debugging-launch-fails-cant-bind-to-local-8600-for-debugger/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 20:08:44 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[eclipce]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[logcat]]></category>
		<category><![CDATA[target]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=860</guid>
		<description><![CDATA[You try to launch Android app on the device from Eclipse. The debugger fails to connect and times out. Instead, you see this in the Console log: Can't bind to local 8600 for debugger To fix this do the following steps exactly in this order Close Eclipse Disconnect USB cable Kill all adb instances on [...]]]></description>
			<content:encoded><![CDATA[<p>You try to launch Android app on the device from Eclipse. The debugger fails to connect and times out. Instead, you see this in the Console log:</p>
<pre>Can't bind to local 8600 for debugger</pre>
<p>To fix this do the following steps exactly in this order</p>
<ul>
<li> Close Eclipse</li>
<li>Disconnect USB cable</li>
<li>Kill all adb instances on the task manager of your computer</li>
<li>Start Eclipse</li>
<li>Connect USB cable</li>
<li>Launch the application</li>
</ul>
<p>If this does not help then make sure that you are using IPv4 address for <em>localhost</em> DNS loopback name. Edit <em>/etc/hosts</em> and comment out all IPv6 entries.
<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/12/01/android-on-device-debugging-launch-fails-cant-bind-to-local-8600-for-debugger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samsung Galaxy S i9000 and Android 2.1 &#8211; enable file copy over USB as mass storage mode on OSX and Linux</title>
		<link>http://blog.mfabrik.com/2010/09/04/samsung-galaxy-s-i9000-and-android-2-1-enable-file-copy-over-usb-as-mass-storage-mode-on-osx-and-linux/</link>
		<comments>http://blog.mfabrik.com/2010/09/04/samsung-galaxy-s-i9000-and-android-2-1-enable-file-copy-over-usb-as-mass-storage-mode-on-osx-and-linux/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 11:50:11 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[file browser]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[galaxy s]]></category>
		<category><![CDATA[internal]]></category>
		<category><![CDATA[kies]]></category>
		<category><![CDATA[mass memory]]></category>
		<category><![CDATA[microsd]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=756</guid>
		<description><![CDATA[Samsung Galaxy S i9000 (Android 2.1) comes with Samsing Kies Windows software which is supposed to be used for copying files between your computer and the phone. Naturally, this Windows software 1) is not very good 2) works on Windows only. However, you can still mount  the device as normal USB mass storage. Just set [...]]]></description>
			<content:encoded><![CDATA[<p>Samsung Galaxy S i9000 (Android 2.1) comes with Samsing Kies Windows software which is supposed to be used for copying files between your computer and the phone.</p>
<p>Naturally, this Windows software 1) is not very good 2) works on Windows only.</p>
<p>However, you can still mount  the device as normal USB mass storage. Just set Settings -&gt; Applications -&gt; Development -&gt; Allow USB debugging checkbox on and replug the USB cable. Then open the notifications menu (pull down the top bar on the home screen). Now there is new option USB Connected. Choose it and then choose Mount.</p>
<p>You should be able to access both the phone internal storage and microSD memory card in Finder / Nautilus.</p>
<p>I created directory /media/mp3 where I copied few music files from my computer. I was able to achieve 5 MB/s transfer rate from my Asus Eee 1005HA PC when writing files to phone internal memory. The phone music player was able to pick up them fine.</p>
<p>More info</p>
<ul>
<li><a href="http://forumuk.samsungmobile.com/PostsList.aspx?ForumPostID=199886">http://forumuk.samsungmobile.com/PostsList.aspx?ForumPostID=199886</a></li>
</ul>
<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/09/04/samsung-galaxy-s-i9000-and-android-2-1-enable-file-copy-over-usb-as-mass-storage-mode-on-osx-and-linux/feed/</wfw:commentRss>
		<slash:comments>10</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>
	</channel>
</rss>

