<?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>Puelocesar User Interface Development</title>
	<atom:link href="http://puelocesar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://puelocesar.wordpress.com</link>
	<description>Meu blog pessoal de desenvolvimento</description>
	<lastBuildDate>Thu, 17 Mar 2011 18:46:03 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='puelocesar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Puelocesar User Interface Development</title>
		<link>http://puelocesar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://puelocesar.wordpress.com/osd.xml" title="Puelocesar User Interface Development" />
	<atom:link rel='hub' href='http://puelocesar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Macuco update: Zoom support and new screenshots!</title>
		<link>http://puelocesar.wordpress.com/2009/11/01/macuco-zoom-and-screenshots/</link>
		<comments>http://puelocesar.wordpress.com/2009/11/01/macuco-zoom-and-screenshots/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 16:25:13 +0000</pubDate>
		<dc:creator>puelocesar</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>

		<guid isPermaLink="false">http://puelocesar.wordpress.com/?p=44</guid>
		<description><![CDATA[Hey everyone! Our little web browser specialized for Gmail just got a new feature! Thanks to the patches from Jie, requests from some nice folks on talk.maemo, and one hour on Firebug debugging Gmail code to find out why the hell it didn&#8217;t let I zoom fonts, now Macuco has zoom support with hardware keys! [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=44&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey everyone! Our little web browser specialized for Gmail just got a new feature! Thanks to the patches from Jie, requests from some nice folks on talk.maemo, and one hour on Firebug debugging Gmail code to find out why the hell it didn&#8217;t let I zoom fonts, now Macuco has zoom support with hardware keys!</p>
<p>Oh, and some people requested screenshots of it running other google apps then Gmail, so here it is:</p>
<div id="attachment_47" class="wp-caption alignnone" style="width: 510px"><a id="set-post-thumbnail" href="post-new.php#"><img class="size-full wp-image-47" title="Google Reader on Macuco" src="http://puelocesar.files.wordpress.com/2009/11/screenshot022.png?w=500&#038;h=300" alt="Google Reader on Macuco" width="500" height="300" /></a><p class="wp-caption-text">Google Reader on Macuco</p></div>
<div id="attachment_51" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-51" title="google reader feed item" src="http://puelocesar.files.wordpress.com/2009/11/screenshot031.png?w=500&#038;h=300" alt="google reader feed item" width="500" height="300" /><p class="wp-caption-text">Opening a feed item on google reader</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div id="attachment_48" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-48" title="Orkut" src="http://puelocesar.files.wordpress.com/2009/11/screenshot01.png?w=500&#038;h=300" alt="Orkut" width="500" height="300" /><p class="wp-caption-text">Orkut on Macuco</p></div>
<div id="attachment_49" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-49" title="screenshot04" src="http://puelocesar.files.wordpress.com/2009/11/screenshot04.png?w=500&#038;h=300" alt="screenshot04" width="500" height="300" /><p class="wp-caption-text">Opening a google docs spreadsheet </p></div>
<p>My objective right now is to send the application to extras and put it on the Downloads page. Bye!</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/puelocesar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/puelocesar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/puelocesar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/puelocesar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/puelocesar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/puelocesar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/puelocesar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/puelocesar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/puelocesar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/puelocesar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/puelocesar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/puelocesar.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/puelocesar.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/puelocesar.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=44&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://puelocesar.wordpress.com/2009/11/01/macuco-zoom-and-screenshots/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50ef713c148fc34da7d4ae2ca37ec5c3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">puelocesar</media:title>
		</media:content>

		<media:content url="http://puelocesar.files.wordpress.com/2009/11/screenshot022.png" medium="image">
			<media:title type="html">Google Reader on Macuco</media:title>
		</media:content>

		<media:content url="http://puelocesar.files.wordpress.com/2009/11/screenshot031.png" medium="image">
			<media:title type="html">google reader feed item</media:title>
		</media:content>

		<media:content url="http://puelocesar.files.wordpress.com/2009/11/screenshot01.png" medium="image">
			<media:title type="html">Orkut</media:title>
		</media:content>

		<media:content url="http://puelocesar.files.wordpress.com/2009/11/screenshot04.png" medium="image">
			<media:title type="html">screenshot04</media:title>
		</media:content>
	</item>
		<item>
		<title>Macuco updated!</title>
		<link>http://puelocesar.wordpress.com/2009/10/12/macuco-updated/</link>
		<comments>http://puelocesar.wordpress.com/2009/10/12/macuco-updated/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 00:11:14 +0000</pubDate>
		<dc:creator>puelocesar</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Maemo]]></category>

		<guid isPermaLink="false">http://puelocesar.wordpress.com/?p=41</guid>
		<description><![CDATA[Hi everyone! I know you are all excited with new and glorious Maemo5 and n900, but for the mortals who doesn&#8217;t have to privilege to get one, I have just updated Macuco, my Gmail/Google Reader/Orkut client for the Maemo4. Thanks for Jie Zhang, a very nice fellow from Shangai, the high CPU utilization bug was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=41&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi everyone! I know you are all excited with new and glorious Maemo5 and n900, but for the mortals who doesn&#8217;t have to privilege to get one, I have just updated Macuco, my Gmail/Google Reader/Orkut client for the Maemo4.</p>
<p>Thanks for Jie Zhang, a very nice fellow from Shangai, the high CPU utilization bug was solved, now everything is much smoother and fast!</p>
<p>Jie also solved the problem with packaging, so now you can launch Macuco from the menu, with a nice icon my wife made for me <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>By the way, I&#8217;m really happy to see how open source work well! If the code was closed, the bugs wouldn&#8217;t be solved and I would just abandon the application. But as the code is open, I found a contributor who solved the two main problems with the app and now the project is alive and more importantly: useful for people!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/puelocesar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/puelocesar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/puelocesar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/puelocesar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/puelocesar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/puelocesar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/puelocesar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/puelocesar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/puelocesar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/puelocesar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/puelocesar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/puelocesar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/puelocesar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/puelocesar.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=41&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://puelocesar.wordpress.com/2009/10/12/macuco-updated/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50ef713c148fc34da7d4ae2ca37ec5c3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">puelocesar</media:title>
		</media:content>
	</item>
		<item>
		<title>Macuco: Gmail Client for Maemo</title>
		<link>http://puelocesar.wordpress.com/2009/08/17/macuco-gmail-client-for-maemo/</link>
		<comments>http://puelocesar.wordpress.com/2009/08/17/macuco-gmail-client-for-maemo/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 12:16:01 +0000</pubDate>
		<dc:creator>puelocesar</dc:creator>
				<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://puelocesar.wordpress.com/?p=36</guid>
		<description><![CDATA[Hi everybody, my name is Paulo Cesar, and I was invited to participate on the Maemo planet recently. Here I&#8217;ll post about my adventures with Maemo development. My first &#8216;test&#8217; application is actually something that&#8217;s very useful for me: a Gmail client. Well, technically the client isn&#8217;t mine, it&#8217;s from Google, and for iPhones. My [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=36&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi everybody, my name is Paulo Cesar, and I was invited to participate on the Maemo planet recently. Here I&#8217;ll post about my adventures with Maemo development.</p>
<p>My first &#8216;test&#8217; application is actually something that&#8217;s very useful for me: a Gmail client. Well, technically the client isn&#8217;t mine, it&#8217;s from Google, and for iPhones. My application is a little webkit browser made in Qt that identifies itself as iPhone&#8217;s Safari, and it uses kinetic scrolling to have a similar behavior as iPhone.</p>
<p>This is a picture of it&#8217;s first version:</p>
<div id="attachment_12" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-12" title="gmail_app_for_maemo" src="http://puelocesar.files.wordpress.com/2009/07/19072009389.jpg?w=500&#038;h=375" alt="Foto do Gmail App for Maemo" width="500" height="375" /><p class="wp-caption-text">Gmail App for Maemo</p></div>
<p>I made a video too, so you can see the kinetic scrolling in action:</p>
<span style="text-align:center; display: block;"><a href="http://puelocesar.wordpress.com/2009/08/17/macuco-gmail-client-for-maemo/"><img src="http://img.youtube.com/vi/TbgPHc3VfgQ/2.jpg" alt="" /></a></span>
<p style="text-align:left;">After that, I added a little bunch of goodies to it, basic stuff, like a name, an icon, a loading animation and error  handling. The name it&#8217;s Macuco, and the logo it&#8217;s this nice bird my wife draw for me <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align:left;"><img class="aligncenter size-full wp-image-18" title="logo do Macuco" src="http://puelocesar.files.wordpress.com/2009/08/macuco.png?w=64&#038;h=64" alt="logo do Macuco" width="64" height="64" /></p>
<p style="text-align:left;">Well, if you want to test it yourself, the application was already submitted to Maemo Extras Devel, and if you like it and want to contribute with code, it&#8217;s everything published at:</p>
<p style="text-align:left;"><a href="http://github.com/puelocesar/Macuco/tree/master">http://github.com/puelocesar/Macuco/tree/master</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/puelocesar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/puelocesar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/puelocesar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/puelocesar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/puelocesar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/puelocesar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/puelocesar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/puelocesar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/puelocesar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/puelocesar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/puelocesar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/puelocesar.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/puelocesar.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/puelocesar.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=36&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://puelocesar.wordpress.com/2009/08/17/macuco-gmail-client-for-maemo/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50ef713c148fc34da7d4ae2ca37ec5c3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">puelocesar</media:title>
		</media:content>

		<media:content url="http://puelocesar.files.wordpress.com/2009/07/19072009389.jpg" medium="image">
			<media:title type="html">gmail_app_for_maemo</media:title>
		</media:content>

		<media:content url="http://puelocesar.files.wordpress.com/2009/08/macuco.png" medium="image">
			<media:title type="html">logo do Macuco</media:title>
		</media:content>
	</item>
		<item>
		<title>Macuco: Gmail Client App</title>
		<link>http://puelocesar.wordpress.com/2009/08/02/macuco-gmail-client-app/</link>
		<comments>http://puelocesar.wordpress.com/2009/08/02/macuco-gmail-client-app/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 18:45:34 +0000</pubDate>
		<dc:creator>puelocesar</dc:creator>
				<category><![CDATA[Português]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Qt]]></category>

		<guid isPermaLink="false">http://puelocesar.wordpress.com/?p=17</guid>
		<description><![CDATA[Olá internet! No post passado, eu falei sobre o cliente de gmail para Maemo que eu estava fazendo. Pois bem, agora este programa tem nome, e se chama Macuco. Esse desenho aí do lado é o ícone legal que a minha esposa desenhou para mim Além do nome e logo, o Macuco agora cresceu e [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=17&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-19  alignleft" title="macuco" src="http://puelocesar.files.wordpress.com/2009/08/macuco1.png?w=500" alt="Logo do Macuco" /></p>
<p>Olá internet!</p>
<p>No post passado, eu falei sobre o cliente de gmail para Maemo que eu estava fazendo. Pois bem, agora este programa tem nome, e se chama Macuco. Esse desenho aí do lado é o ícone legal que a minha esposa desenhou para mim <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Além do nome e logo, o Macuco agora cresceu e tem mais funcionalidades, agora ele suporta cookies, tem uma animação de loading, e trata erros de conexão, mostrando uma janelinha de erro e retry.</p>
<div id="attachment_22" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-22" title="screenshot macuco" src="http://puelocesar.files.wordpress.com/2009/08/picture-21.png?w=500&#038;h=313" alt="Tela de erro de conexão do Macuco" width="500" height="313" /><p class="wp-caption-text">Tela de erro de conexão do Macuco</p></div>
<p>A única dificuldade que tive nesta tela, foi que eu não estou usando um GraphicsView para poder colocar efeitos nos widgets, então para criar essa layer transparente aí, eu estou chamando um método muito útil: o evaluateJavascript() da classe QWebFrame, que permite que eu execute javascripts arbitrários dentro do contexto da página que o webview está mostrando. Neste caso, eu crio um novo nó DOM, seto ele para ser uma DIV e então aplico um CSS de opacidade (CSS3 rules by the way).</p>
<p>Outra coisa que fiz no programa é fazer seu empacotamento para Maemo. É bem chato seguir todas aquelas regras de empacotamento do debian, principalmente para um desenvolvedor Rails acostumado com conceitos KISS como eu, mas depois de algum tempo lendo documentação e tentativas  e erros, acabei conseguindo gerar o bendito .deb para instalar no Maemo. Agora só falta submitar o pacote para o repositório Extras do Maemo.org!</p>
<p>A propósito, quem tiver um N8x0 rodando o Diablo e quiser testar o Macuco, aí está o .deb: <a href="http://rapidshare.com/files/262956299/macuco_0.1-1_armel.deb">http://rapidshare.com/files/262956299/macuco_0.1-1_armel.deb</a></p>
<p>Eu prometo de dedos cruzados que ele não formatar seu dispositivo, fazê-lo explodir, ou matar suas crianças. Duvida? O código está publicado aqui: <a href="http://github.com/puelocesar/Macuco/tree/master">http://github.com/puelocesar/Macuco/tree/master</a></p>
<p>Meu objetivo inicial foi atingido, que era de acessar o gmail de uma forma rápida e eficiente. Mas agora estou com planos maiores para o Macuco, talvez ele cresça e vire um pequeno browser, quem sabe?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/puelocesar.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/puelocesar.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/puelocesar.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/puelocesar.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/puelocesar.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/puelocesar.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/puelocesar.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/puelocesar.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/puelocesar.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/puelocesar.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/puelocesar.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/puelocesar.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/puelocesar.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/puelocesar.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=17&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://puelocesar.wordpress.com/2009/08/02/macuco-gmail-client-app/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50ef713c148fc34da7d4ae2ca37ec5c3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">puelocesar</media:title>
		</media:content>

		<media:content url="http://puelocesar.files.wordpress.com/2009/08/macuco1.png" medium="image">
			<media:title type="html">macuco</media:title>
		</media:content>

		<media:content url="http://puelocesar.files.wordpress.com/2009/08/picture-21.png" medium="image">
			<media:title type="html">screenshot macuco</media:title>
		</media:content>
	</item>
		<item>
		<title>Gmail App for Maemo</title>
		<link>http://puelocesar.wordpress.com/2009/07/19/gmail-app-for-maemo/</link>
		<comments>http://puelocesar.wordpress.com/2009/07/19/gmail-app-for-maemo/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 02:59:11 +0000</pubDate>
		<dc:creator>puelocesar</dc:creator>
				<category><![CDATA[Português]]></category>
		<category><![CDATA[Maemo]]></category>
		<category><![CDATA[Qt]]></category>

		<guid isPermaLink="false">http://puelocesar.wordpress.com/?p=7</guid>
		<description><![CDATA[Como eu disse no primeiro post, eu tive várias idéias de aplicativos para o Maemo. Hoje eu vou falar de uma delas, que apesar de bem besta, para mim vai ser bem útil. Pela primeira vez que usei o browser do maemo, fiquei surpreso em como ele renderiza as páginas como se eu estivesse no [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=7&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Como eu disse no primeiro post, eu tive várias idéias de aplicativos para o Maemo. Hoje eu vou falar de uma delas, que apesar de bem besta, para mim vai ser bem útil.</p>
<p>Pela primeira vez que usei o browser do maemo, fiquei surpreso em como ele renderiza as páginas como se eu estivesse no meu laptop. De fato, o N810 tem a mesma resolução do meu laptop (ok, sub-laptop) que é 800&#215;480. Porém, ao começar usar mais, reparei como algumas páginas são pesadas. O Gmail particularmente é uma página bem pesada, o que faz sentido, afinal é um aplicativo não um site.</p>
<p>Como eu não gosto de nenhum cliente de email (eles nunca integram direito com o gmail), resolvi tentar fazer o meu.</p>
<p>Primeira tentativa: Criar do zero um cliente usando alguma API. Resultado, não existe API oficial para o gmail, até existem algumas gambiarras como o <a title="libgmail" href="http://libgmail.sourceforge.net/">libgmail</a> (em python), porém se o google mudar a forma como são feitas as requisições http do gmail a biblioteca já era, e também após alguns testes, o libgmail estava fechando sozinho quando encontrava acentos. Acabei deixando de lado.</p>
<p>Foi aí que eu lembrei de como a interface do gmail para iPhone/Android é legal, e resolvi aproveitar do que já existe e é oficial.</p>
<p>A primeira etapa, foi enganar o gmail para ele achar que tenho um iPhone. Isso foi razoavelmente fácil, é só fazer seu navegador se identificar com a seguinte UserAgent string:</p>
<p><span style="color:#808080;">Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7C97d Safari/528.1</span></p>
<p>No QtWebKit foi bem fácil até, é só reimplementar o método userAgentForUrl do QWebPage para retornar essa string bonitona aí em cima.</p>
<p>A segunda parte é mais difícil, emular a rolagem cinética do Android e do iPhone. Bom, na verdade essa parte foi bem fácil, já que o desenvolvedor <a href="http://labs.trolltech.com/blogs/author/ariya/">Ariya</a> da QtSoftware demostrou em seu blog o <a title="flickcharm" href="http://labs.trolltech.com/blogs/2008/11/15/flick-list-or-kinetic-scrolling/">flickcharm</a>, uma classe Qt que simplesmente instala a rolagem cinética no meu QWebView. Piece of cake.</p>
<p>Agora é a vez de compilar para o Maemo. Perdi meia hora lendo a documentação do Scratchbox e do Maemo SDK, mas descobri que é muito fácil instalá-los no Ubuntu, basicamente é só rodar os scripts encontrados em <a title="maemo" href="http://maemo.org/development/sdks/maemo_4-1-2_diablo">http://maemo.org/development/sdks/maemo_4-1-2_diablo</a> e está tudo pronto, maravilha!</p>
<p>Instalar o Qt para compilar para Maemo foi bem fácil também, basicamente é só adicionar algumas URLs no source.list e instalar as bibliotecas do Qt com apt-get, assim como você faria no Ubuntu. (<a title="noko" href="http://wiki.forum.nokia.com/index.php/Getting_started_with_Qt_for_maemo">http://wiki.forum.nokia.com/index.php/Getting_started_with_Qt_for_maemo</a>)</p>
<p>Tudo instalado, portar meu app para o maemo foi a coisa mais fácil do mundo, é só setar o target do Scratchbox para DIABLO_ARMEL e rodar o famoso qmake &amp;&amp; make. Tudo pronto, foi só enviar o binário para o N810 e rodar:</p>
<div id="attachment_12" class="wp-caption alignnone" style="width: 510px"><img class="size-full wp-image-12" title="gmail_app_for_maemo" src="http://puelocesar.files.wordpress.com/2009/07/19072009389.jpg?w=500&#038;h=375" alt="Foto do Gmail App for Maemo" width="500" height="375" /><p class="wp-caption-text">Foto do Gmail App for Maemo</p></div>
<p>Também fiz um vídeo para demonstrar a rolagem cinética:</p>
<span style="text-align:center; display: block;"><a href="http://puelocesar.wordpress.com/2009/07/19/gmail-app-for-maemo/"><img src="http://img.youtube.com/vi/TbgPHc3VfgQ/2.jpg" alt="" /></a></span>
<p>O que ainda falta fazer: Empacotar, publicar o código e enviar para o Maemo Extras. Porém ainda tem alguns detalhes que eu ainda tenho que acertar no código antes disso, como por exemplo, descobrir porque o botão de fullscreen não funciona desse jeito que eu fiz, e tentar arrumar um problema do flickcharm que no Maemo ele precisa de dois cliques para ativar um link, porém no computador não.</p>
<p>Por enquanto é isso, obrigado por lerem até aqui, e mandem sugestões por favor.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/puelocesar.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/puelocesar.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/puelocesar.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/puelocesar.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/puelocesar.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/puelocesar.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/puelocesar.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/puelocesar.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/puelocesar.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/puelocesar.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/puelocesar.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/puelocesar.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/puelocesar.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/puelocesar.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=7&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://puelocesar.wordpress.com/2009/07/19/gmail-app-for-maemo/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50ef713c148fc34da7d4ae2ca37ec5c3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">puelocesar</media:title>
		</media:content>

		<media:content url="http://puelocesar.files.wordpress.com/2009/07/19072009389.jpg" medium="image">
			<media:title type="html">gmail_app_for_maemo</media:title>
		</media:content>
	</item>
		<item>
		<title>Olá mundo!</title>
		<link>http://puelocesar.wordpress.com/2009/07/19/ola-mundo/</link>
		<comments>http://puelocesar.wordpress.com/2009/07/19/ola-mundo/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 00:17:14 +0000</pubDate>
		<dc:creator>puelocesar</dc:creator>
				<category><![CDATA[Português]]></category>

		<guid isPermaLink="false">http://puelocesar.wordpress.com/?p=3</guid>
		<description><![CDATA[Olá internet! Este é o primeiro post do meu novo blog de desenvolvimento. Já fazem alguns anos que eu venho pensando em fazer um blog, mas nunca o fiz,  já que os fotologs, jotelogs e twitters da vida sempre foram o suficiente para a minha pequena necessidade comunicação com o mundo. Porém recentemente eu fui [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=3&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Olá internet! Este é o primeiro post do meu novo blog de desenvolvimento. Já fazem alguns anos que eu venho pensando em fazer um blog, mas nunca o fiz,  já que os fotologs, jotelogs e twitters da vida sempre foram o suficiente para a minha pequena necessidade comunicação com o mundo.</p>
<p>Porém recentemente eu fui o vencedor de um desafio de desenvolvimento em <a title="Qt" href="http://www.qtsoftware.com/products/" target="_blank">Qt</a>, e fui premiado, entre outras coisas com um Nokia N810, o que me torna um sério candidato a desenvolvedor de aplicativos para os NIT (Nokia Internet Tablet). Bom, pelo menos acho que foi essa a intenção do pessoal da Nokia me dando esse brinquedo nerd tão legal!</p>
<p>A moral é que eu acho que eles estavam certos, porque este pequeno aparelho é muito divertido de hackear, e eu já tenho várias idéias para novos aplicativos, então resolvi seguir a idéia do <a title="alecrimblog" href="http://franciscoalecrim.com/blog/" target="_blank">Francisco Alecrim</a>, um desenvolvedor lá do INdT que conheci no FISL 10, e criar um blog para compartilhar com o mundo minhas idéias e meus aplicativos.</p>
<p>ps: não pude deixar de comentar, esse painel do wordpress é fantástico, <a title="site rafs" href="http://rafaelcastro.net" target="_blank">@ancara</a>, vamos roubar umas idéias dele e colocar nos nossos layouts hein</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/puelocesar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/puelocesar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/puelocesar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/puelocesar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/puelocesar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/puelocesar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/puelocesar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/puelocesar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/puelocesar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/puelocesar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/puelocesar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/puelocesar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/puelocesar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/puelocesar.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=puelocesar.wordpress.com&amp;blog=8578343&amp;post=3&amp;subd=puelocesar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://puelocesar.wordpress.com/2009/07/19/ola-mundo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/50ef713c148fc34da7d4ae2ca37ec5c3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">puelocesar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
