<?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>Android Activity</title>
	<atom:link href="http://androidactivity.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://androidactivity.wordpress.com</link>
	<description>Problems and solutions in Android development</description>
	<lastBuildDate>Tue, 14 Feb 2012 14:21:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='androidactivity.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Android Activity</title>
		<link>http://androidactivity.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://androidactivity.wordpress.com/osd.xml" title="Android Activity" />
	<atom:link rel='hub' href='http://androidactivity.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Solution for R cannot be resolved</title>
		<link>http://androidactivity.wordpress.com/2011/10/10/solution-for-r-cannot-be-resolved/</link>
		<comments>http://androidactivity.wordpress.com/2011/10/10/solution-for-r-cannot-be-resolved/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 14:41:25 +0000</pubDate>
		<dc:creator>joaocruz04</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://androidactivity.wordpress.com/?p=40</guid>
		<description><![CDATA[Hi there! For many times I faced this error, and sometimes its cause was different from the previous one. It may occur anytime, and it is the R cannot be resolved error. There are two things (at least that I know or remember, I&#8217;ll keep this post updated as soon as I find more) that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=androidactivity.wordpress.com&amp;blog=27783394&amp;post=40&amp;subd=androidactivity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi there!</p>
<p>For many times I faced this error, and sometimes its cause was different from the previous one. It may occur anytime, and it is the R cannot be resolved error.</p>
<p>There are two things (at least that I know or remember, I&#8217;ll keep this post updated as soon as I find more) that may have cause it:</p>
<p>- The Eclipse imported the wrong R class file</p>
<p>- There is some error at some XML file that is preventing Eclipse to build the project and preventing the generation of the R class.</p>
<p>So for the first issue, if you see at the import section</p>
<pre>import android.R;</pre>
<p>delete it.</p>
<p>For the second issue, you have to solve your errors at the XML files first, and then when you build your project, your R error will be gone. (You may have to clean your project first).</p>
<p>Hope it helps!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/androidactivity.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/androidactivity.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/androidactivity.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/androidactivity.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/androidactivity.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/androidactivity.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/androidactivity.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/androidactivity.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/androidactivity.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/androidactivity.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/androidactivity.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/androidactivity.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/androidactivity.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/androidactivity.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=androidactivity.wordpress.com&amp;blog=27783394&amp;post=40&amp;subd=androidactivity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://androidactivity.wordpress.com/2011/10/10/solution-for-r-cannot-be-resolved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c723445eb104d43f74f416974f4447f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">João Cruz</media:title>
		</media:content>
	</item>
		<item>
		<title>Use DIP, SP metrics programmatically</title>
		<link>http://androidactivity.wordpress.com/2011/10/04/use-dip-sp-metrics-programmatically/</link>
		<comments>http://androidactivity.wordpress.com/2011/10/04/use-dip-sp-metrics-programmatically/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 15:04:32 +0000</pubDate>
		<dc:creator>joaocruz04</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://androidactivity.wordpress.com/?p=38</guid>
		<description><![CDATA[Hi guys! Today I had this problem where I needed to create some TextViews inside a TableRow, but I needed to specify its setMinWidth with some value in the SP metrics, like you do at the XML file: setWidth=&#8221;100sp&#8221;. The problem is that setMinWidth or setWidth are called giving a number in pixels. So I searched [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=androidactivity.wordpress.com&amp;blog=27783394&amp;post=38&amp;subd=androidactivity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi guys!</p>
<p>Today I had this problem where I needed to create some <em>TextViews</em> inside a <em>TableRow</em>, but I needed to specify its <em>setMinWidth</em> with some value in the SP metrics, like you do at the XML file: <em>setWidth=&#8221;100sp&#8221;</em>. The problem is that <em>setMinWidth</em> or <em>setWidth</em> are called giving a number in pixels. So I searched a little bit and found this simple solution.</p>
<p>The goal is to calculate the number of pixels according to a given value in the SP metrics. Converting 20sp into pixels is done by doing</p>
<pre>TextView tv0 = new TextView(this);
int px = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 20, getResources().getDisplayMetrics());
tv0.setMinimumWidth(px);</pre>
<p>And that&#8217;s it!<br />
If you want it with the DIP metrics, you just need to change the <em>TypedValue</em> from <em>TypedValue.COMPLEX_UNIT_SP</em> to <em>TypedValue.COMPLEX_UNIT_DIP</em> or whatever other metric you want to use.</p>
<p>Hope it was helpful.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/androidactivity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/androidactivity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/androidactivity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/androidactivity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/androidactivity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/androidactivity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/androidactivity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/androidactivity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/androidactivity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/androidactivity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/androidactivity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/androidactivity.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/androidactivity.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/androidactivity.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=androidactivity.wordpress.com&amp;blog=27783394&amp;post=38&amp;subd=androidactivity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://androidactivity.wordpress.com/2011/10/04/use-dip-sp-metrics-programmatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c723445eb104d43f74f416974f4447f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">João Cruz</media:title>
		</media:content>
	</item>
		<item>
		<title>Solution for OutOfMemoryError: bitmap size exceeds VM budget</title>
		<link>http://androidactivity.wordpress.com/2011/09/24/solution-for-outofmemoryerror-bitmap-size-exceeds-vm-budget/</link>
		<comments>http://androidactivity.wordpress.com/2011/09/24/solution-for-outofmemoryerror-bitmap-size-exceeds-vm-budget/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 16:53:11 +0000</pubDate>
		<dc:creator>joaocruz04</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://androidactivity.wordpress.com/?p=19</guid>
		<description><![CDATA[Some days ago I was facing this OutOfMemoryError error when developing an Android application. Then I Google&#8217;d it and found the reason that causes this type of error: I am using too much images and they are not released, being kept in memory and eventually the memory gets full. According to Android Developers your device has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=androidactivity.wordpress.com&amp;blog=27783394&amp;post=19&amp;subd=androidactivity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Some days ago I was facing this OutOfMemoryError error when developing an Android application. Then I Google&#8217;d it and found the reason that causes this type of error: I am using too much images and they are not released, being kept in memory and eventually the memory gets full.</p>
<p style="text-align:justify;">According to <a title="Android Developers" href="http://developer.android.com/resources/articles/avoiding-memory-leaks.html" target="_blank">Android Developers</a> your device has at least 16MB of heap space (T-Mobile G1) for storing your application data. But as Yekmer said in  <a title="Yekmer's Posterous" href="http://yekmer.posterous.com/android-memory-management">Yekmer&#8217;s Posterous</a> , images are not stored in the heap space. The space reserved for images in an Android application is very small, and having a big application using a lot of images, may easily lead to the OutOfMemoryError.</p>
<p style="text-align:justify;">So lets see an example.</p>
<p style="text-align:justify;">Imagine that I want an application that do something. For doing &#8220;something&#8221;, the user needs to pass through a series of steps, lets say 10. So I create 10 activities, one leading to another. But because my application is very awesome, I want each activity to have a different background image, and some other image in it. Both images have decent resolutions (because I want to have a minimum image quality for big resolution devices). Also there is a button on each, that will move to the next activity. Both background and the image are configured in the layout xml of the activity.</p>
<p style="text-align:justify;"><a href="http://androidactivity.files.wordpress.com/2011/09/sketch.png"><img class="aligncenter size-medium wp-image-30" title="sketch" src="http://androidactivity.files.wordpress.com/2011/09/sketch.png?w=300&#038;h=202" alt="" width="300" height="202" /></a></p>
<p style="text-align:justify;">Everything seems nice and simple. But when you run it, you may reach activity 8 or 9, never reaching the 10th Activity, because you may face the OutOfMemoryError. So what can I do? I really need those 10 steps, and I want the images to be stored, because I want to be able to press &#8220;back&#8221; and return to my previous activity!</p>
<p style="text-align:justify;">This problem gave me a lot of headaches, and I had to search a lot for a decent solution. The solution is actually very simple: If I am storing a lot of images, and each Activity has 2 images, and only 1 activity is shown at a time, I could only store 2 images in 2 global variables, and all Activities would reuse those 2 images. Whenever it&#8217;s needed to go to the next Activity, that Activity would access to the global variables, changing its value, and then use them.</p>
<p style="text-align:justify;">The only thing I need to do is:</p>
<p style="text-align:justify;">Store the two images at the Application class (So they can accessed from all the Activities)</p>
<pre>public class MyApp extends Application {
   private ImageView img; // the image
   private RelativeLayout bgimg; // layout of the activity
   private Bitmap nav; // the image in the Bitmap format
   private Bitmap background; // background in the Bitmap format
   private BitmapDrawable bg; // background in the Drawable format
}</pre>
<p style="text-align:justify;">I need also to create two methods at the Application class for each type of image: One that free the images, and other to allocate the new ones, replacing the previous one.</p>
<p style="text-align:justify;">So for the background we have</p>
<pre>public void loadBackground(int id) {
   background = BitmapFactory.decodeStream(getResources().openRawResource(id));
   bg = new BitmapDrawable(background);
   bgimg.setBackgroundDrawable(bg);
}
public void unloadBackground() {
   if (bgimg != null)
   bgimg.setBackgroundDrawable(null);
   if (bg!= null) {
      background.recycle();
   }
   bg = null;
}</pre>
<p style="text-align:justify;">and for the second image we have</p>
<pre>public void loadBitmap(int id) {
   nav = BitmapFactory.decodeStream(getResources().openRawResource(id));
   img.setImageBitmap(nav);
}
public void unloadBitmap() {
   if (img != null)
   img.setImageBitmap(null);
   if (nav!= null) {
      nav.recycle();
   }
   nav = null;
}</pre>
<p style="text-align:justify;">I also created this two methods in the Application class to simplify the code at the Activities:</p>
<pre>public void setBackground(RelativeLayout i, int sourceid) {
   unloadBackground();
   bgimg = i;
   loadBackground(sourceid);
}

public void setImage(ImageView i, int sourceid) {
   unloadBitmap();
   img = i;
   loadBitmap(sourceid);
}</pre>
<p style="text-align:justify;">Now we are going to call this methods in each Activity. Since we want to release the images from the last Activity to save space, we will call this methods at the onCreate() method, and because we may press the back button to go back to the previous activity, we want to call this methods at the onResume() methods, sou you will need to override it.</p>
<pre>public class Activity1 extends Activity {
   private ImageView img; // The second image
   private MyApp app;
   private int navid = R.id.imageView1; // id of the imageView
   private int navdid = R.drawable.secondimage; // id of the image drawable
   private int bgid = R.drawable.bg1; // id of the background drawable
   private int layoutid = R.id.layout1; // id of the activity layout
   private RelativeLayout layout; // the layout of the activity

   @Override
   public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.l1);
      app = (MyApp)getApplication();
      Button b = (Button) findViewById(R.id.button1);
      img = (ImageView)findViewById(navid);
      app.setNavigation(img, navdid); // free last image, and store new one
      layout = (RelativeLayout) findViewById(layoutid);
      app.setBackground(layout, bgid); // free last background, and store new one
      ...
   }
   @Override
   protected void onResume() {
      super.onResume();
      img = (ImageView)findViewById(navid);
      app.setNavigation(img, navdid);
      layout = (RelativeLayout) findViewById(layoutid);
      app.setBackground(layout, bgid);
   }
}</pre>
<p style="text-align:justify;">And that&#8217;s all. With this implemented in each Activity, you will have at most, 2 images loaded in your application, when in theory you would need to have 20!</p>
<p style="text-align:justify;">The disadvantages of using this implementation are that the application may get a bit slower when going from one Activity to another, and when it goes, you may see the images disappearing before the screen changes to the new one. One solution for this is that instead of storing just two images, you buffer 3 pairs: the current pair for the present Activity, and the other two pairs for the previous Activity and the following Activity. It will be required a little bit more space, but you wouldn&#8217;t experience the images disappearing when changing between Activities.</p>
<p style="text-align:justify;">I hope this post had helped you!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/androidactivity.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/androidactivity.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/androidactivity.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/androidactivity.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/androidactivity.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/androidactivity.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/androidactivity.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/androidactivity.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/androidactivity.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/androidactivity.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/androidactivity.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/androidactivity.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/androidactivity.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/androidactivity.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=androidactivity.wordpress.com&amp;blog=27783394&amp;post=19&amp;subd=androidactivity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://androidactivity.wordpress.com/2011/09/24/solution-for-outofmemoryerror-bitmap-size-exceeds-vm-budget/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c723445eb104d43f74f416974f4447f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">João Cruz</media:title>
		</media:content>

		<media:content url="http://androidactivity.files.wordpress.com/2011/09/sketch.png?w=300" medium="image">
			<media:title type="html">sketch</media:title>
		</media:content>
	</item>
		<item>
		<title>onCreate()</title>
		<link>http://androidactivity.wordpress.com/2011/09/23/oncreate/</link>
		<comments>http://androidactivity.wordpress.com/2011/09/23/oncreate/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 12:03:14 +0000</pubDate>
		<dc:creator>joaocruz04</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[introduction]]></category>

		<guid isPermaLink="false">http://androidactivity.wordpress.com/?p=5</guid>
		<description><![CDATA[Hi developer! My name is João Cruz, and I am an Android developer. When I finished my Mobile Computation course at Instituto Superior Técnico in Lisbon (Portugal) I found myself loving the Android platform and then started to go deeper into application development, by doing some small applications and later being an employee at Beware [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=androidactivity.wordpress.com&amp;blog=27783394&amp;post=5&amp;subd=androidactivity&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><a href="http://androidactivity.files.wordpress.com/2011/09/android-logo-white.png"><br />
<img class="aligncenter size-medium wp-image-35" title="android-logo-white" src="http://androidactivity.files.wordpress.com/2011/09/android-logo-white.png?w=300&#038;h=300" alt="" width="300" height="300" /></a></p>
<p style="text-align:justify;">Hi developer!</p>
<p style="text-align:justify;">My name is João Cruz, and I am an Android developer.</p>
<p style="text-align:justify;">When I finished my Mobile Computation course at Instituto Superior Técnico in Lisbon (Portugal) I found myself loving the Android platform and then started to go deeper into application development, by doing some small applications and later being an employee at Beware Mobile.</p>
<p style="text-align:justify;">Doing so, I began developing bigger applications, which gave me a lot of headaches due to many Android development related issues, where even Google didn&#8217;t help that much to solve.</p>
<p style="text-align:justify;">So I created this blog to share to you some problems I found during development of applications, and how I solved them. Some are commons problems, other are more sophisticated. I hope this blog helps you out at some point!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/androidactivity.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/androidactivity.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/androidactivity.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/androidactivity.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/androidactivity.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/androidactivity.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/androidactivity.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/androidactivity.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/androidactivity.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/androidactivity.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/androidactivity.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/androidactivity.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/androidactivity.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/androidactivity.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=androidactivity.wordpress.com&amp;blog=27783394&amp;post=5&amp;subd=androidactivity&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://androidactivity.wordpress.com/2011/09/23/oncreate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c723445eb104d43f74f416974f4447f6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">João Cruz</media:title>
		</media:content>

		<media:content url="http://androidactivity.files.wordpress.com/2011/09/android-logo-white.png?w=300" medium="image">
			<media:title type="html">android-logo-white</media:title>
		</media:content>
	</item>
	</channel>
</rss>
