<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comentarios para mobile development</title>
	<atom:link href="http://mobile.davidocs.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://mobile.davidocs.com</link>
	<description>Building Android and iPhone applications from scratch</description>
	<lastBuildDate>Wed, 11 Jan 2012 17:49:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>Comentario en Cómo añadir iconos a un ListView en Android por Juccis</title>
		<link>http://mobile.davidocs.com/android/como-anadir-iconos-a-un-listview-en-android/comment-page-1/#comment-121</link>
		<dc:creator>Juccis</dc:creator>
		<pubDate>Wed, 11 Jan 2012 17:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=139#comment-121</guid>
		<description>Saludos muy buen tutorial, tengo una pregunta cuando cambio el Layout en iconrows.xml de Relative
a Linear ya no me funciona el clic sobre la Lista???

como podria solucionarlo???</description>
		<content:encoded><![CDATA[<p>Saludos muy buen tutorial, tengo una pregunta cuando cambio el Layout en iconrows.xml de Relative<br />
a Linear ya no me funciona el clic sobre la Lista???</p>
<p>como podria solucionarlo???</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comentario en Diseñando la aplicación, uso de TabHost en Android por HYT</title>
		<link>http://mobile.davidocs.com/android/disenando-la-aplicacion-uso-de-tabhost-en-android/comment-page-1/#comment-119</link>
		<dc:creator>HYT</dc:creator>
		<pubDate>Fri, 30 Dec 2011 17:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=101#comment-119</guid>
		<description>ESTO ES UNA MIERDA DE TUTORIAL. EXPLICAS TODO POR ENCIMA.</description>
		<content:encoded><![CDATA[<p>ESTO ES UNA MIERDA DE TUTORIAL. EXPLICAS TODO POR ENCIMA.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comentario en Creando la primera aplicación con Android por Arón</title>
		<link>http://mobile.davidocs.com/android/creando-la-primera-aplicacion-con-android/comment-page-1/#comment-115</link>
		<dc:creator>Arón</dc:creator>
		<pubDate>Sun, 11 Dec 2011 22:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=55#comment-115</guid>
		<description>EXCELENTE, exitos</description>
		<content:encoded><![CDATA[<p>EXCELENTE, exitos</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comentario en Cómo añadir iconos a un ListView en Android por Carlos</title>
		<link>http://mobile.davidocs.com/android/como-anadir-iconos-a-un-listview-en-android/comment-page-1/#comment-114</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Tue, 22 Nov 2011 16:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=139#comment-114</guid>
		<description>Hola creo que podrías ayudarme  tengo algo parecido que es un xml que contiene un textview con un checbox, lleno con un cursor el listview , el problema va cuando le hago clik a un chekbox  este se marca sin problema pero al hacer scrooll en la lista aparece otro elemento como si le hubiera dado click tambien, segun lei es por el mismo sistema de android que usa la vista impresa para todas las que a continuacion le siguen el problema es que no le doy como solucionarlo aca te pego mi clase para ver si puedes ayudarme a solucionarlo. Gracias

public class ingredientes extends ListActivity {
	/** Called when the activity is first created. */

	protected SQLiteDatabase db;
	protected Cursor cursor;
	protected ListAdapter adapter;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.ingredientes);
		db = (new DatabaseHelper(this)).getWritableDatabase();
		cursor = db.rawQuery(
				&quot;SELECT _id, nombre_ingrediente FROM ingredientes&quot;, null);
		/*
		 * adapter = new SimpleCursorAdapter( this,
		 * R.layout.listado_ingredientes, cursor, new String[]
		 * {&quot;nombre_ingrediente&quot;}, new int[] {R.id.txt_nombre_ingrediente});
		 * setListAdapter(adapter);
		 * 
		 * 
		 * }
		 */
		setListAdapter(new CheckboxCursorAdapter(this,
				R.layout.listado_ingredientes, cursor,
				new String[] { &quot;nombre_ingrediente&quot; },
				new int[] { R.id.txt_nombre_ingrediente }));

	}

	public class CheckboxCursorAdapter extends SimpleCursorAdapter {

		private Cursor c;
		private Context context;

		public CheckboxCursorAdapter(Context context, int layout, Cursor c,
				String[] from, int[] to) {
			super(context, layout, c, from, to);
			this.c = c;
			this.context = context;

		}

		public View getView(int pos, View inView, ViewGroup parent) {
			ViewHolder holder = null;
			View v = inView;
			if (v == null &#124;&#124; !(v.getTag() instanceof ViewHolder)) {
				LayoutInflater inflater = (LayoutInflater) context
						.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
				v = inflater.inflate(R.layout.listado_ingredientes, null);
				holder = new ViewHolder();
				holder.txtingrediente = (TextView) v
						.findViewById(R.id.txt_nombre_ingrediente);
				holder.cBox = (CheckBox) v.findViewById(R.id.chkItem);
				v.setTag(holder);
			} else {

				holder = (ViewHolder) v.getTag();
			}
			this.c.moveToPosition(pos);

			holder.txtingrediente.setText(this.c.getString(this.c
					.getColumnIndex(&quot;nombre_ingrediente&quot;)));

			return (v);

		}

	}

	private class ViewHolder {
		CheckBox cBox;
		TextView txtingrediente;
	}

	public void buscar_recetas1(View view) {

		// prueba de array para mandar con el intent hasta que pueda capturar
		// los checkbox marcados
		int numeros[] = { 1, 2, 3 };

		Intent intent = new Intent(this, resultado_recetas.class);
		intent.putExtra(&quot;idingredientes&quot;, numeros);

		startActivity(intent);

	}

}</description>
		<content:encoded><![CDATA[<p>Hola creo que podrías ayudarme  tengo algo parecido que es un xml que contiene un textview con un checbox, lleno con un cursor el listview , el problema va cuando le hago clik a un chekbox  este se marca sin problema pero al hacer scrooll en la lista aparece otro elemento como si le hubiera dado click tambien, segun lei es por el mismo sistema de android que usa la vista impresa para todas las que a continuacion le siguen el problema es que no le doy como solucionarlo aca te pego mi clase para ver si puedes ayudarme a solucionarlo. Gracias</p>
<p>public class ingredientes extends ListActivity {<br />
	/** Called when the activity is first created. */</p>
<p>	protected SQLiteDatabase db;<br />
	protected Cursor cursor;<br />
	protected ListAdapter adapter;</p>
<p>	@Override<br />
	public void onCreate(Bundle savedInstanceState) {<br />
		super.onCreate(savedInstanceState);<br />
		requestWindowFeature(Window.FEATURE_NO_TITLE);<br />
		setContentView(R.layout.ingredientes);<br />
		db = (new DatabaseHelper(this)).getWritableDatabase();<br />
		cursor = db.rawQuery(<br />
				&#8220;SELECT _id, nombre_ingrediente FROM ingredientes&#8221;, null);<br />
		/*<br />
		 * adapter = new SimpleCursorAdapter( this,<br />
		 * R.layout.listado_ingredientes, cursor, new String[]<br />
		 * {&#8220;nombre_ingrediente&#8221;}, new int[] {R.id.txt_nombre_ingrediente});<br />
		 * setListAdapter(adapter);<br />
		 *<br />
		 *<br />
		 * }<br />
		 */<br />
		setListAdapter(new CheckboxCursorAdapter(this,<br />
				R.layout.listado_ingredientes, cursor,<br />
				new String[] { &#8220;nombre_ingrediente&#8221; },<br />
				new int[] { R.id.txt_nombre_ingrediente }));</p>
<p>	}</p>
<p>	public class CheckboxCursorAdapter extends SimpleCursorAdapter {</p>
<p>		private Cursor c;<br />
		private Context context;</p>
<p>		public CheckboxCursorAdapter(Context context, int layout, Cursor c,<br />
				String[] from, int[] to) {<br />
			super(context, layout, c, from, to);<br />
			this.c = c;<br />
			this.context = context;</p>
<p>		}</p>
<p>		public View getView(int pos, View inView, ViewGroup parent) {<br />
			ViewHolder holder = null;<br />
			View v = inView;<br />
			if (v == null || !(v.getTag() instanceof ViewHolder)) {<br />
				LayoutInflater inflater = (LayoutInflater) context<br />
						.getSystemService(Context.LAYOUT_INFLATER_SERVICE);<br />
				v = inflater.inflate(R.layout.listado_ingredientes, null);<br />
				holder = new ViewHolder();<br />
				holder.txtingrediente = (TextView) v<br />
						.findViewById(R.id.txt_nombre_ingrediente);<br />
				holder.cBox = (CheckBox) v.findViewById(R.id.chkItem);<br />
				v.setTag(holder);<br />
			} else {</p>
<p>				holder = (ViewHolder) v.getTag();<br />
			}<br />
			this.c.moveToPosition(pos);</p>
<p>			holder.txtingrediente.setText(this.c.getString(this.c<br />
					.getColumnIndex(&#8220;nombre_ingrediente&#8221;)));</p>
<p>			return (v);</p>
<p>		}</p>
<p>	}</p>
<p>	private class ViewHolder {<br />
		CheckBox cBox;<br />
		TextView txtingrediente;<br />
	}</p>
<p>	public void buscar_recetas1(View view) {</p>
<p>		// prueba de array para mandar con el intent hasta que pueda capturar<br />
		// los checkbox marcados<br />
		int numeros[] = { 1, 2, 3 };</p>
<p>		Intent intent = new Intent(this, resultado_recetas.class);<br />
		intent.putExtra(&#8220;idingredientes&#8221;, numeros);</p>
<p>		startActivity(intent);</p>
<p>	}</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comentario en Ciclo de vida de una Activity (Lifecycle) por Laila Gallagher</title>
		<link>http://mobile.davidocs.com/android/ciclo-de-vida-de-una-activity-lifecycle/comment-page-1/#comment-94</link>
		<dc:creator>Laila Gallagher</dc:creator>
		<pubDate>Sat, 20 Aug 2011 00:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=57#comment-94</guid>
		<description>;-) I clicked a bookmark to your text from Google search result AD consultant Themelis Cuiper -  you must be doing an excellent job as he is pointing towards you.</description>
		<content:encoded><![CDATA[<p> <img src='http://mobile.davidocs.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I clicked a bookmark to your text from Google search result AD consultant Themelis Cuiper &#8211;  you must be doing an excellent job as he is pointing towards you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comentario en Primeros pasos con Android por Sergio</title>
		<link>http://mobile.davidocs.com/android/primeros-pasos-con-android/comment-page-1/#comment-91</link>
		<dc:creator>Sergio</dc:creator>
		<pubDate>Thu, 28 Jul 2011 07:21:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=30#comment-91</guid>
		<description>Gracias, me sirvió</description>
		<content:encoded><![CDATA[<p>Gracias, me sirvió</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comentario en Cómo añadir iconos a un ListView en Android por Carpio</title>
		<link>http://mobile.davidocs.com/android/como-anadir-iconos-a-un-listview-en-android/comment-page-1/#comment-81</link>
		<dc:creator>Carpio</dc:creator>
		<pubDate>Thu, 12 May 2011 20:00:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=139#comment-81</guid>
		<description>Tremendo tutorial!! estaba buscando para meter data en un ListAcitvity y funciono al pelo!

gracias!!</description>
		<content:encoded><![CDATA[<p>Tremendo tutorial!! estaba buscando para meter data en un ListAcitvity y funciono al pelo!</p>
<p>gracias!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comentario en Cómo añadir iconos a un ListView en Android por Victor</title>
		<link>http://mobile.davidocs.com/android/como-anadir-iconos-a-un-listview-en-android/comment-page-1/#comment-78</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Fri, 01 Apr 2011 14:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=139#comment-78</guid>
		<description>Hey men muchas gracias, pero k onda podrías explicarme porque
La aplicación anda muy lenta, porfa ia intente hacerlo pero la Vds. Raramente</description>
		<content:encoded><![CDATA[<p>Hey men muchas gracias, pero k onda podrías explicarme porque<br />
La aplicación anda muy lenta, porfa ia intente hacerlo pero la Vds. Raramente</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comentario en Diseñando la aplicación, uso de TabHost en Android por Jenny</title>
		<link>http://mobile.davidocs.com/android/disenando-la-aplicacion-uso-de-tabhost-en-android/comment-page-1/#comment-75</link>
		<dc:creator>Jenny</dc:creator>
		<pubDate>Mon, 28 Feb 2011 21:58:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=101#comment-75</guid>
		<description>Hola, super chevere este ejemplo todo se muestra en la patalla super bien pero tengo el mismo problema que patri, en el main.xml no muestra nada osea para poder mirar como esta el diseño, me pueden ayudar a solucionar este problema, Gracias</description>
		<content:encoded><![CDATA[<p>Hola, super chevere este ejemplo todo se muestra en la patalla super bien pero tengo el mismo problema que patri, en el main.xml no muestra nada osea para poder mirar como esta el diseño, me pueden ayudar a solucionar este problema, Gracias</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comentario en Diseñando la aplicación, uso de TabHost en Android por Patri</title>
		<link>http://mobile.davidocs.com/android/disenando-la-aplicacion-uso-de-tabhost-en-android/comment-page-1/#comment-74</link>
		<dc:creator>Patri</dc:creator>
		<pubDate>Fri, 25 Feb 2011 12:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-xperience.com/mobiledev/?p=101#comment-74</guid>
		<description>Hola, 
He seguido el tutorial al pie de la letra, la verdad que esta genial, pero creo que hago algo mal por que cuando lo paso al emulador no me salen las pestañas y no me da error pero en el archivo mail.xml en el graphical layout pone &quot;Error during post inflation process: The Framelayout for the TabHost has no content.Rendering failed&quot; es como si estuviera vacio.
Muchas gracias, Patri</description>
		<content:encoded><![CDATA[<p>Hola,<br />
He seguido el tutorial al pie de la letra, la verdad que esta genial, pero creo que hago algo mal por que cuando lo paso al emulador no me salen las pestañas y no me da error pero en el archivo mail.xml en el graphical layout pone &#8220;Error during post inflation process: The Framelayout for the TabHost has no content.Rendering failed&#8221; es como si estuviera vacio.<br />
Muchas gracias, Patri</p>
]]></content:encoded>
	</item>
</channel>
</rss>

