<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>DougT &#187; mobile</title>
	<atom:link href="http://dougturner.wordpress.com/tag/mobile/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougturner.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 04:37:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dougturner.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>DougT &#187; mobile</title>
		<link>http://dougturner.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dougturner.wordpress.com/osd.xml" title="DougT" />
	<atom:link rel='hub' href='http://dougturner.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Mozilla Fennec Future &#8211; A post from the past</title>
		<link>http://dougturner.wordpress.com/2012/01/25/mozilla-fennec-future-a-post-from-the-past/</link>
		<comments>http://dougturner.wordpress.com/2012/01/25/mozilla-fennec-future-a-post-from-the-past/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 04:35:21 +0000</pubDate>
		<dc:creator>dougturner</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[fennec]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[gecko]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://dougt.org/wordpress/?p=704</guid>
		<description><![CDATA[I wrote this back in October.  Never posted it.  Here it is for posterity and maybe some quick reflections. Start-up performance and memory usage have been the two of the biggest concerns our users have had with Firefox for Android.  On the fastest Android devices, the browser starts up in about 2 seconds.  We, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dougturner.wordpress.com&amp;blog=31395524&amp;post=704&amp;subd=dougturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wrote this back in October.  Never posted it.  Here it is for posterity and maybe some quick reflections.</p>
<p>Start-up performance and memory usage have been the two of the biggest concerns our users have had with Firefox for Android.  On the fastest Android devices, the browser starts up in about 2 seconds.  We, and our users, believe that this is completely unacceptable.  We have been exploring ways to improve both startup speed and memory usage.  One of the outcomes has been to build a prototype that uses Android’s native UI instead of XUL.  Although not a silver bullet, this prototype shows big wins in both areas.</p>
<p>Historically we’ve built our Android user interface with XUL.  XUL is a very flexible UI toolkit.  This flexibility comes at a cost. It requires that we have to load all of Gecko, our rendering engine, before being able to start using XUL.  So, before we can show any browser UI, we have to load all of Gecko.  A lot of progress has been made to improve Gecko startup, but we aren’t able to provide the same startup experience that native Java widgets can provide.  Just to be clear, this isn’t actually because XUL is slow, it is just that, on Android, bring up native widgets is very fast and loading libraries is very slow.</p>
<p>Our prototype shows that we have a 6MB RSS memory win when comparing our current build to a Fennec nightly build.  This doesn&#8217;t include the RSS usage caused by a second &#8216;child&#8217; gecko process.  We can have a fully functional Awesome Bar up and ready for you in under 300ms.  Keep in mind that this is a prototype and the actual numbers of a more full featured browser will vary.</p>
<p>A native UI will have some challenges of its own to overcome. We’re coordinating with the Jetpack project to build strong support for extensions. We’re talking with our localization teams about how to ensure we support users around the world.</p>
<p>Our hope is to build future versions of the Firefox for Android user interface using native Java.  Our engineering teams are already taking this project on with the aim of building this technology into the Firefox for Android experience. It’s too early to estimate when we’ll be ready to replace the XUL UI, but the team is working quickly and with focus.</p>
<p>We have a lot of work to do, and you can help.  If you would like to get involved, especially if you have experience building native Android applications, now is the time. Take a look at <a href="https://wiki.mozilla.org/Fennec/NativeUI">https://wiki.mozilla.org/Fennec/NativeUI</a> for more information, or grab the source from <a href="http://hg.mozilla.org/projects/birch/">http://hg.mozilla.org/projects/birch/</a>.  Also see the mozilla dev-planning mailing list for a <a href="http://groups.google.com/group/mozilla.dev.planning/browse_thread/thread/ff8d89bfa28383bb#">discussion</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dougturner.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dougturner.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dougturner.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dougturner.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dougturner.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dougturner.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dougturner.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dougturner.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dougturner.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dougturner.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dougturner.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dougturner.wordpress.com/704/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dougturner.wordpress.com/704/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dougturner.wordpress.com/704/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dougturner.wordpress.com&amp;blog=31395524&amp;post=704&amp;subd=dougturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dougturner.wordpress.com/2012/01/25/mozilla-fennec-future-a-post-from-the-past/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/199ff3650288dd97a098e505d259024f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dougturner</media:title>
		</media:content>
	</item>
		<item>
		<title>Fennec and Native Android UIs</title>
		<link>http://dougturner.wordpress.com/2011/09/26/fennec-and-native-android-uis/</link>
		<comments>http://dougturner.wordpress.com/2011/09/26/fennec-and-native-android-uis/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 18:24:55 +0000</pubDate>
		<dc:creator>dougturner</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[fennec]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[xul]]></category>

		<guid isPermaLink="false">http://dougt.org/wordpress/?p=695</guid>
		<description><![CDATA[Bringing up a User Interface (UI) as fast as possible is a very important goal and benchmark of any application. People don’t want to wait for their applications to load. Most applications on Android show a UI in under 300 milliseconds (ms). Fennec doesn’t hit that goal and is a major concern for us. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dougturner.wordpress.com&amp;blog=31395524&amp;post=695&amp;subd=dougturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Bringing up a User Interface (UI) as fast as possible is a very important goal and benchmark of any application. People don’t want to wait for their applications to load. Most applications on Android show a UI in under 300 milliseconds (ms). Fennec doesn’t hit that goal and is a major concern for us.</p>
<p>The problem is that Gecko (our rendering engine) isn’t loaded when Fennec starts. We need to load Gecko into memory, start Gecko, then wait while it renders our UI from XUL. This is a lot of waiting around for us to show a relatively simple UI.</p>
<div id="attachment_696" class="wp-caption aligncenter" style="width: 235px"><img class="size-medium wp-image-696" title="droid-pro" src="http://dougturner.files.wordpress.com/2011/09/droid-pro.png?w=225&#038;h=300&#038;h=300" alt="Droid Pro" width="225" height="300" /><p class="wp-caption-text">Not a super fast phone.</p></div>
<p>At the Mozilla AllHands, Andreas Gal, Chris Jones, and Patrick Walton built a simple browser using a Android native front end instead of XUL. They showed a simple native UI around Gecko could be started in under 300 milliseconds. The idea is that the user immediately sees a familiar browser UI and while they are typing a uri or interacting with the UI, we load Gecko in the background. Their demo, although not complete, was dramatic and did not show any startup problems.</p>
<p>Using a native UI does imply certain things. Clearly add-ons, specifically XUL overlays, will not work as-is. Mozilla’s Embedding API has been kinda-sorta deprecated and we may need to use those APIs to make a better app. There may be other issues that come up.</p>
<p>To figure out these issues, we are starting a team to build out a more full featured demo. The work can be followed on github (git@github.com:snorp/mozilla-central.git branch faster). If you are interested, please drop me an email, or send me a pull request.</p>
<p>Lastly, and most importantly, we will continue the existing XUL-based Fennec project and future Firefox on Mobile will still be based on the XUL front-end. The team will continue focusing on startup performance, memory usage, bugs fixes, and features. The Native Android UI project is an investigation at this point.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dougturner.wordpress.com/695/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dougturner.wordpress.com/695/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dougturner.wordpress.com/695/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dougturner.wordpress.com/695/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dougturner.wordpress.com/695/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dougturner.wordpress.com/695/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dougturner.wordpress.com/695/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dougturner.wordpress.com/695/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dougturner.wordpress.com/695/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dougturner.wordpress.com/695/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dougturner.wordpress.com/695/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dougturner.wordpress.com/695/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dougturner.wordpress.com/695/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dougturner.wordpress.com/695/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dougturner.wordpress.com&amp;blog=31395524&amp;post=695&amp;subd=dougturner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dougturner.wordpress.com/2011/09/26/fennec-and-native-android-uis/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/199ff3650288dd97a098e505d259024f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dougturner</media:title>
		</media:content>

		<media:content url="http://dougturner.files.wordpress.com/2011/09/droid-pro.png?w=225&#38;h=300" medium="image">
			<media:title type="html">droid-pro</media:title>
		</media:content>
	</item>
	</channel>
</rss>
