<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2994460548739007521</id><updated>2024-09-08T12:39:18.239-03:00</updated><category term="Android"/><category term="Ruby on Rails"/><category term="tutoriales"/><category term="Recomendaciones de sitios"/><category term="Troubleshooting"/><category term="Codigo"/><category term="Blog gadgets"/><category term="Herramientas"/><category term="Ubuntu"/><category term="Comandos"/><category term="Google"/><category term="Rhodes"/><category term="Chrome"/><category term="Gmail"/><category term="Heroku"/><category term="Hosting dominios y otros"/><category term="Java"/><category term="Plug-in"/><category term="SVN"/><category term="Twitter"/><category term="iTunes"/><category term="Blogger"/><category term="Browsers"/><category term="CDmon"/><category term="CSS"/><category term="Chrome beta"/><category term="Dropbox"/><category term="Gems"/><category term="Hardware"/><category term="Noticias flash"/><category term="Office 2007"/><category term="Pensando en el futuro"/><category term="Rake"/><category term="Roku"/><category term="Trucos"/><category term="URL"/><category term="Videos"/><category term="Windows7"/><category term="XML"/><category term="base de datos"/><category term="iPhone apps"/><category term="pdf"/><category term="rss"/><category term="AFNetworking"/><category term="API Google"/><category term="Actualidad"/><category term="Adobe"/><category term="Amazon Products"/><category term="Android Keyboard"/><category term="Android apps"/><category term="Antivirus"/><category term="Apple Products"/><category term="Bios"/><category term="Bootstrap"/><category term="Eclipse"/><category term="Encoding"/><category term="Error Fix"/><category term="Facebook"/><category term="Firefox"/><category term="Fonts"/><category term="Fotos"/><category term="FreeDOS"/><category term="Git"/><category term="Glyphicon"/><category term="Google Maps"/><category term="Google Play"/><category term="Google Products"/><category term="Grub"/><category term="Gtalk"/><category term="HTML"/><category term="Hotmail"/><category term="How-to"/><category term="Ideas interesantes"/><category term="Javascript"/><category term="Jetpack"/><category term="Kindle"/><category term="Kindle Paperwhite"/><category term="Linux"/><category term="ListView"/><category term="Microsoft Office"/><category term="Mozilla"/><category term="MySql"/><category term="Nexus 7"/><category term="Nexus One"/><category term="Picasa"/><category term="Podcast"/><category term="Postgres"/><category term="Programas recomendados"/><category term="Rails4"/><category term="RegEx"/><category term="ScrollView"/><category term="Sliding Drawer"/><category term="TED"/><category term="TextView"/><category term="Tips"/><category term="Ubiquity"/><category term="VPN"/><category term="Visual Studio"/><category term="Windows"/><category term="Word"/><category term="XCode"/><category term="YouTube"/><category term="busqueda"/><category term="iPad 3"/><category term="igoogle"/><title type='text'>Cabeza de Teclado</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>112</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-4616799678914511635</id><published>2014-06-06T17:14:00.002-04:00</published><updated>2014-06-06T17:14:24.373-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Heroku"/><category scheme="http://www.blogger.com/atom/ns#" term="Postgres"/><title type='text'>Exportar base de datos heroku e importarla a base de datos local</title><content type='html'>&lt;div&gt;
&lt;br /&gt;
Sacado del link &lt;a href=&quot;https://devcenter.heroku.com/articles/heroku-postgres-import-export&quot;&gt;oficial de heroku&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Exportar base de datos de heroku, primero la capturamos en un backup (deben agregar el addon &lt;a href=&quot;https://addons-sso.heroku.com/apps/timepoints/addons/pgbackups:auto-month&quot;&gt;pgbackups de heroku&lt;/a&gt;) y luego la pasamos a un archivo, en este caso lo llamaremos latest.dump&lt;br /&gt;
&lt;pre style=&quot;background-color: #434e56; background-image: url(https://devcenter.heroku.com/assets/public/pre_code_background.png); background-repeat: repeat repeat; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(63, 70, 76); color: #f8f8f8; font-family: Monaco, monospace; font-size: 12px; line-height: 18px; margin-bottom: 11px; margin-top: 11px; outline: 0px; overflow: auto; padding: 12px; vertical-align: baseline; word-spacing: normal;&quot;&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: transparent; border: 0px; color: #aeaeae; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;function&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; heroku pgbackups:capture
&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;background-color: transparent; border: 0px; color: #aeaeae; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;function&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; curl -o latest.dump `heroku pgbackups:url`&lt;/span&gt;&lt;/pre&gt;
Si al correr la primera linea les aparece que deben eliminar un backup, dado que ya generaron varios, tienen &lt;a href=&quot;http://stackoverflow.com/questions/11605704/shared-database-database-url-backup-error-must-delete-a-backup-befor&quot;&gt;dos opciones&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;heroku pgbackups:capture --expire&lt;/code&gt;&lt;/pre&gt;
lo que hace una captura eliminando el backup más viejo u obtener los backups generados y eliminar alguno en particular:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;heroku pgbackups&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;heroku pgbackups:destroy b003&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
donde b003 en uno de los backups que mostró el primer comando.&lt;br /&gt;
&lt;br /&gt;
Para importar a la base de datos local:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #434e56; background-image: url(https://devcenter.heroku.com/assets/public/pre_code_background.png); background-repeat: repeat repeat; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(63, 70, 76); color: #f8f8f8; font-family: Monaco, monospace; font-size: 12px; line-height: 18px; margin-bottom: 11px; margin-top: 11px; outline: 0px; overflow: auto; padding: 12px; vertical-align: baseline; word-spacing: normal;&quot;&gt;&lt;span class=&quot;function&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$ pg_restore --verbose --clean --no-acl --no-owner -h localhost -U myuser -d mydb latest.dump&lt;/span&gt;&lt;/pre&gt;
donde deben remplazar myuser por el usuario de base de datos que tienen, mydb por el nombre de la base de datos donde deseas importar y latest.dump el nombre del archivo que desean importar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; height=&quot;16&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6794720801899771&quot;;
/* 468x60, creado 17/03/10 */
google_ad_slot = &quot;0588871097&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/4616799678914511635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/4616799678914511635?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4616799678914511635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4616799678914511635'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2014/06/exportar-base-de-datos-heroku-e.html' title='Exportar base de datos heroku e importarla a base de datos local'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-9011215951794713859</id><published>2014-03-28T20:47:00.001-03:00</published><updated>2014-03-28T20:47:46.734-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bootstrap"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Fonts"/><category scheme="http://www.blogger.com/atom/ns#" term="Glyphicon"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails4"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby on Rails"/><title type='text'>Boostrap Glyphicon y Rails 4</title><content type='html'>&lt;div&gt;
Tratando de usar la versión gratuita de&amp;nbsp;&lt;a href=&quot;http://glyphicons.com/&quot;&gt;Glyphicon&lt;/a&gt;, disponible para &lt;a href=&quot;http://getbootstrap.com/components/#glyphicons&quot;&gt;bootstrap&lt;/a&gt;,&amp;nbsp; y rails 4 tuve problemas, pero encontrés la solución en &lt;a href=&quot;http://stackoverflow.com/questions/20255711/ruby-on-rails-bootstrap-glyphicons-not-working&quot;&gt;stackoverflow&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Aquí la solución:&lt;br /&gt;
&lt;br /&gt;
Se debe agregar el siguiente código a&amp;nbsp;&lt;span style=&quot;background-color: #eeeeee; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 17.804800033569336px; white-space: pre-wrap;&quot;&gt;application.css:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;@font-face {
  font-family: &#39;Glyphicons Halflings&#39;;
  src: url(asset_path(&#39;glyphicons-halflings-regular.eot&#39;));
  src: url(asset_path(&#39;glyphicons-halflings-regular.eot?#iefix&#39;)) format(&#39;embedded-opentype&#39;), url(asset_path(&#39;glyphicons-halflings-regular.woff&#39;)) format(&#39;woff&#39;), url(asset_path(&#39;glyphicons-halflings-regular.ttf&#39;)) format(&#39;truetype&#39;), url(asset_path(&#39;glyphicons-halflings-regular.svg#glyphicons_halflingsregular&#39;)) format(&#39;svg&#39;);
}&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
y agregar lo siguiente a application.rb&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 1px 5px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;config.assets.paths &amp;lt;&amp;lt; &quot;#{Rails}/vendor/assets/fonts&quot;&lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;
y listo!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; height=&quot;16&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6794720801899771&quot;;
/* 468x60, creado 17/03/10 */
google_ad_slot = &quot;0588871097&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/9011215951794713859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/9011215951794713859?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/9011215951794713859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/9011215951794713859'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2014/03/boostrap-glyphicon-y-rails-4.html' title='Boostrap Glyphicon y Rails 4'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-5679621255358555369</id><published>2014-01-29T15:32:00.002-03:00</published><updated>2014-01-29T15:32:30.841-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Android Keyboard"/><title type='text'>Android: Ajustar pantalla cuando aparece el teclado</title><content type='html'>&lt;div&gt;
Android permite ajustar la pantalla cuando se aparece el teclado, existen dos opciones que se pueden resumir en una sola linea:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 17.804800033569336px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:windowSoftInputMode=&quot;stateUnchanged|adjustResize&quot;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Esta línea se debe usar en el Manifest.xml dentro de los tags de la actividad donde se desee aplicar. Dependiendo del resultado que se quiera obtener se puede jugar con las opciones. &amp;nbsp;Además de estas opciones mencionadas existen otras para lograr otros efectos.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; height=&quot;16&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6794720801899771&quot;;
/* 468x60, creado 17/03/10 */
google_ad_slot = &quot;0588871097&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/5679621255358555369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/5679621255358555369?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/5679621255358555369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/5679621255358555369'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2014/01/android-ajustar-pantalla-cuando-aparece.html' title='Android: Ajustar pantalla cuando aparece el teclado'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-7067073632649471914</id><published>2013-06-03T13:16:00.000-04:00</published><updated>2013-06-03T13:16:00.618-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="RegEx"/><title type='text'>Validar el formato de un E-mail en Android</title><content type='html'>&lt;div&gt;
Se puede hacer con el siguiente método:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;boolean&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; isEmailValid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; email&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;boolean&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; isValid &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;

    &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; expression &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;^[\\w\\.-]+@([\\w\\-]+\\.)+[A-Z]{2,4}$&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;CharSequence&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; inputStr &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; email&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;

    &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Pattern&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; pattern &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Pattern&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;compile&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;expression&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Pattern&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;CASE_INSENSITIVE&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Matcher&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; matcher &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; pattern&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;matcher&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;inputStr&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;matcher&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;matches&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        isValid &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; isValid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Gracias a la expresión regular indicada arriba, el método devolverá &lt;i&gt;true&lt;/i&gt; si el formato es válido y &lt;i&gt;false&lt;/i&gt; en caso contrario.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/6119722/how-to-check-edittexts-text-is-email-address-or-not&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;fuente&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/7067073632649471914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/7067073632649471914?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/7067073632649471914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/7067073632649471914'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/06/validar-el-formato-de-un-e-mail-en.html' title='Validar el formato de un E-mail en Android'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-4929951661324766623</id><published>2013-05-30T13:52:00.000-04:00</published><updated>2013-05-30T13:52:00.860-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="ListView"/><title type='text'>Android: Mostrar un mensaje cuando el ListView está vacío</title><content type='html'>&lt;div&gt;
Si se está usando el ListView, existe un método que se llama &lt;a href=&quot;http://developer.android.com/reference/android/widget/AdapterView.html#setEmptyView(android.view.View)&quot;&gt;setEmptyView&lt;/a&gt; el cual recibe un view y se muestra cuando la lista está vacía. Aquí un ejemplo:&lt;br /&gt;
&lt;br /&gt;
Primero se debe agregar un View (como un botón o un texto) al Layout de la actividad donde tienen el ListView. Aquí un ejemplo con un texto:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;LinearLayout&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;xmlns:android&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;http://schemas.android.com/apk/res/android&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:layout_width&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;fill_parent&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:layout_height&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;fill_parent&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:orientation&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;vertical&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;

    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;ListView&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:id&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;@+id/myListView&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:layout_width&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;match_parent&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:layout_height&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;wrap_content&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/ListView&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;TextView&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:id&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;@+id/emptyListView&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:layout_width&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;match_parent&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:layout_height&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;match_parent&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:visibility&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;gone&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:text&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;@string/emptyList&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/TextView&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/LinearLayout&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
Es importante que tenga el atributo android:visibility=&quot;gone&quot; para que no se muestre cuando la lista si tenga contenido.&lt;br /&gt;
&lt;br /&gt;
Luego en la clase donde utlizan el ListView, deberán llamar al método setEmptyView y entregarle el TextView que creamos en el xml&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ListView lv = getListView();
lv.setEmptyView(findViewById(R.id.emptyListView));&lt;/code&gt;&lt;/pre&gt;
o bien&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ListView lv = (ListView)findViewById(R.id.myListView);
lv.setEmptyView(findViewById(R.id.emptyListView));&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/4929951661324766623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/4929951661324766623?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4929951661324766623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4929951661324766623'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/05/android-mostrar-un-mensaje-cuando-el.html' title='Android: Mostrar un mensaje cuando el ListView está vacío'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-5708025979752130085</id><published>2013-05-28T10:29:00.002-04:00</published><updated>2013-05-28T10:29:21.296-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Heroku"/><title type='text'>Cambiar la zona horaria del servidor Heroku</title><content type='html'>&lt;div&gt;
Es muy fácil cambiar la zona horaria de Heroku:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Deben obtener la zona horaria que quieren configurar de &lt;a href=&quot;http://en.wikipedia.org/wiki/List_of_tz_database_time_zones&quot;&gt;este link&lt;/a&gt;. Ahí deben escoger el texto bajo la columna &quot;TZ&quot;&lt;/li&gt;
&lt;li&gt;En su consola local, deben correr el comando:&amp;nbsp;&lt;span style=&quot;color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 12px; line-height: 20.390625px;&quot;&gt;heroku config:add TZ=America/Santiago&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Y listo, su servidor se reiniciará una vez finalizada la configuración.&lt;br /&gt;
&lt;br /&gt;
Para revisar que el cambio se haya realizado de forma satisfactoria deben iniciar la consola de heroku desde su consola local (&lt;i&gt;heroku run console&lt;/i&gt;) y luego escribir el comando &lt;i&gt;Time.now&lt;/i&gt; &amp;nbsp;ahí se les imprimirá la hora.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/5708025979752130085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/5708025979752130085?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/5708025979752130085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/5708025979752130085'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/05/cambiar-la-zona-horaria-del-servidor.html' title='Cambiar la zona horaria del servidor Heroku'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-368245069505908059</id><published>2013-05-21T22:59:00.000-04:00</published><updated>2013-05-22T01:05:06.607-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AFNetworking"/><category scheme="http://www.blogger.com/atom/ns#" term="XCode"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>AFNetworking: Leer una respuesta XML en una aplicación para iPhone, con XCode</title><content type='html'>&lt;div&gt;
Con AFNetworking es muy fácil leer respuestas en XML o JSON que entregue un servidor.&lt;br /&gt;
Aquí un ejemplo con XML:&lt;br /&gt;
&lt;br /&gt;
Primero deben bajar el AFNetworking a su computador desde el link:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/AFNetworking/AFNetworking&quot;&gt;https://github.com/AFNetworking/AFNetworking&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Una vez descargada, descomprime la carpeta. Ahora contaras con una carpeta con un nombre similar (o igual) a:&amp;nbsp;AFNetworking-AFNetworking-211cdfc&lt;br /&gt;
&lt;br /&gt;
Ahora anda a XCode, selecciona tu proyecto, anda a Archivo y haz clic en la opción &quot;Agregar archivo a &amp;lt;nombre_de_tu_proyecto&amp;gt;&quot;. Ahi busquen la carpeta&amp;nbsp;AFNetworking-AFNetworking-211cdfc, ábranla y seleccionen la carpeta AFNetworking que está adentro.&lt;br /&gt;
&lt;br /&gt;
Ya estás listo para empezar a conectarte con tu servidor.&lt;br /&gt;
&lt;br /&gt;
Para empezar debes agregar los archivos al encabezado:&lt;br /&gt;
&lt;br /&gt;
&lt;pre brush=&quot;java&quot;&gt;&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;#import &lt;/span&gt;&quot;AFXMLRequestOperation.h&quot;&lt;/div&gt;
&lt;span class=&quot;s1&quot;&gt;#import &lt;/span&gt;&quot;AFHTTPClient.h&quot;
&lt;/pre&gt;
&lt;pre brush=&quot;java&quot;&gt;&lt;/pre&gt;
Luego debes iniciar la comunicación con el servidor y obtener el XML.&lt;br /&gt;
&lt;br /&gt;
&lt;pre brush=&quot;java&quot;&gt;&lt;/pre&gt;
&lt;pre brush=&quot;java&quot;&gt;&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;//Supongamos que deseamos enviar el mail y contraseña a nuestro servidor para obtener una respuesta cuando un usuario intenta iniciar sesión.&lt;br /&gt;
&lt;span class=&quot;s1&quot;&gt;        NSString&lt;/span&gt; *email = [&lt;span class=&quot;s2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;s3&quot;&gt;txtUsername&lt;/span&gt; &lt;span class=&quot;s4&quot;&gt;text&lt;/span&gt;];&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;NSString&lt;/span&gt; *contrasena = [&lt;span class=&quot;s2&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;s3&quot;&gt;txtPassword&lt;/span&gt; &lt;span class=&quot;s4&quot;&gt;text&lt;/span&gt;];&lt;/div&gt;
//Crea un NSDictonary con los parámetros 
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s5&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;NSDictionary&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt; *params = [&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;NSDictionary&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt; &lt;/span&gt;dictionaryWithObjectsAndKeys&lt;span class=&quot;s5&quot;&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; email, &lt;span class=&quot;s6&quot;&gt;@&quot;email&quot;&lt;/span&gt;,&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; contrasena, &lt;span class=&quot;s6&quot;&gt;@&quot;contrasena&quot;&lt;/span&gt;,&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;s2&quot;&gt;nil&lt;/span&gt;];&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
//Indica la url de tu servidor
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s5&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;NSURL&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt; *url = [[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;NSURL&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;alloc&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;] &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;initWithString&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;:&lt;/span&gt;@&quot;http://www.miservidor.com&quot;&lt;span class=&quot;s5&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;AFHTTPClient&lt;/span&gt; *httpClient = [[&lt;span class=&quot;s1&quot;&gt;AFHTTPClient&lt;/span&gt; &lt;span class=&quot;s4&quot;&gt;alloc&lt;/span&gt;] &lt;span class=&quot;s4&quot;&gt;initWithBaseURL&lt;/span&gt;:url];&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s5&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [httpClient &lt;/span&gt;registerHTTPOperationClass&lt;span class=&quot;s5&quot;&gt;:[&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;AFXMLRequestOperation&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt; &lt;/span&gt;class&lt;span class=&quot;s5&quot;&gt;]];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s5&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [httpClient &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;setDefaultHeader&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;:&lt;/span&gt;@&quot;Accept&quot;&lt;span class=&quot;s5&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;s5&quot;&gt;:&lt;/span&gt;@&quot;application/xml&quot;&lt;span class=&quot;s5&quot;&gt;];&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;//Indica donde se debe hacer la petición&lt;br /&gt;
&lt;span class=&quot;s1&quot;&gt;        NSMutableURLRequest&lt;/span&gt; *request1 = [httpClient &lt;span class=&quot;s4&quot;&gt;requestWithMethod&lt;/span&gt;:&lt;span class=&quot;s6&quot;&gt;@&quot;POST&quot;&lt;/span&gt; &lt;span class=&quot;s4&quot;&gt;path&lt;/span&gt;:&lt;span class=&quot;s6&quot;&gt;@&quot;/iniciar_sesion&quot;&lt;/span&gt; &lt;span class=&quot;s4&quot;&gt;parameters&lt;/span&gt;:params];&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AFXMLRequestOperation *operation = [AFXMLRequestOperation XMLParserRequestOperationWithRequest:request1 success:^(NSURLRequest *request, NSHTTPURLResponse *response, NSXMLParser *XMLParser) {&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XMLParser.&lt;span class=&quot;s4&quot;&gt;delegate&lt;/span&gt; = &lt;span class=&quot;s2&quot;&gt;self&lt;/span&gt;;&lt;/div&gt;
&lt;pre brush=&quot;java&quot;&gt;&lt;/pre&gt;
//Aquí leemos la respuesta del XML
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [&lt;span class=&quot;s9&quot;&gt;XMLParser&lt;/span&gt; parse];&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } failure:&lt;span class=&quot;s2&quot;&gt;nil&lt;/span&gt;];&lt;/div&gt;
&lt;pre brush=&quot;java&quot;&gt;&lt;/pre&gt;
//Aquí iniciamos la llamada
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [operation start];&lt;/div&gt;
&lt;/pre&gt;
&lt;br /&gt;
Ahora falta crear las funciones para parsear el archivo XML, esto se puede lograr de diferentes maneras. Aquí muestro una:&lt;br /&gt;
&lt;pre brush=&quot;java&quot;&gt;&lt;div class=&quot;p1&quot;&gt;
- (&lt;span class=&quot;s1&quot;&gt;void&lt;/span&gt;)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName attributes:(NSDictionary *)attributeDict{&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;.&lt;span class=&quot;s2&quot;&gt;currentElement&lt;/span&gt; = [elementName &lt;span class=&quot;s2&quot;&gt;copy&lt;/span&gt;];&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;.ElementValue = [[NSMutableString alloc] init];&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;
//Ejemplo de lectura
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;if&lt;/span&gt; ([elementName isEqualToString:&lt;span class=&quot;s3&quot;&gt;@&quot;algun-campo&quot;&lt;/span&gt;]) { &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;s4&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;// hacer algo, ejemplo imprimir un mensaje...&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
- (&lt;span class=&quot;s1&quot;&gt;void&lt;/span&gt;)&lt;span class=&quot;s5&quot;&gt;parser&lt;/span&gt;:(&lt;span class=&quot;s2&quot;&gt;NSXMLParser&lt;/span&gt; *)parser &lt;span class=&quot;s6&quot;&gt;foundCharacters&lt;/span&gt;:(NSString *)string{&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; [&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;.ElementValue appendString:string];&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
}&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
- (&lt;span class=&quot;s1&quot;&gt;void&lt;/span&gt;)&lt;span class=&quot;s6&quot;&gt;parser&lt;/span&gt;:(NSXMLParser *)parser &lt;span class=&quot;s6&quot;&gt;didEndElement&lt;/span&gt;:(&lt;span class=&quot;s6&quot;&gt;NSString&lt;/span&gt; *)elementName&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &lt;span class=&quot;s2&quot;&gt;namespaceURI&lt;/span&gt;:(NSString *)namespaceURI qualifiedName:(NSString *)qName {&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;s1&quot;&gt;if&lt;/span&gt;([elementName isEqualToString:&lt;span class=&quot;s3&quot;&gt;@&quot;algun-campo&quot;&lt;/span&gt;]){&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp;    //hacer alguna acción, por ejemplo:&lt;br /&gt;
&amp;nbsp; &amp;nbsp;    NSLog(&lt;span class=&quot;s1&quot;&gt;self&lt;/span&gt;.ElementValue);&amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
}&lt;/div&gt;
&lt;/pre&gt;
&lt;br /&gt;
Cualquier cosa dejen un comentario!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/368245069505908059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/368245069505908059?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/368245069505908059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/368245069505908059'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/05/afnetworking-leer-una-respuesta-xml-en.html' title='AFNetworking: Leer una respuesta XML en una aplicación para iPhone, con XCode'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-7576231351857849686</id><published>2013-05-21T20:42:00.000-04:00</published><updated>2013-05-21T20:42:04.087-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Codigo"/><category scheme="http://www.blogger.com/atom/ns#" term="TextView"/><category scheme="http://www.blogger.com/atom/ns#" term="tutoriales"/><title type='text'>Configura la tipografía de tu aplicación Android</title><content type='html'>&lt;div&gt;
Android permite configurar la tipografía a gusto del desarrollador. Hay que tener en cuenta que existen tipografías que son pesadas y también algunas que requieren una licencia o permiso para poder utilizarlas.&lt;br /&gt;
&lt;br /&gt;
Primero, parte con crear una carpeta llamada Fonts bajo la Carpeta &lt;i&gt;res&lt;/i&gt;.&lt;br /&gt;
Agrega la tipografía que deseas usar a esa carpeta, este puede ser .otf o .ttf (puede que existan otros formatos que se puedan utilizar).&lt;br /&gt;
&lt;br /&gt;
Lamentablemente, Android ya no permite configurar la tipografía a través del xml y se debe hacer en tiempo de ejecución y en cada uno de los elementos.&lt;br /&gt;
&lt;br /&gt;
Por ejemplo, para un TextView. Primero, ubica el TextView que deseas configurar:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #2b91af; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;TextView&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; tv &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #2b91af; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;TextView&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; findViewById&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;R&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;miTV&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Luego configura la tipografía:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #2b91af; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Typeface&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; tf &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #2b91af; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Typeface&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;createFromAsset&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;getAssets&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(),&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: maroon; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;fonts/algunatipografia.ttf&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Configura la tipografía del TextView:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;tv&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;setTypeface&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;tf&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/7576231351857849686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/7576231351857849686?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/7576231351857849686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/7576231351857849686'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/05/configura-la-tipografia-de-tu.html' title='Configura la tipografía de tu aplicación Android'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-990028168322046043</id><published>2013-05-09T20:22:00.000-04:00</published><updated>2013-05-09T20:22:51.536-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Codigo"/><category scheme="http://www.blogger.com/atom/ns#" term="ScrollView"/><title type='text'>Reiniciar posición de ScrollView en Android</title><content type='html'>&lt;div&gt;
ScrollView incorpora 2 funciones para reinicar la posición en la que se encuentra un ScrollView.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;fullscroll(int direction)&lt;/i&gt; &amp;nbsp;recibe un entero que indica la dirección hacia donde realizar el un scroll completo.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;scrollTo(int x, int y) &lt;/i&gt;recibe la posición x e y a donde se desea mover el scroller.&lt;br /&gt;
&lt;br /&gt;
Por ejemplo si se desea mover hasta el inicio: &lt;br /&gt;
&lt;br /&gt;
ScrollView sv =&amp;nbsp;(ScrollView) findViewById(R.id.tu_scrollview);&lt;br /&gt;
sv.scrollTo(0,0);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/990028168322046043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/990028168322046043?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/990028168322046043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/990028168322046043'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/05/reiniciar-posicion-de-scrollview-en.html' title='Reiniciar posición de ScrollView en Android'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-1286796563536733121</id><published>2013-03-28T12:21:00.000-03:00</published><updated>2013-03-28T12:21:35.319-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Rhodes"/><title type='text'>Actualizando a Rhodes 3.5.1</title><content type='html'>&lt;div&gt;
Un poco tarde vengo a escribir de esto, pero para aquellos que no saben, hace unos meses atrás salió la versión de Rhodes 3.5.1&lt;br /&gt;
&lt;br /&gt;
Para actualizar la versión en Windows:&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: inherit;&quot;&gt;gem install rhodes (o gem update rhodes)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;rhodes-setup (o copiar rhobuild.yml desde la gema rhodes vieja)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;cd &amp;lt;a-tu-aplicación-de-rhodes&amp;gt; migrate-rhodes-app&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #222222; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Ahora el instalador RhoStudio para Windows y Mac son parte de RhoElements v2.x&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/1286796563536733121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/1286796563536733121?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/1286796563536733121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/1286796563536733121'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/03/actualizando-rhodes-351.html' title='Actualizando a Rhodes 3.5.1'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-6943473400949144572</id><published>2013-03-26T18:04:00.001-03:00</published><updated>2013-03-26T18:04:03.797-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Heroku"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby on Rails"/><title type='text'>Error H10 al hacer deploy en Heroku</title><content type='html'>&lt;div&gt;
Segunda vez que hago el deploy de una aplicación en Heroku y me vuelve a salir el mismo problema:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #111111; color: #dddddd; font-family: monaco, monospace, courier, &#39;courier new&#39;, &#39;Bitstream Vera Sans Mono&#39;; font-size: 12px; line-height: 16px; text-indent: -15px; white-space: pre-wrap;&quot;&gt;at=error code=H10 desc=&quot;App crashed&quot; method=GET path=/ host=nombre-de-mi-app.herokuapp.com fwd=&quot;190.21.126.160&quot; dyno= connect= service= status=503 bytes= &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #111111; color: #dddddd; font-family: monaco, monospace, courier, &#39;courier new&#39;, &#39;Bitstream Vera Sans Mono&#39;; font-size: 12px; line-height: 16px; text-indent: -15px; white-space: pre-wrap;&quot;&gt;at=error code=H10 desc=&quot;App crashed&quot; method=GET path=/favicon.ico host=timepoints.herokuapp.com fwd=&quot;190.21.126.51&quot; dyno= connect= service= status=503 bytes= &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Intenté las siguientes cosas y mi problema se solucionó:&lt;br /&gt;
&lt;br /&gt;
En &lt;a href=&quot;http://stackoverflow.com/questions/13496827/heroku-deployment-error-h10-app-crashed&quot;&gt;stackoverflow&lt;/a&gt;&amp;nbsp;sugerían lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;heroku run rake db:migrate&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
pero eso no me solucionó el problema (inicialmente al menos), lo que había que fijarse bien es que el archivo &lt;i&gt;&lt;b&gt;database.yml&lt;/b&gt;&lt;/i&gt; esté bien configurado para el ambiente de producción.&lt;br /&gt;
&lt;br /&gt;
En particular, lo que tuve que editar fue el nombre del usuario de la base de datos, lo dejé en &lt;b style=&quot;font-style: italic;&quot;&gt;root &lt;/b&gt;y me aseguré que el nombre de la base de datos esté toda en minúsculas y en el formato: &lt;i&gt;nombreapp_production&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
Ejemplo:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;production:&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; adapter: postgresql&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; encoding: unicode&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; database: nombreapp_production&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; pool: 5&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; username: root&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; password:&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
y fijarse de cualquier otro error que pueda estar surgiendo de alguna clase que se está subiendo también puede solucionar el problema.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/6943473400949144572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/6943473400949144572?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/6943473400949144572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/6943473400949144572'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/03/error-h10-al-hacer-deploy-en-heroku.html' title='Error H10 al hacer deploy en Heroku'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-2924482132518514253</id><published>2013-02-20T12:31:00.000-03:00</published><updated>2013-02-20T12:31:00.231-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Troubleshooting"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows7"/><title type='text'>Ventana se abre fuera de la pantalla en Windows7</title><content type='html'>&lt;div&gt;
Es muy común que pase que se mueve una ventana y luego el programa abre todas las ventanas fuera de la pantalla y no se puede ver nada.&lt;br /&gt;
&lt;br /&gt;
Para esto Windows tiene una&amp;nbsp;función&amp;nbsp;Mover o &lt;i&gt;Move &lt;/i&gt;en todas las ventanas abiertas.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDw0LTNez6GtfwMWdUjm7CCjCwFtS-OLntt989gPRlzRG4mT1ty6RkVKeMKOHARpQ2ZY7rYLgHE58YxFRV7KV9Ew-MVjb44e96izbqMh3YjWXuO_aeOlP-MRqgpgw9Xi2WFxWeP-rnsisF/s1600/move.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDw0LTNez6GtfwMWdUjm7CCjCwFtS-OLntt989gPRlzRG4mT1ty6RkVKeMKOHARpQ2ZY7rYLgHE58YxFRV7KV9Ew-MVjb44e96izbqMh3YjWXuO_aeOlP-MRqgpgw9Xi2WFxWeP-rnsisF/s1600/move.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Como acceder a este menú si no puedes ver la ventana? Muy sencillo, debes seleccionar el programa en la barra de tareas y luego presionar Alt + barra espaciadora. Luego presionando la letra M se seleccionará la opción mover y a continuación con el uso de las flechitas puedes posicionar la ventana en la pantalla para verla nuevamente.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/2924482132518514253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/2924482132518514253?isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/2924482132518514253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/2924482132518514253'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/02/ventana-se-abre-fuera-de-la-pantalla-en.html' title='Ventana se abre fuera de la pantalla en Windows7'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDw0LTNez6GtfwMWdUjm7CCjCwFtS-OLntt989gPRlzRG4mT1ty6RkVKeMKOHARpQ2ZY7rYLgHE58YxFRV7KV9Ew-MVjb44e96izbqMh3YjWXuO_aeOlP-MRqgpgw9Xi2WFxWeP-rnsisF/s72-c/move.png" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-8730896545531175387</id><published>2013-02-16T11:30:00.000-03:00</published><updated>2013-02-16T11:30:48.698-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon Products"/><category scheme="http://www.blogger.com/atom/ns#" term="Apple Products"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Products"/><category scheme="http://www.blogger.com/atom/ns#" term="iPad 3"/><category scheme="http://www.blogger.com/atom/ns#" term="Kindle"/><category scheme="http://www.blogger.com/atom/ns#" term="Kindle Paperwhite"/><category scheme="http://www.blogger.com/atom/ns#" term="Nexus 7"/><title type='text'>Función Smart Cover iPad, Nexus 7 y Kindle Paperwhite</title><content type='html'>&lt;div&gt;
Nunca indagué sobre los &lt;i&gt;smart covers &lt;/i&gt;(funda inteligente) hasta hoy que tuve un &quot;problema&quot; con mi Nexus 7. Inicialmente pensaba que era un lindo nombre para la funda, pero resultó que realmente hay una función &quot;&lt;i&gt;smart&lt;/i&gt;&quot; (inteligente).&lt;br /&gt;
&lt;br /&gt;
Resulta que los dispositivos iPad 3, Nexus 7 y Kindle Paperwhite tienen un sensor magnético para que éstos se prendan o apaguen&amp;nbsp;automáticamente&amp;nbsp;cuando se abra o cierre la tapa de la funda (si es que esta es inteligente y tiene un imán por supuesto). Suena bastante cómodo, pero existe un problema el cual aun no tengo bien claro si es problema de la funda o del dispositivo: los aparatos se apagan cuando colocas la tapa por atrás.&lt;br /&gt;
&lt;br /&gt;
El iPad 3 cuenta con una opción dentro de la configuración para deshabilitar esta función, lamentablemente no es el caso del Nexus 7 (hasta donde he averiguado) y tampoco del Kindle Paperwhite (confirmado por la atención al cliente de Amazon)&lt;br /&gt;
&lt;br /&gt;
Soluciones sugeridas para este problema? Sacar el imán de la funda en el&amp;nbsp;área&amp;nbsp;donde está el sensor o colocar un pedazo de acero.&lt;br /&gt;
&lt;br /&gt;
Si tienen más info al respecto escríbanlo en los comentarios!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/8730896545531175387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/8730896545531175387?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/8730896545531175387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/8730896545531175387'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/02/funcion-smart-cover-ipad-nexus-7-y.html' title='Función Smart Cover iPad, Nexus 7 y Kindle Paperwhite'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-6195075809790470614</id><published>2013-01-10T23:46:00.000-03:00</published><updated>2013-01-10T23:46:04.872-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Git"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>Ver archivos HTML en GitHub</title><content type='html'>&lt;div&gt;
Con GitHub además de mantener tu código en un lugar seguro&amp;nbsp;&amp;nbsp;y crear un ambiente colaborativo&amp;nbsp;puedes usarlo para mostrar páginas HTML y hacer pruebas.&lt;br /&gt;
&lt;br /&gt;
Para esto debes anteponer lo siguiente antes de la URL del archivo HTML en cuestión:&lt;br /&gt;
&lt;br /&gt;
&lt;pre brush=&quot;html&quot;&gt;http://htmlpreview.github.com/?&lt;/pre&gt;
&lt;br /&gt;
ejemplo:&lt;br /&gt;
&lt;br /&gt;
&lt;pre brush=&quot;html&quot;&gt;http://htmlpreview.github.com/?https://github.com/marimaf/CodeTests/blob/master/showHtml.html&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/6195075809790470614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/6195075809790470614?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/6195075809790470614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/6195075809790470614'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2013/01/ver-archivos-html-en-github.html' title='Ver archivos HTML en GitHub'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-4792582092947511122</id><published>2012-11-09T23:34:00.000-03:00</published><updated>2012-11-09T23:34:26.201-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Google Play"/><category scheme="http://www.blogger.com/atom/ns#" term="Rhodes"/><category scheme="http://www.blogger.com/atom/ns#" term="Troubleshooting"/><title type='text'>&quot;Google Play no acepta archivos APK firmados con el certificado de depuración. Crea un certificado nuevo que sea válido durante al menos 50 años.&quot;</title><content type='html'>&lt;div&gt;
He tratado de subir mi primera aplicación de android al market Google Play y me apareció el siguiente error:&lt;br /&gt;
&lt;br /&gt;
&quot;&lt;span style=&quot;background-color: white; color: #990000; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;Google Play no acepta archivos APK firmados con el certificado de depuración. Crea un certificado nuevo que sea válido durante al menos 50 años.&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Qué es lo que ocurre? El APK debe ser firmado para que no se pueda modificar a menos que se tenga la llave privada con la que se generó la firma. Sin esta firma, los dispositivos Android no&amp;nbsp;querrán&amp;nbsp;instalar una aplicación.&lt;br /&gt;
En un principio, cuando se está desarrollando, la aplicación se firma con una llave de debug, que sirve para poder depurarlo y probar la aplicación en tu dispositivo mientras haces pruebas. Para publicarlo en el market, esta firma debe cambiar ya que la firma de debug no es aceptada.&lt;br /&gt;
&lt;br /&gt;
Si utilizan Basic4Android, hay una forma muy sencilla para solucionar este problema. Solo sigan &lt;a href=&quot;http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/6756-signing-your-application-before-uploading-android-market.html#post39219&quot;&gt;este tutorial&lt;/a&gt;.&lt;br /&gt;
Pero no es mi caso, yo uso Eclipse. En el sitio de android developers se puede encontrar &lt;a href=&quot;http://developer.android.com/tools/publishing/app-signing.html&quot;&gt;información al respecto&lt;/a&gt;. Aquí lo hay que hacer según android developers:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li style=&quot;background-color: #f9f9f9; color: #222222; font-family: Roboto, sans-serif; font-size: 14px; line-height: 19px; margin: 0px 0px 5px;&quot;&gt;&lt;a href=&quot;http://developer.android.com/tools/publishing/app-signing.html#cert&quot; style=&quot;color: #258aaf; text-decoration: initial;&quot;&gt;Obtain a suitable private key&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: #f9f9f9; color: #222222; font-family: Roboto, sans-serif; font-size: 14px; line-height: 19px; margin: 0px 0px 5px;&quot;&gt;&lt;a href=&quot;http://developer.android.com/tools/publishing/app-signing.html#releasecompile&quot; style=&quot;color: #258aaf; text-decoration: initial;&quot;&gt;Compile the application in release mode&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: #f9f9f9; color: #222222; font-family: Roboto, sans-serif; font-size: 14px; line-height: 19px; margin: 0px 0px 5px;&quot;&gt;&lt;a href=&quot;http://developer.android.com/tools/publishing/app-signing.html#signapp&quot; style=&quot;color: #258aaf; text-decoration: initial;&quot;&gt;Sign your application with your private key&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: #f9f9f9; color: #222222; font-family: Roboto, sans-serif; font-size: 14px; line-height: 19px; margin: 0px 0px 5px;&quot;&gt;&lt;a href=&quot;http://developer.android.com/tools/publishing/app-signing.html#align&quot; style=&quot;color: #258aaf; text-decoration: initial;&quot;&gt;Align the final APK package&lt;/a&gt;&lt;/li&gt;
&lt;br /&gt;
&lt;br /&gt;
Si están haciendo una aplicación nativa pueden utilizar el &lt;i&gt;wizard &lt;/i&gt;de exportar de Eclipse el cual realiza todos estos pasos.&lt;br /&gt;
&lt;br /&gt;
Yo estoy trabajando en una aplicación multi-plataforma utilizando &lt;a href=&quot;http://www.motorola.com/Business/US-EN/Business+Product+and+Services/Software+and+Applications/RhoMobile+Suite&quot;&gt;Rhomobile&lt;/a&gt;&amp;nbsp;por lo que requiere seguir los pasos descritos, pero es muy fácil:&lt;br /&gt;
&lt;br /&gt;
Generar una clave privada, se debe usar un keytool. En Windows abrir consola y utilizar el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(221, 221, 221); font-family: &#39;courier new&#39;, courier, monospace; font-size: 14px; line-height: 1.5; margin-bottom: 1em; overflow: auto; padding: 1em;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;$ keytool &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;genkey &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;v &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;keystore &lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;color: #000088;&quot;&gt;nombre-de-mi-llave&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;keystore
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;alias&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; nombre_alias &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;keyalg RSA &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;keysize &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;2048&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;validity &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;10000&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
Donde deben reemplazar &quot;nombre-de-mi-llave&quot; y &quot;nombre_alias&quot; por el que gusten. Cuando corran ese comando se les pedirá ciertos datos, incluida una clave la cual deben guardar muy bien ya que si alguien tiene acceso a ella y a la llave pueden manipular su aplicación.&lt;br /&gt;
Si quieren más detalles sobre el comando lean &lt;a href=&quot;http://developer.android.com/tools/publishing/app-signing.html#cert&quot;&gt;aquí&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Una vez generada la llave. Abran su proyecto y vayan al build.yml y bajo android agreguen lo siguiente bajo production, de tal manera que se vea así:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
android:&lt;br /&gt;
&amp;nbsp; android_title: 0&lt;br /&gt;
&amp;nbsp; version: 2.3.3&lt;br /&gt;
&amp;nbsp; emulator: rhomobile&lt;br /&gt;
&amp;nbsp; production:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; certificate: E:/nombre-de-mi-llave&lt;br /&gt;
&amp;nbsp; &amp;nbsp; password: &quot;clave_de_la_llave&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; alias: &quot;nombre_alias&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ahora abran la consola de nuevo, vayan a la carpeta de su proyecto y corran el comando:&lt;br /&gt;
&lt;br /&gt;
rake device:android:production&lt;br /&gt;
&lt;br /&gt;
de manera que compile nuevamente el proyecto, pero esta vez utilizando la llave indicada para firmar el apk. Cuando corran esto se les pedirá que completen nuevamente los campos que fueron solicitados cuando generaron la llave. Terminado de correr el comando podrán navegar a la carpeta de su aplicación/bin/target y encontrarán el APK firmado y listo para ser subido a Google Play :)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/4792582092947511122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/4792582092947511122?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4792582092947511122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4792582092947511122'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/11/google-play-no-acepta-archivos-apk.html' title='&quot;Google Play no acepta archivos APK firmados con el certificado de depuración. Crea un certificado nuevo que sea válido durante al menos 50 años.&quot;'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-3689243831265647747</id><published>2012-10-29T23:19:00.003-03:00</published><updated>2012-10-29T23:28:41.664-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="busqueda"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby on Rails"/><category scheme="http://www.blogger.com/atom/ns#" term="tutoriales"/><title type='text'>Barra de búsqueda simple - Ruby on Rails</title><content type='html'>&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtLGZd1_qGaa2qoj9a0IoklqSH2eDaf3dRyngJBOA1RfsSc1Iofu0p5_cDUS8GJfpnNcf046ldmpnRiYoxf0BJ9_CuIPWVeWwr-_JqfNK7vWc5ZBLaGtaBIhd8OUePBWOf2KfKrocv3g56/s1600/Screenshot+from+2012-10-29+23:07:53.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtLGZd1_qGaa2qoj9a0IoklqSH2eDaf3dRyngJBOA1RfsSc1Iofu0p5_cDUS8GJfpnNcf046ldmpnRiYoxf0BJ9_CuIPWVeWwr-_JqfNK7vWc5ZBLaGtaBIhd8OUePBWOf2KfKrocv3g56/s1600/Screenshot+from+2012-10-29+23:07:53.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Es muy sencillo agregar una barra de búsqueda en una aplicación de rails. Aquí un pequeño tutorial:&lt;br /&gt;
&lt;br /&gt;
1. Crear un &lt;i&gt;form&lt;/i&gt; para enviar la solicitud con la palabra a buscar&lt;br /&gt;
&lt;br /&gt;
Por ejemplo en su index.html.erb coloquen el siguiente código para obtener un formulario como el de la imagen arriba:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre brush=&quot;java&quot;&gt;&amp;lt;%= form_tag({:controller =&amp;gt; &quot;products&quot;, :action =&amp;gt; &quot;index&quot;}, :method =&amp;gt; :get) do %&amp;gt;

&amp;nbsp; &amp;nbsp; &amp;lt;%= text_field_tag &quot;searchbox&quot;, params[:searchbox] %&amp;gt;

&amp;nbsp; &amp;nbsp; &amp;lt;%= submit_tag &quot;Buscar&quot;, :name =&amp;gt; nil %&amp;gt;

&amp;lt;% end %&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
Recuerden editar el controlador y la acción a la que ustedes necesitan, éstas debe corresponder a la misma que renderea el index.html.erb donde están colocando el código.&lt;br /&gt;
&lt;br /&gt;
2. Agregar código que incorpore la búsqueda:&lt;br /&gt;
&lt;br /&gt;
En el archivo del modelo, en este caso sería product.rb, colocar el siguiente código para filtrar los resultados según los parámetros ingresados en la búsqueda.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre brush=&quot;java&quot;&gt;def self.search(search)

&amp;nbsp;if search 

&amp;nbsp; &amp;nbsp; where(&#39;title LIKE ?&#39;, &quot;%#{search}%&quot;)

&amp;nbsp; else

&amp;nbsp; &amp;nbsp; scoped

&amp;nbsp; end

end&lt;/pre&gt;
&lt;br /&gt;
En este caso deseo que mi búsqueda filtre de acuerdo al campo &quot;title&quot;, ustedes deben editar eso de acuerdo a sus necesidades.&lt;br /&gt;
&lt;br /&gt;
3. Por ultimo, realizar la búsqueda/filtrado en el controlador para entregar los resultados a la vista index.html.erb, luego en products_controller.erb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre brush=&quot;java&quot;&gt;def index

&amp;nbsp; @products = Product.search(params[:searchbox])

&amp;nbsp; &amp;nbsp; respond_to do |format|

&amp;nbsp; &amp;nbsp; &amp;nbsp; format.html # index.html.erb

&amp;nbsp; &amp;nbsp; end

&amp;nbsp; end

&lt;/pre&gt;
y listo, los resultados ahora serán filtrados cuando hagan clic en el botón buscar.&lt;br /&gt;
&lt;br /&gt;
Aquí algunos libros que les pueden ayudar a programar en &lt;a href=&quot;http://www.amazon.com/s/?_encoding=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;field-keywords=ruby%20on%20rails&amp;amp;linkCode=ur2&amp;amp;tag=marimaf08-20&amp;amp;url=search-alias%3Daps&quot; target=&quot;_blank&quot;&gt;Rails&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.com/e/ir?t=marimaf08-20&amp;amp;l=ur2&amp;amp;o=1&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=0321832051&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=1934356549&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=1934356778&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;

&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=144930933X&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;


&lt;a cm=&quot;cm&quot; e=&quot;e&quot; frameborder=&quot;0&quot; href=&quot;http://www.addth%3Ciframe%20src%3D/&quot; http:=&quot;http:&quot; lt1=&quot;_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=144930933X&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; rcm.amazon.com=&quot;rcm.amazon.com&quot; scrolling=&quot;no&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/3689243831265647747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/3689243831265647747?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/3689243831265647747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/3689243831265647747'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/10/barra-de-busqueda-simple-ruby-on-rails.html' title='Barra de búsqueda simple - Ruby on Rails'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtLGZd1_qGaa2qoj9a0IoklqSH2eDaf3dRyngJBOA1RfsSc1Iofu0p5_cDUS8GJfpnNcf046ldmpnRiYoxf0BJ9_CuIPWVeWwr-_JqfNK7vWc5ZBLaGtaBIhd8OUePBWOf2KfKrocv3g56/s72-c/Screenshot+from+2012-10-29+23:07:53.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-4808146500066054554</id><published>2012-10-21T23:10:00.000-03:00</published><updated>2012-10-21T23:12:45.335-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="How-to"/><category scheme="http://www.blogger.com/atom/ns#" term="Roku"/><category scheme="http://www.blogger.com/atom/ns#" term="VPN"/><title type='text'>Utilizar una Roku en Chile</title><content type='html'>&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://ecx.images-amazon.com/images/I/41RtV9KXtRL._SL500_AA300_.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://ecx.images-amazon.com/images/I/41RtV9KXtRL._SL500_AA300_.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Como comenté en el &lt;a href=&quot;http://cabezadeteclado.blogspot.com/2012/10/roku-television-por-internet.html&quot;&gt;post anterior&lt;/a&gt;, la Roku es una cajita muy poderosa a bajo precio, pero tiene la desventaja que está hecha para ser utilizada en Estados Unidos. Pero como (casi) todo, tiene una forma de funciona fuera de ese país.&lt;br /&gt;
&lt;br /&gt;
En pocas palabras, esto es lo que se debe hacer:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Engañar la IP de la Roku&lt;/li&gt;
&lt;li&gt;Crear una cuenta de Roku&lt;/li&gt;
&lt;li&gt;Conseguir/comprar contenido para ver a través de la Roku.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Detalles de los pasos a seguir:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Para engañar la &lt;a href=&quot;http://www.amazon.com/gp/product/1928994016/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=1928994016&amp;amp;linkCode=as2&amp;amp;tag=marimaf08-20&quot;&gt;IP&lt;/a&gt; de la Roku hay que contratar un servicio que lo haga. Existen varios sistemas pagados y otros gratis. Hay que te tener cuidado cual contratar ya que podrían ver todos los datos que transfieres por internet incluyendo claves. En particular, &lt;b&gt;el que más me convenció a mi fue Hide My Ass (&lt;a href=&quot;https://hidemyass.com/vpn/&quot;&gt;https://hidemyass.com/vpn/&lt;/a&gt;). Con planes que van desde $11.52usd mensuales a $78.66usd anuales ($6.55usd mensual)&lt;/b&gt;. Al contratar HMA, bajas un programita y con las credenciales que te pasan puedes engañar la IP de donde te conectas, le indicas un lugar de donde te deseas conectar y listo. El único problema es que ese programita sirve para Windows, Mac o Linux, pero qué hacer con la Roku? Para esto la nueva IP debe venir desde el router de donde se conecta la Roku. &amp;nbsp;HMA tiene &lt;a href=&quot;http://wiki.hidemyass.com/Router_configuration&quot;&gt;sugerencias para lograrlo&lt;/a&gt;, desde sugerencias de routers hasta tutoriales para modificar el firmware de éstos y conectarse al &lt;a href=&quot;http://www.amazon.com/gp/product/0764505904/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=0764505904&amp;amp;linkCode=as2&amp;amp;tag=marimaf08-20&quot;&gt;VPN&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt;
Personalmente, compré un router adicional y traté de flashearlo (instalarle el nuevo firmware DD-WRT que es el que se necesita), pero no tuve mucho éxito. Terminé encontrando un sitio, &lt;a href=&quot;https://www.flashrouters.com/&quot;&gt;FlashRouters&lt;/a&gt;, en estados unidos que te&lt;b&gt; los venden flasheados y listos para conectarlos con HMA&lt;/b&gt;, sólo hay que ingresar las credenciales. Incluso si quieres, les puedes dar las credenciales a ellos y te lo dejan listo llegar y enchufar.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Si tienen internet movistar y están conectados a través de &lt;a href=&quot;http://es.wikipedia.org/wiki/PPPoE&quot;&gt;PPPoE&lt;/a&gt;, deben tener 2 routers. El router flasheado lo deben conectar al segundo router (un router que probablemente ya usaban y&amp;nbsp;tenían&amp;nbsp;en su casa) y ese router va conectado al modem. Si conectan el router flasheado directamente al modem no podrán tener internet, ya que no pueden conectarse al VPN y al PPPoE al mismo tiempo.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Para poder habilitar los canales de interés en la Roku: Amazon, Netflix, Crackle, etc. Es necesario tener una tarjeta de crédito americana. Pero qué pasa si no tienen? Se puede arreglar. Hablen con el servicio al cliente de Roku,&lt;u&gt; conectados a través de la VPN de estados unidos&lt;/u&gt; (cuando hablé con ellos revisaron la IP de donde estaba &quot;comunicándome&quot;). &amp;nbsp;Por lo que al servicio al cliente les &lt;b&gt;deben decir que no cuentan con una tarjeta americana, pero se encuentran en estado unidos y desean utilizar la Roku&lt;/b&gt;. Para ese caso ellos habilitarán una cuenta sin tarjeta y te advertirán que no podrás comprar canales ni cosas &lt;i&gt;on-demand&lt;/i&gt;. Les dices que estás al tanto y listo. Los canales mencionados anteriormente no necesitan ser comprados (Ver punto 3).&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Existe contenido para ver en la Roku que requiere que tengan una suscripción de antemano.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.amazon.com/gp/prime/?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;linkCode=ur2&amp;amp;qid=1350870771&amp;amp;sr=8-2-tc&amp;amp;tag=marimaf08-20&quot; target=&quot;_blank&quot;&gt;Amazon Prime&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;https://www.assoc-amazon.com/e/ir?t=marimaf08-20&amp;amp;l=ur2&amp;amp;o=1&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;: Pagando $79usd anuales obtienes streaming ilimitado de ciertas películas habilitadas por Amazon. La biblioteca de películas habilitadas no es menor, pero de todas formas si quieren ver lo estrenos también lo pueden pagando ya que será cobrada la tarjeta de crédito que tengan en Amazon y no en Roku.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.netflix.cl/&quot;&gt;Netflix&lt;/a&gt;: Si tienen el Netflix chileno contratado con eso basta. Al detectar la IP americana accederán a la biblioteca de películas de Estados Unidos (mucho más surtida que la Chilena)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.crackle.cl/&quot;&gt;Crackle&lt;/a&gt;: Acceso a películas gratis.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.hulu.com/&quot;&gt;Hulu&lt;/a&gt;: Ideal para ver series, pero sólo podrán tener acceso a este canal si contratan Hulu Plus, el cual requiere una tarjeta de crédito americana para suscribirse. Se pueden comprar tarjetas pre pagadas en estados unidos.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=B005CLPP84&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=B005CLPP8E&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;
&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=marimaf08-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=B007KEZMX4&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;
&lt;iframe src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=marimaf08-20&amp;o=1&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=B006ZS4R46&quot; style=&quot;width:120px;height:240px;&quot; scrolling=&quot;no&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;

&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/4808146500066054554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/4808146500066054554?isPopup=true' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4808146500066054554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4808146500066054554'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/10/utilizar-una-roku-en-chile.html' title='Utilizar una Roku en Chile'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-3389637801982840685</id><published>2012-10-09T22:18:00.000-03:00</published><updated>2012-10-21T23:13:15.292-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="Roku"/><title type='text'>Roku - televisión por internet</title><content type='html'>&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.amazon.com/gp/product/B005CLPP8E/ref=as_li_qf_sp_asin_il?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B005CLPP8E&amp;amp;linkCode=as2&amp;amp;tag=marimaf08-20&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&amp;amp;ASIN=B005CLPP8E&amp;amp;Format=_SL160_&amp;amp;ID=AsinImage&amp;amp;MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;WS=1&amp;amp;tag=marimaf08-20&quot; /&gt;&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=marimaf08-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B005CLPP8E&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;

&lt;/div&gt;
&lt;br /&gt;
La roku es una pequeña cajita que sirve para ver televisión por internet. La gracia es que la conectes a tu pantalla para ver canales de &lt;a href=&quot;http://es.wikipedia.org/wiki/Streaming&quot;&gt;streaming&lt;/a&gt;, y se conecta a internet de manera inalámbrica, como lo hace&amp;nbsp;&lt;a href=&quot;http://www.apple.com/es/appletv/&quot;&gt;apple TV&lt;/a&gt;, pero significativamente más económico.&lt;br /&gt;
&lt;br /&gt;
Personalmente me compré el &lt;a href=&quot;http://www.amazon.com/gp/product/B005CLPP8E/ref=as_li_tf_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B005CLPP8E&amp;amp;linkCode=as2&amp;amp;tag=marimaf08-20&quot;&gt;Roku 2 XD Streaming Player 1080p&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=marimaf08-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B005CLPP8E&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;, pero existen &lt;a href=&quot;http://www.amazon.com/gp/search/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;index=aps&amp;amp;keywords=roku&amp;amp;linkCode=as2&amp;amp;tag=marimaf08-20&quot;&gt;varios modelos&lt;/a&gt; de los cuales puedes elegir según tu bolsillo y preferencias. El más económico comienza en 50USD en amazon.&lt;br /&gt;
&lt;br /&gt;
Mi roku 2 incluye un control remoto con botones de acceso directo a &lt;a href=&quot;http://www.amazon.com/gp/product/B005ZXWMUS/ref=as_li_tf_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B005ZXWMUS&amp;amp;linkCode=as2&amp;amp;tag=marimaf08-20&quot;&gt;Netflix&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=marimaf08-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B005ZXWMUS&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;, &lt;a href=&quot;http://www.amazon.com/gp/product/B005V1N71W/ref=as_li_tf_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B005V1N71W&amp;amp;linkCode=as2&amp;amp;tag=marimaf08-20&quot;&gt;Pandora&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=marimaf08-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B005V1N71W&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;
y &lt;a href=&quot;http://www.crackle.cl/&quot;&gt;Crackle&lt;/a&gt;. Es bastante agradable. Me gusta que utilice poco espacio y es bastante rápido como software para moverse entre canales. Además de los canales ya mencionados, es posible conectarse a Amazon Prime, &lt;a href=&quot;http://www.amazon.com/gp/product/B0066TUXU6/ref=as_li_tf_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B0066TUXU6&amp;amp;linkCode=as2&amp;amp;tag=marimaf08-20&quot;&gt;Hulu Plus&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=marimaf08-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B0066TUXU6&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;
 y muchos más.&lt;br /&gt;
&lt;br /&gt;
Otra de las características de la Roku 2 XD es que puede mostrar películas en HD 1080p, a diferencia de la Roku HD.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;La letra chica de la cajita:&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
*Para funcionar necesita estar en estados unidos&lt;br /&gt;
*Tener una tarjeta de crédito de estados unidos (para poder comprar películas que no se puedan ver gratis)&lt;br /&gt;
&lt;br /&gt;
Pero no se decepcionen, existe una solución para estos requisitos. Les comentaré como arreglarlo &lt;a href=&quot;http://cabezadeteclado.blogspot.com/2012/10/utilizar-una-roku-en-chile.html&quot;&gt;más adelante&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=B005CLPP84&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=B005CLPP8E&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=B007KEZMX4&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=marimaf08-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=ss_til&amp;amp;asins=B006ZS4R46&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;&lt;/iframe&gt;

&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/3389637801982840685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/3389637801982840685?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/3389637801982840685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/3389637801982840685'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/10/roku-television-por-internet.html' title='Roku - televisión por internet'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-273182260845447587</id><published>2012-09-12T21:18:00.002-03:00</published><updated>2012-09-12T21:21:38.555-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Sliding Drawer"/><category scheme="http://www.blogger.com/atom/ns#" term="tutoriales"/><title type='text'>Sliding Drawer en Android</title><content type='html'>&lt;div&gt;
Sliding Drawer o cajón deslizable (?)&lt;br /&gt;
&lt;br /&gt;
Lo que hace el &lt;a href=&quot;http://developer.android.com/reference/android/widget/SlidingDrawer.html&quot;&gt;Sliding Drawer&lt;/a&gt;&amp;nbsp;es esconder contenido de un usuario dejando sólo una lengüeta visible, así el usuario puede deslizar la lengüeta para ver el contenido.&lt;br /&gt;
&lt;br /&gt;
Como bien dice en&amp;nbsp;&lt;a href=&quot;http://developer.android.com/&quot;&gt;http://developer.android.com&lt;/a&gt;&amp;nbsp;este &quot;cajón&quot; se puede utilizar de manera vertical u horizontal. El xml está compuesto por dos hijos, uno referente al la lengüeta y otro al contenido de éste.&lt;br /&gt;
&lt;br /&gt;
La plantilla que&amp;nbsp;&lt;a href=&quot;http://developer.android.com/&quot;&gt;http://developer.android.com&lt;/a&gt;&amp;nbsp;utiliza un imageView para la lengüeta, yo utilicé en este caso un botón, de manera de no tener que lidiar con imagenes. Pero lo pueden cambiar a un imageView si desean. A su vez, cambié el tipo del contenido de GridView a un simple TextView para agregar texto.&lt;br /&gt;
&lt;br /&gt;
Primero, necesitan uno (o dos) templates para el fondo de la lengüeta y del contenido del cajón. En este caso yo use una &lt;a href=&quot;http://www.dibbus.com/2011/02/gradient-buttons-for-android/&quot;&gt;plantilla de un fondo azul&lt;/a&gt; el cual debe colocarse en la &lt;b&gt;carpeta drawable&lt;/b&gt; en un archivo llamado &lt;b&gt;blue.xml&lt;/b&gt; por ejemplo. &lt;br /&gt;
&lt;br /&gt;
El contenido de éste archivo es el siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre brush=&quot;java&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;selector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;item android:state_pressed=&quot;true&quot; &amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;shape&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;solid
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:color=&quot;#449def&quot; /&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;stroke
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:width=&quot;1dp&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:color=&quot;#2f6699&quot; /&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;corners
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:radius=&quot;3dp&quot; /&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;padding
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:left=&quot;10dp&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:top=&quot;10dp&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:right=&quot;10dp&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:bottom=&quot;10dp&quot; /&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/shape&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/item&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;item&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;shape&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;gradient
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:startColor=&quot;#449def&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:endColor=&quot;#2f6699&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:angle=&quot;270&quot; /&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;stroke
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:width=&quot;1dp&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:color=&quot;#2f6699&quot; /&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;corners
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:radius=&quot;4dp&quot; /&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;padding
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:left=&quot;10dp&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:top=&quot;10dp&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:right=&quot;10dp&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:bottom=&quot;10dp&quot; /&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/shape&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/item&amp;gt;
&amp;lt;/selector&amp;gt;&lt;/pre&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUCfBSX5F4uClpoa0knNLMCJfRuPy0FqTM9dVKKYszWAlkqqvGViU89MUZ26MzgTNRiapCV9rz9RRvHQQXe7pgmVSWYYJLwgd-31YtytwQ3ZPwRBsMqYkmm4iuDQNfttpuKy6yEmZiIG_Z/s1600/inicio+con+ayuda.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUCfBSX5F4uClpoa0knNLMCJfRuPy0FqTM9dVKKYszWAlkqqvGViU89MUZ26MzgTNRiapCV9rz9RRvHQQXe7pgmVSWYYJLwgd-31YtytwQ3ZPwRBsMqYkmm4iuDQNfttpuKy6yEmZiIG_Z/s400/inicio+con+ayuda.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;La lengüeta es lo que tiene el texto &quot;ayuda&quot;. Los otros botones que ven son del &amp;nbsp;proyecto en el que estoy trabajando, no tienen nada que ver con el sliding drawer&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Luego el xml del sliding drawer lo deben colocar dentro de un &lt;b&gt;relativeLayout&lt;/b&gt; (o un &lt;b&gt;FrameLayout&lt;/b&gt;) (en el xml del layout donde quieren que se vea)&lt;br /&gt;
&lt;br /&gt;
Así quedó mi sliding drawer:&lt;br /&gt;
&lt;br /&gt;
&lt;pre brush=&quot;java&quot;&gt;&amp;nbsp;&amp;lt;SlidingDrawer
&amp;nbsp; &amp;nbsp; &amp;nbsp;android:id=&quot;@+id/drawer&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp;android:layout_width=&quot;match_parent&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp;android:layout_height=&quot;match_parent&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp;android:handle=&quot;@+id/handle&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp;android:content=&quot;@+id/content&quot;&amp;gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Button
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:id=&quot;@id/handle&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:layout_width=&quot;88dip&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:layout_height=&quot;44dip&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:background=&quot;@drawable/blue&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:text=&quot;ayuda&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:textColor=&quot;#ffffff&quot;/&amp;gt;

  &amp;nbsp; &amp;nbsp;&amp;lt;TextView
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:id=&quot;@id/content&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:layout_width=&quot;match_parent&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:layout_height=&quot;match_parent&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:background=&quot;@drawable/blue&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:textColor=&quot;#ffffff&quot;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;android:text=&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut condimentum commodo purus sit amet cursus. Pellentesque euismod nulla et mauris porttitor sit amet consectetur quam euismod. Proin augue ligula, commodo sit amet pellentesque at, bibendum in augue. Vestibulum a metus sit amet lacus porta molestie. Curabitur porta laoreet ipsum quis tincidunt. Nulla facilisi. Quisque dictum mollis ante id blandit. Nam in elit sit amet eros varius posuere id id dui. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis et nibh pretium nisl semper porta elementum sed justo. Sed et enim arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ac nunc eu est adipiscing condimentum id nec nisl. Proin massa erat, ultrices at ullamcorper in, consectetur nec tortor. Sed sed erat ante. Morbi eu nunc mauris.&quot; /&amp;gt;
&amp;nbsp;    &amp;lt;/SlidingDrawer&amp;gt;

&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJwiKiNTbN_MHFNIIEtGOIKLYLdFSDVVSswaLoaj5VJUpnJjlIXfNdLvvj89U_TEV168hv27BGu83-V3QHYpYfz-6Y6yaioVcQk19PmmmXXWPc4eYSmFugOK-hGLM-CnkFOCaJZXsdCGqz/s1600/inicio+con+ayuda+desplagada.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJwiKiNTbN_MHFNIIEtGOIKLYLdFSDVVSswaLoaj5VJUpnJjlIXfNdLvvj89U_TEV168hv27BGu83-V3QHYpYfz-6Y6yaioVcQk19PmmmXXWPc4eYSmFugOK-hGLM-CnkFOCaJZXsdCGqz/s400/inicio+con+ayuda+desplagada.png&quot; width=&quot;223&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/273182260845447587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/273182260845447587?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/273182260845447587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/273182260845447587'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/09/sliding-drawer-en-android.html' title='Sliding Drawer en Android'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUCfBSX5F4uClpoa0knNLMCJfRuPy0FqTM9dVKKYszWAlkqqvGViU89MUZ26MzgTNRiapCV9rz9RRvHQQXe7pgmVSWYYJLwgd-31YtytwQ3ZPwRBsMqYkmm4iuDQNfttpuKy6yEmZiIG_Z/s72-c/inicio+con+ayuda.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-3480712625865772385</id><published>2012-09-07T16:32:00.000-03:00</published><updated>2012-09-07T19:03:25.348-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Codigo"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="URL"/><title type='text'>Verificar que una URL es de una imagen en Java/Android</title><content type='html'>&lt;div&gt;
Si es necesario verificar que una URL es una enlace a una image, bastan 3 líneas de código para hacerlo:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;URLConnection&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; connection &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; URL&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;http://foo.bar/w23afv&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;openConnection&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; contentType &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; connection&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;getHeaderField&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Content-Type&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: transparent; border: 0px; color: darkblue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;boolean&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; image &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;startsWith&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;image/&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Lo que hace es ver si el encabezado del contenido de la página donde te lleva la url comienza con image/.&lt;br /&gt;
&lt;br /&gt;
Solución sacada de &lt;a href=&quot;http://stackoverflow.com/questions/3453641/detect-if-specified-url-is-an-image-in-android&quot;&gt;stackoverflow&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6794720801899771&quot;;
/* 468x60, creado 17/03/10 */
google_ad_slot = &quot;0588871097&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/3480712625865772385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/3480712625865772385?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/3480712625865772385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/3480712625865772385'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/09/verificar-que-una-url-es-una-imagen-en.html' title='Verificar que una URL es de una imagen en Java/Android'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-4734832972993773770</id><published>2012-08-24T14:04:00.002-04:00</published><updated>2012-08-24T14:04:53.936-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Finalizar servidor en ubuntu</title><content type='html'>&lt;div&gt;
En ubuntu se puede correr un servidor para utilizar una página web en localhost, el servidor se inicia a través de la consola comunmente: rails server, para una aplicación de Rails por ejemplo. Pero qué pasa cuando cerraste el terminal y el servidor sigue andando?&lt;br /&gt;
&lt;br /&gt;
Con el siguiente comando puedes ver los servidores que están andando y así obtener el PID para posteriormente cerrarlo.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #444444; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 13px; line-height: 17px;&quot;&gt;lsof -i :3000&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Al ejecutar ese comando en consola aparecerá una lista similar a la siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
COMMAND &amp;nbsp;PID USER &amp;nbsp; FD &amp;nbsp; TYPE DEVICE SIZE/OFF NODE NAME&lt;br /&gt;
ruby &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3926 user &amp;nbsp; &amp;nbsp; &amp;nbsp;5u &amp;nbsp; &amp;nbsp; IPv4 &amp;nbsp; &amp;nbsp;110440 &amp;nbsp; &amp;nbsp; &amp;nbsp;0t0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TCP *:3000 (LISTEN)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Como ven el PID aquí es el 3926, y podrán terminalo ejecutando lo siguiente&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #444444; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 13px; line-height: 17px;&quot;&gt;kill -9 3926&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6794720801899771&quot;;
/* 468x60, creado 17/03/10 */
google_ad_slot = &quot;0588871097&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/4734832972993773770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/4734832972993773770?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4734832972993773770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4734832972993773770'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/08/finalizar-servidor-en-ubuntu.html' title='Finalizar servidor en ubuntu'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-7940801118068826141</id><published>2012-08-21T20:40:00.000-04:00</published><updated>2012-08-21T20:40:00.189-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Codigo"/><title type='text'>Eliminar nombre de aplicación en barra de estado en Android</title><content type='html'>&lt;div&gt;
Por defecto, las aplicaciones en android muestran una barra de estado con el nombre de la aplicación. Esto muchas veces se ve feo y se puede sacar de &lt;a href=&quot;http://stackoverflow.com/questions/2862528/how-to-hide-app-title-in-android&quot;&gt;dos formas&lt;/a&gt;: De forma dinámica en una actividad y en el manifesto.&lt;br /&gt;
&lt;br /&gt;
Aquí la segunda forma, más rapida y requiere menos código:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;default prettyprint&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;activity&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;.ActivityName&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:label&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;@string/app_name&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; border: 0px; color: red; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;android:theme&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; border: 0px; color: blue; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;@android:style/Theme.Black.NoTitleBar.Fullscreen&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/activity&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Así se configura el estilo de la aplicación, se le saca la barra y se coloca en pantalla entera.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6794720801899771&quot;;
/* 468x60, creado 17/03/10 */
google_ad_slot = &quot;0588871097&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/7940801118068826141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/7940801118068826141?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/7940801118068826141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/7940801118068826141'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/08/eliminar-nombre-de-aplicacion-en-barra.html' title='Eliminar nombre de aplicación en barra de estado en Android'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-3863565968158302529</id><published>2012-08-19T18:50:00.002-04:00</published><updated>2012-08-19T18:50:23.407-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="tutoriales"/><title type='text'>Patrón de fondo en aplicaciones Android</title><content type='html'>&lt;div&gt;
Buscando cómo colocar un patrón de fondo en una aplicación Android, me encontré con un &lt;a href=&quot;http://swanson.github.com/blog/2012/01/30/repeating-background-textures-in-android.html&quot;&gt;excelente tutorial de Matt Swanson&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Aquí lo que aparecía en el tutorial:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Tener un imagen que pueda ser utilizada de patrón. Ésta se puede obtener del sitio &lt;a href=&quot;http://subtlepatterns.com/&quot;&gt;Subtle Patterns&lt;/a&gt;&amp;nbsp;donde hay decenas de patrones que se pueden elegir.&lt;/li&gt;
&lt;li&gt;Colocar el archivo &lt;i&gt;nombrepatronescogido.png&lt;/i&gt; en la carpeta &lt;i&gt;drawable.&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;Crear el fondo con el patrón: Para esto creen un archivo xml en la carpeta drawable, llámenlo &lt;i&gt;patron_de_fondo.xml&lt;/i&gt; por ejemplo. Dentro de este archivo colocar el siguiente código:&lt;/li&gt;
&lt;pre brush=&quot;java&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;bitmap xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
&amp;nbsp; &amp;nbsp; android:src=&quot;@drawable/patron_de_fondo&quot;
&amp;nbsp; &amp;nbsp; android:tileMode=&quot;repeat&quot; /&amp;gt;&lt;/pre&gt;
&lt;li&gt;Agregar el fondo a alguna vista. Para ello deben agregar la linea&amp;nbsp;android:background=&quot;@drawable/patron_de_fondo&quot; a un layout, ejemplo:&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;div&gt;
&lt;pre brush=&quot;java&quot;&gt;&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
&amp;nbsp; &amp;nbsp; android:layout_width=&quot;match_parent&quot;
&amp;nbsp; &amp;nbsp; android:layout_height=&quot;fill_parent&quot;
&amp;nbsp; &amp;nbsp; android:background=&quot;@drawable/background_repeating&quot;
&amp;nbsp; &amp;nbsp; android:orientation=&quot;vertical&quot; &amp;gt;
&amp;lt;/LinearLayout&amp;gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Y listo, la aplicación ya tiene un lindo fondo.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-6794720801899771&quot;;
/* 468x60, creado 17/03/10 */
google_ad_slot = &quot;0588871097&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/3863565968158302529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/3863565968158302529?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/3863565968158302529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/3863565968158302529'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/08/patron-de-fondo-en-aplicaciones-android.html' title='Patrón de fondo en aplicaciones Android'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-6647427981466679928</id><published>2012-07-27T18:31:00.000-04:00</published><updated>2012-07-27T18:31:04.718-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Codigo"/><category scheme="http://www.blogger.com/atom/ns#" term="Encoding"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="URL"/><title type='text'>Java: Como codificar una URL en UTF-8</title><content type='html'>&lt;div&gt;
Existe una forma muy simple para codificar un String de URL en UTF-8:&lt;br /&gt;
&lt;span style=&quot;border: 0px; font-family: verdana, sans-serif; font-size: 13px; margin: 0px; padding: 0px; text-align: left;&quot;&gt;&lt;span style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;border: 0px; font-size: small; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre brush=&quot;java&quot;&gt;&lt;span style=&quot;border: 0px; font-size: small; margin: 0px; padding: 0px;&quot;&gt; try{
   String encodedurl = URLEncoder.encode(url.toString(),&quot;UTF-8&quot;); 
   System.out.println(encodedurl);
  }catch(UnsupportedEncodingException e){
   System.err.println(e);
  }&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
Al método donde agreguen estas lineas deberán agregar&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;b&gt;throws UnsupportedEncodingException&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot; onclick=&quot;return addthis_sendto()&quot; onmouseout=&quot;addthis_close()&quot; onmouseover=&quot;return addthis_open(this, &#39;&#39;, &#39;[URL]&#39;, &#39;[TITLE]&#39;)&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;pub-6794720801899771&quot;;
/* 468x60, creado 17/03/10 */
google_ad_slot = &quot;0588871097&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/6647427981466679928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/6647427981466679928?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/6647427981466679928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/6647427981466679928'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/07/java-como-codificar-una-url-en-utf-8.html' title='Java: Como codificar una URL en UTF-8'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994460548739007521.post-4468004014206892196</id><published>2012-06-14T14:18:00.000-04:00</published><updated>2012-06-14T14:18:09.553-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Gems"/><category scheme="http://www.blogger.com/atom/ns#" term="MySql"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby on Rails"/><category scheme="http://www.blogger.com/atom/ns#" term="Troubleshooting"/><title type='text'>Problema encontrando MySql2 luego de actualizar Ubuntu</title><content type='html'>&lt;div&gt;
Si tienen problema encontrando MySql2 al actualizar Ubuntu a 12.04, luego de correr rails console por ejemplo, intenten lo siguiente:&lt;br /&gt;
&lt;br /&gt;
Desinstalen mysql2:&lt;br /&gt;
gem uninstall mysql2&lt;br /&gt;
&lt;br /&gt;
Instalar de nuevo:&lt;br /&gt;
Bundle install&lt;br /&gt;
&lt;br /&gt;
Así mysql2 empezará a utilizar la nueva librería de Ubuntu y el problema se habrá solucionado.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.addthis.com/bookmark.php?v=250&amp;amp;pub=xa-4a7e7de2100455e1&quot;&gt;&lt;img alt=&quot;Bookmark and Share&quot; height=&quot;16&quot; src=&quot;http://s7.addthis.com/static/btn/lg-share-en.gif&quot; style=&quot;border: 0;&quot; width=&quot;125&quot; /&gt;&lt;/a&gt;&lt;script src=&quot;http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a7e7de2100455e1&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;pub-6794720801899771&quot;;
/* 468x60, creado 17/03/10 */
google_ad_slot = &quot;0588871097&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cabezadeteclado.blogspot.com/feeds/4468004014206892196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2994460548739007521/4468004014206892196?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4468004014206892196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994460548739007521/posts/default/4468004014206892196'/><link rel='alternate' type='text/html' href='http://cabezadeteclado.blogspot.com/2012/06/problema-encontrando-mysql2-luego-de.html' title='Problema encontrando MySql2 luego de actualizar Ubuntu'/><author><name>Marisol Acuña</name><uri>http://www.blogger.com/profile/10571210676051650451</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_akr9_nQ0S4Q/Sge6KyLyulI/AAAAAAAADrY/eNGIAI39Mms/S220/Japon+(612)+-+Rice+vending+machine+-+Mari.JPG'/></author><thr:total>0</thr:total></entry></feed>