<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>android.es &#187; snippet</title>
	<atom:link href="http://www.android.es/category/snippet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.android.es</link>
	<description>blog de juegos, aplicaciones, noticias, tutoriales, root, ROM, desarrollo</description>
	<lastBuildDate>Fri, 10 Feb 2012 17:29:01 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<copyright>Copyright © and.roid.es 2010 </copyright>
	<managingEditor>and@roid.es (android.es)</managingEditor>
	<webMaster>and@roid.es (android.es)</webMaster>
	<ttl>1440</ttl>
	<image>
		<url>http://static.android.es/wp-content/uploads/2011/11/podcast-androides.png</url>
		<title>android.es</title>
		<link>http://www.android.es</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Blog sobre google android en español</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>android.es</itunes:author>
	<itunes:owner>
		<itunes:name>android.es</itunes:name>
		<itunes:email>and@roid.es</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://static.android.es/wp-content/uploads/2011/11/podcast-androides.png" />
		<item>
		<title>DevCheats, aplicación para programadores</title>
		<link>http://www.android.es/devcheats-aplicacion-para-programadores.html</link>
		<comments>http://www.android.es/devcheats-aplicacion-para-programadores.html#comments</comments>
		<pubDate>Wed, 01 Dec 2010 16:51:57 +0000</pubDate>
		<dc:creator>ipaelo</dc:creator>
				<category><![CDATA[aplicaciones]]></category>
		<category><![CDATA[Artículos]]></category>
		<category><![CDATA[Desarrollo]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[aplicación]]></category>
		<category><![CDATA[configuracion]]></category>
		<category><![CDATA[devcheats]]></category>
		<category><![CDATA[programador]]></category>

		<guid isPermaLink="false">http://and.roid.es/?p=13909</guid>
		<description><![CDATA[<a href="http://www.android.es/devcheats-aplicacion-para-programadores.html"><img align="left" hspace="5" width="150" height="150" src="http://www.android.es/wp-content/uploads/2010/12/devcheats-150x150.jpg" class="alignleft wp-post-image tfe" alt="" title="devcheats" /></a>¿Conoces las cheatsheet en programación? Cuando empiezas con un lenguaje al que no estas habituado, te suelen saltar dudas de como se hace tal o cual cosa.  Incluso si eres un consumado programador, es bueno tener una chuleta con los conceptos y los sintaxis básicos.  Para esos momentos se inventaron las cheatsheets que no son [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-13910" href="http://and.roid.es/devcheats-aplicacion-para-programadores.html/devcheats"><img class="alignnone size-full wp-image-13910" title="devcheats" src="http://www.android.es/wp-content/uploads/2010/12/devcheats.jpg" alt="" width="500" height="375" /></a></p>
<p>¿Conoces las cheatsheet en programación?</p>
<p>Cuando empiezas con un lenguaje al que no estas habituado, te suelen saltar dudas de como se hace tal o cual cosa.  Incluso si eres un consumado programador, es bueno tener una chuleta con los conceptos y los sintaxis básicos.  Para esos momentos se inventaron las cheatsheets que no son mas que eso, una chuleta.</p>
<p>Por ejemplo, el de PHP que creó <a title="And.roid.es" href="http://www.emezeta.com/articulos/emezeta-card-php-cheat-sheet" target="_blank">EMEZETA</a>.</p>
<p><a rel="attachment wp-att-13911" href="http://and.roid.es/devcheats-aplicacion-para-programadores.html/chuleta-php"><img class="alignnone size-full wp-image-13911" title="chuleta-php" src="http://www.android.es/wp-content/uploads/2010/12/chuleta-php.jpg" alt="" width="500" height="263" /></a></p>
<p>Pues bien, <a title="And.roid.es" href="http://miquelcamps.com/android/devcheats-chuletas-de-programacion-para-android/" target="_blank"> MiquelCamps</a> ha creado una aplicación para llevar 9 chuletas en nuestro terminal Android, siempre a mano, preparadas para echarle un ojo en cualquier momento.</p>
<p>Podemos encontrar de PHP, Python, Jquery, etc&#8230;</p>
<p><a rel="attachment wp-att-13912" href="http://and.roid.es/devcheats-aplicacion-para-programadores.html/miquelco-devcheats_0"><img class="alignnone size-full wp-image-13912" title="devcheats" src="http://www.android.es/wp-content/uploads/2010/12/miquelco.devcheats_0.jpg" alt="" width="320" height="480" /></a></p>
<p>Además nos pide opinión para poder ampliarlas en próximas actualizaciones.</p>
<p>Si quereis haceros con la aplicación solo hay que buscarla en el market como &#8220;devcheats&#8221;  o usar el siguiente QR Code:</p>
<p><a rel="attachment wp-att-13913" href="http://and.roid.es/devcheats-aplicacion-para-programadores.html/chart-17"><img class="alignnone size-medium wp-image-13913" title="chart" src="http://www.android.es/wp-content/uploads/2010/12/chart-182x182.png" alt="" width="182" height="182" /></a></p>
<div class="wp-about-author-containter-none" style="background-color:#FFFFFF;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/d6d87f52dcae54ba5d41eb48ff0cb41d?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.android.es/author/ipaelo' title='ipaelo'>ipaelo</a></h3><p>Editor de and.roid.es, chromeo.es y creador de whattimesailing.com. También modero el foro de and.roid.es: and.roid.es/foro</p><p><a href='http://www.whattimesailing.com' title='ipaelo'>Website</a> - <a href='http://twitter.com/ipaelo' title='ipaeloon Twitter'>Twitter</a> - <a href='http://www.android.es/author/ipaelo' title='More posts by ipaelo'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.android.es/devcheats-aplicacion-para-programadores.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Tutorial utilizando TextToSpeech de Android 1.6</title>
		<link>http://www.android.es/tutorial-utilizando-texttospeech-de-android-16.html</link>
		<comments>http://www.android.es/tutorial-utilizando-texttospeech-de-android-16.html#comments</comments>
		<pubDate>Wed, 30 Sep 2009 07:00:13 +0000</pubDate>
		<dc:creator>rallat</dc:creator>
				<category><![CDATA[Desarrollo]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[Android 1.6]]></category>
		<category><![CDATA[receta]]></category>
		<category><![CDATA[screencast]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[texttospeech]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://and.roid.es/?p=3641</guid>
		<description><![CDATA[<a href="http://www.android.es/tutorial-utilizando-texttospeech-de-android-16.html"><img align="left" hspace="5" width="150" src="" class="alignleft wp-post-image tfe" alt="" title="" /></a>Hoy ha sido el lanzamiento del Android 1.6 para los Dev Phone y mientras tanto he estado investigando un poco las nuevas funcionalidades del Android SDK 1.6 y he decidido empezar por algo muy útil como es el Texto a Voz (TextToSpeech). En esta pequeña receta está todo lo necesario para que el Emulador de [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Hoy ha sido el lanzamiento del <a title="Lanzamiento ANdroid 1.6 ADP1" href="http://and.roid.es/android-16-disponible-para-adp-1.html" target="_blank">Android 1.6 para los Dev Phone</a> </strong>y mientras tanto he estado investigando un poco las nuevas funcionalidades del Android SDK 1.6 y he decidido <strong>empezar por algo muy útil como es el Texto a Voz (TextToSpeech)</strong>. En esta pequeña receta está todo lo necesario para que el Emulador de Android nos diga unas bonitas palabras.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> texttospeech <span style="color: #000000; font-weight: bold;">extends</span> Activity <span style="color: #000000; font-weight: bold;">implements</span> TextToSpeech.<span style="color: #006633;">OnInitListener</span> <span style="color: #009900;">&#123;</span>
	TextToSpeech tts<span style="color: #339933;">;</span>
	<span style="color: #008000; font-style: italic; font-weight: bold;">/** Called when the activity is first created. */</span>
	@Override
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> onCreate<span style="color: #009900;">&#40;</span>Bundle savedInstanceState<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">super</span>.<span style="color: #006633;">onCreate</span><span style="color: #009900;">&#40;</span>savedInstanceState<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		setContentView<span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">layout</span>.<span style="color: #006633;">main</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		tts <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> TextToSpeech<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">this</span>,<span style="color: #000000; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> onInit<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> status<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// TODO Auto-generated method stub</span>
		<span style="color: #003399;">Locale</span> loc <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">Locale</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;es&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span>,<span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>tts.<span style="color: #006633;">isLanguageAvailable</span><span style="color: #009900;">&#40;</span>loc<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;=</span> TextToSpeech.<span style="color: #006633;">LANG_AVAILABLE</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			tts.<span style="color: #006633;">setLanguage</span><span style="color: #009900;">&#40;</span>loc<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		tts.<span style="color: #006633;">speak</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;hola mundo, gracias por visitar androides&quot;</span>, TextToSpeech.<span style="color: #006633;">QUEUE_FLUSH</span>, <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	@Override
	<span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000066; font-weight: bold;">void</span> onDestroy<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// TODO Auto-generated method stub</span>
		<span style="color: #000000; font-weight: bold;">super</span>.<span style="color: #006633;">onDestroy</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		tts.<span style="color: #006633;">shutdown</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>La clases implementará OnInitListener del TextToSpeech</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Main <span style="color: #000000; font-weight: bold;">extends</span> Activity <span style="color: #000000; font-weight: bold;">implements</span> TextToSpeech.<span style="color: #006633;">OnInitListener</span></pre></div></div>

<p>Crearamos una instancia del TextToSpeech:<br />
el primer parametro es el Context.<br />
el segundo parametro la función que inicializa, la que nosotros vamos a implementar.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">Create a TextToSpeech instance where the first param is the context and second is the init function <span style="color: #009900;">&#40;</span>the one we implemented<span style="color: #009900;">&#41;</span>
tts <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> TextToSpeech<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">this</span>,<span style="color: #000000; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Esta función la llama el TextToSpeech despues de iniciarse</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> onInit<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> status<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></div></div>

<p>loc determina que el idioma es el Español, pero podría ser cualquier otro: &#8220;en&#8221;, &#8220;de&#8221;, &#8220;pt&#8221;</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #003399;">Locale</span> loc <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">Locale</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;es&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span>,<span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Determina si ese idioma se puede utilizar en el TextToSpeech y lo registra en la variable</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>tts.<span style="color: #006633;">isLanguageAvailable</span><span style="color: #009900;">&#40;</span>loc<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;=</span> TextToSpeech.<span style="color: #006633;">LANG_AVAILABLE</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
tts.<span style="color: #006633;">setLanguage</span><span style="color: #009900;">&#40;</span>loc<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>La función speak habla el texto introducido.<br />
El primer parametro.<br />
El segundo parametro TextToSpeech.QUEUE_FLUSH es para que empiece a hablar.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">tts.<span style="color: #006633;">speak</span><span style="color: #009900;">&#40;</span>”hola mundo, gracias por visitar androides”, TextToSpeech.<span style="color: #006633;">QUEUE_FLUSH</span>, <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>Espero que os guste el vídeo.</strong></p>
<p><center><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/kP2GAcMYuqk&#038;hl=es&#038;fs=1&#038;color1=0x234900&#038;color2=0x4e9e00"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/kP2GAcMYuqk&#038;hl=es&#038;fs=1&#038;color1=0x234900&#038;color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></center></p>
<p>Vía | <a href="http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html">Android developers</a></p>
<div class="wp-about-author-containter-none" style="background-color:#FFFFFF;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/7ace70cd355db1983dea895fbe01a4ef?s=100&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D100&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://www.android.es/author/rallat' title='rallat'>rallat</a></h3><p>Creador de and.roid.es junto a Luis en el 2008, desde entonces lleva escribiendo en el blog, organizando eventos de Android alrededor de España y desarrollando aplicaciones Android.</p><p><a href='http://and.roid.es' title='rallat'>Website</a> - <a href='http://twitter.com/rallat' title='rallaton Twitter'>Twitter</a> - <a href='http://www.android.es/author/rallat' title='More posts by rallat'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.android.es/tutorial-utilizando-texttospeech-de-android-16.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.android.es @ 2012-02-11 05:55:30 by W3 Total Cache -->
