<?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/"
	>

<channel>
	<title>CODIGO.actionscript &#187; Android</title>
	<atom:link href="http://www.codigoactionscript.org/category/android/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codigoactionscript.org</link>
	<description>Blog de programación en ActionScript. Tips, tutoriales, ejemplos de Adobe Flash, Flex y AIR</description>
	<lastBuildDate>Fri, 30 Sep 2011 11:25:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>AdobeTV: Determining speed data from GPS</title>
		<link>http://www.codigoactionscript.org/adobetv-determining-speed-data-from-gps/</link>
		<comments>http://www.codigoactionscript.org/adobetv-determining-speed-data-from-gps/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 11:25:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Videotutorial]]></category>

		<guid isPermaLink="false">http://www.codigoactionscript.org/?p=725</guid>
		<description><![CDATA[<img width="310" height="80" src="http://www.codigoactionscript.org/wp-content/uploads/2011/06/adobetv.jpg" class="attachment-310x85 wp-post-image" alt="adobetv" title="adobetv" /><p>Utilizando ActionScript se puede obtener datos GPS desde un teléfono móvil o tableta. Estos datos son la latitud, la longitud, la dirección del movimiento, la precisión, la altitud, así como la velocidad. En este vídeo se muestra como obtener la propiedad de la velocidad para crear una aplicación sencilla y eficaz.</p>
<p></p>
<p>Related posts:
AdobeTV: [...]
Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/' rel='bookmark' title='AdobeTV: Desarrollo AIR para Android con Flash CS5'>AdobeTV: Desarrollo AIR para Android con Flash CS5</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-air-for-android-development/' rel='bookmark' title='AdobeTV: Air for Android Development'>AdobeTV: Air for Android Development</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-screen-density/' rel='bookmark' title='AdobeTV: Screen density'>AdobeTV: Screen density</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Utilizando ActionScript se puede obtener datos GPS desde un teléfono móvil o tableta. Estos datos son la latitud, la longitud, la dirección del movimiento, la precisión, la altitud, así como la velocidad. En este vídeo se muestra como obtener la propiedad de la velocidad para crear una aplicación sencilla y eficaz.</p>
<p><iframe title="AdobeTV Video Player" width="480" height="296" src="http://tv.adobe.com/embed/519/10982/" frameborder="0" allowfullscreen scrolling="no"></iframe></p>
<p>Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/' rel='bookmark' title='AdobeTV: Desarrollo AIR para Android con Flash CS5'>AdobeTV: Desarrollo AIR para Android con Flash CS5</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-air-for-android-development/' rel='bookmark' title='AdobeTV: Air for Android Development'>AdobeTV: Air for Android Development</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-screen-density/' rel='bookmark' title='AdobeTV: Screen density'>AdobeTV: Screen density</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codigoactionscript.org/adobetv-determining-speed-data-from-gps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AdobeTV: Screen density</title>
		<link>http://www.codigoactionscript.org/adobetv-screen-density/</link>
		<comments>http://www.codigoactionscript.org/adobetv-screen-density/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 14:54:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Tutoriales]]></category>
		<category><![CDATA[Videotutorial]]></category>

		<guid isPermaLink="false">http://www.codigoactionscript.org/?p=719</guid>
		<description><![CDATA[<img width="310" height="80" src="http://www.codigoactionscript.org/wp-content/uploads/2010/05/adobetv.jpg" class="attachment-310x85 wp-post-image" alt="adobetv" title="adobetv" /><p>En los dispositivos móviles el DPI (puntos por pulgada) es muy variable. Esto tiene un efecto directo sobre el tamaño de su contenido. En este vídeo vemos como ajustar el tamaño de los gráficos en función del dispositivo.</p>
<p></p>
<p>Related posts:
AdobeTV: Determining [...]
Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobetv-determining-speed-data-from-gps/' rel='bookmark' title='AdobeTV: Determining speed data from GPS'>AdobeTV: Determining speed data from GPS</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-air-for-android-development/' rel='bookmark' title='AdobeTV: Air for Android Development'>AdobeTV: Air for Android Development</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/' rel='bookmark' title='AdobeTV: Desarrollo AIR para Android con Flash CS5'>AdobeTV: Desarrollo AIR para Android con Flash CS5</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>En los dispositivos móviles el DPI (puntos por pulgada) es muy variable. Esto tiene un efecto directo sobre el tamaño de su contenido. En este vídeo vemos como ajustar el tamaño de los gráficos en función del dispositivo.</p>
<p><iframe title="AdobeTV Video Player" width="480" height="296" src="http://tv.adobe.com/embed/519/10654/" frameborder="0" allowfullscreen scrolling="no"></iframe></p>
<p>Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobetv-determining-speed-data-from-gps/' rel='bookmark' title='AdobeTV: Determining speed data from GPS'>AdobeTV: Determining speed data from GPS</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-air-for-android-development/' rel='bookmark' title='AdobeTV: Air for Android Development'>AdobeTV: Air for Android Development</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/' rel='bookmark' title='AdobeTV: Desarrollo AIR para Android con Flash CS5'>AdobeTV: Desarrollo AIR para Android con Flash CS5</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codigoactionscript.org/adobetv-screen-density/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AdobeTV: Air for Android Development</title>
		<link>http://www.codigoactionscript.org/adobetv-air-for-android-development/</link>
		<comments>http://www.codigoactionscript.org/adobetv-air-for-android-development/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 17:22:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Flash Builder 4]]></category>
		<category><![CDATA[Videotutorial]]></category>
		<category><![CDATA[adobetv]]></category>

		<guid isPermaLink="false">http://www.codigoactionscript.org/?p=715</guid>
		<description><![CDATA[<img width="310" height="80" src="http://www.codigoactionscript.org/wp-content/uploads/2011/06/adobetv.jpg" class="attachment-310x85 wp-post-image" alt="adobetv" title="adobetv" /><p>Duane Nickull ilustra las diferencias en el desarrollo de aplicaciones móviles con dos diferentes SDK de Flex (4.1 y 4.5). Un enlace al código fuente de ambos proyectos está disponible en el video.</p>
<p></p>
<p>Related posts:
AdobeTV: Desarrollo AIR para Android con Flash [...]
Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/' rel='bookmark' title='AdobeTV: Desarrollo AIR para Android con Flash CS5'>AdobeTV: Desarrollo AIR para Android con Flash CS5</a></li>
<li><a href='http://www.codigoactionscript.org/adobe-air-2-6-para-android-ya-disponible/' rel='bookmark' title='Adobe AIR 2.6 para Android ya disponible'>Adobe AIR 2.6 para Android ya disponible</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-screen-density/' rel='bookmark' title='AdobeTV: Screen density'>AdobeTV: Screen density</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Duane Nickull ilustra las diferencias en el desarrollo de aplicaciones móviles con dos diferentes SDK de Flex (4.1 y 4.5). Un enlace al código fuente de ambos proyectos está disponible en el video.</p>
<p><iframe title="AdobeTV Video Player" width="480" height="296" src="http://tv.adobe.com/embed/63/8786/" frameborder="0" allowfullscreen scrolling="no"></iframe></p>
<p>Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/' rel='bookmark' title='AdobeTV: Desarrollo AIR para Android con Flash CS5'>AdobeTV: Desarrollo AIR para Android con Flash CS5</a></li>
<li><a href='http://www.codigoactionscript.org/adobe-air-2-6-para-android-ya-disponible/' rel='bookmark' title='Adobe AIR 2.6 para Android ya disponible'>Adobe AIR 2.6 para Android ya disponible</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-screen-density/' rel='bookmark' title='AdobeTV: Screen density'>AdobeTV: Screen density</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codigoactionscript.org/adobetv-air-for-android-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detectar la conexión 3G o Wifi en aplicaciones AIR para Android</title>
		<link>http://www.codigoactionscript.org/detectar-la-conexion-3g-o-wifi-en-aplicaciones-air-para-android/</link>
		<comments>http://www.codigoactionscript.org/detectar-la-conexion-3g-o-wifi-en-aplicaciones-air-para-android/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 15:54:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Class]]></category>

		<guid isPermaLink="false">http://www.codigoactionscript.org/?p=703</guid>
		<description><![CDATA[<p>Es probable que en una aplicación para teléfono móvil nos interese saber si estamos conectando a la red a través de la conexión 3G o a través de WIFI, para ejecutar diferentes acciones, permitir descargas de contenido etc.. O simplemente para saber si disponemos de conexión a internet o no.</p>
<p>Con la clase NetworkInfo de =http://www.cristalab.com/tags/airAIR 2[/url] nos permite acceder a todos los accesos a la red que tenemos disponibles en el dispositivo. Cada uno de ellos estará incluido en un objeto NetworkInterface con la propiedad active en valor true o [...]
Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/cargar-imagenes-en-aplicaciones-ios-con-flash-cs5-5/' rel='bookmark' title='Cargar imágenes en aplicaciones iOS con Flash CS5.5'>Cargar imágenes en aplicaciones iOS con Flash CS5.5</a></li>
<li><a href='http://www.codigoactionscript.org/detectar-la-conexion-a-internet-desde-una-aplicacion-air/' rel='bookmark' title='Detectar la conexión a internet desde una aplicación AIR'>Detectar la conexión a internet desde una aplicación AIR</a></li>
<li><a href='http://www.codigoactionscript.org/adobe-air-2-6-para-android-ya-disponible/' rel='bookmark' title='Adobe AIR 2.6 para Android ya disponible'>Adobe AIR 2.6 para Android ya disponible</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Es probable que en una aplicación para teléfono móvil nos interese saber si estamos conectando a la red a través de la conexión 3G o a través de WIFI, para ejecutar diferentes acciones, permitir descargas de contenido etc.. O simplemente para saber si disponemos de conexión a internet o no.</p>
<p>Con la clase <strong>NetworkInfo</strong> de <a href="http://www.cristalab.com/tags/air">=http://www.cristalab.com/tags/air</a>AIR 2[/url] nos permite acceder a todos los accesos a la red que tenemos disponibles en el dispositivo. Cada uno de ellos estará incluido en un objeto <strong>NetworkInterface</strong> con la propiedad <strong>active</strong> en valor <em>true</em> o <strong>false</strong>  según sea el acceso en uso.</p>
<p>La siguiente clase que muestro es un ejemplo de uso: </p>
<p>Supongamos que tenemos un MovieClip con tres fotogramas. En el primero tendremos un icono para el estado "sin conexión", en el segundo un icono para 3G, y el tercero un icono para Wifi.</p>
<p>Ahora nos interesará que el MovieClip nos muestre el fotograma que indica que tipo de conexión estamos utilizando en nuestro dispositivo móvil.</p>
<p>Esta sería la clase para asignar al MovieClip:</p>
<div id="codigo">
<div class="igBar"><span id="lactionscript-2"><a href="#" onclick="javascript:showPlainTxt('actionscript-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-2">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">package com.<span style="color: #006600;">cristalab</span>.<span style="color: #006600;">controls</span>.<span style="color: #006600;">mobile</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #0066CC;">MovieClip</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">NetworkInfo</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">NetworkInterface</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//------------------------------------------------------</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> NetworkInterfaceUI <span style="color: #0066CC;">extends</span> <span style="color: #0066CC;">MovieClip</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> ni:NetworkInfo = NetworkInfo.<span style="color: #006600;">networkInfo</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> active:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">"none"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//------------------------------------------------------</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> NetworkInterfaceUI<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span>&nbsp; &nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ni.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">NETWORK_CHANGE</span>,checkNetworkInterface<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; checkNetworkInterface<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> checkNetworkInterface<span style="color: #66cc66;">&#40;</span>event:Event = <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> interfaceVector:Vector.&lt;NetworkInterface&gt; = ni.<span style="color: #006600;">findInterfaces</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span> each <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> item:NetworkInterface <span style="color: #b1b100;">in</span> interfaceVector<span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; active = <span style="color: #66cc66;">&#40;</span>item.<span style="color: #006600;">active</span> == <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span> ? item.<span style="color: #0066CC;">name</span> : active;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">switch</span> <span style="color: #66cc66;">&#40;</span>active<span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">case</span> <span style="color: #ff0000;">"mobile"</span> :</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">case</span> <span style="color: #ff0000;">"WIFI"</span> :</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">default</span> :</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
</div>
<p></p>
<p>Como podemos ver estamos guardando todas las NetworkInterfaces disponibles en un vector y realizamos una comprobación de cual es la que está activa.</p>
<p>Tambien detectamos los cambios en la red para actualizar nuestro icono.</p>
<p>Listo!</p>
<p>Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/cargar-imagenes-en-aplicaciones-ios-con-flash-cs5-5/' rel='bookmark' title='Cargar imágenes en aplicaciones iOS con Flash CS5.5'>Cargar imágenes en aplicaciones iOS con Flash CS5.5</a></li>
<li><a href='http://www.codigoactionscript.org/detectar-la-conexion-a-internet-desde-una-aplicacion-air/' rel='bookmark' title='Detectar la conexión a internet desde una aplicación AIR'>Detectar la conexión a internet desde una aplicación AIR</a></li>
<li><a href='http://www.codigoactionscript.org/adobe-air-2-6-para-android-ya-disponible/' rel='bookmark' title='Adobe AIR 2.6 para Android ya disponible'>Adobe AIR 2.6 para Android ya disponible</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codigoactionscript.org/detectar-la-conexion-3g-o-wifi-en-aplicaciones-air-para-android/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe AIR 2.6 para Android ya disponible</title>
		<link>http://www.codigoactionscript.org/adobe-air-2-6-para-android-ya-disponible/</link>
		<comments>http://www.codigoactionscript.org/adobe-air-2-6-para-android-ya-disponible/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 16:58:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.codigoactionscript.org/?p=681</guid>
		<description><![CDATA[<img width="310" height="80" src="http://www.codigoactionscript.org/wp-content/uploads/2011/03/android-air.jpg" class="attachment-310x85 wp-post-image" alt="android-air" title="android-air" /><p>Desde ayer está disponible en el Android Market Adobe AIR 2.6, la nueva release del runtime de Adobe que se podrá descargar para móviles y tablets, ya que es compatible con Android 2.2, 2.3 y 3.0, mejoras en el rendimiento [...]
Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobe-air-3-release-candidate-disponible/' rel='bookmark' title='Adobe AIR 3 Release Candidate disponible'>Adobe AIR 3 Release Candidate disponible</a></li>
<li><a href='http://www.codigoactionscript.org/disponible-adobe-air-2-beta-2/' rel='bookmark' title='Disponible Adobe AIR 2 beta 2'>Disponible Adobe AIR 2 beta 2</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/' rel='bookmark' title='AdobeTV: Desarrollo AIR para Android con Flash CS5'>AdobeTV: Desarrollo AIR para Android con Flash CS5</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Desde ayer está disponible en el <a href="https://market.android.com/details?id=com.adobe.air" target="_blank">Android Market Adobe AIR 2.6</a>, la nueva release del runtime de Adobe que se podrá descargar para móviles y tablets, ya que es compatible con Android 2.2, 2.3 y 3.0, mejoras en el rendimiento de la GPU, en los gestures de Android y en el manejo de HTML en las aplicaciones AIR.</p>
<p>Algunas de las mejoras más importantes son:</p>
<ul>
<li>Hasta un 20% más veloz al hacer scroll</li>
<li>Reproducción de vídeo H264 a 30fps</li>
<li>Juegos y animaciones a través de GPU a 50fps</li>
<li>Soporte de los últimos movimientos gestuales de Android</li>
<li>Capturar Bitmaps en el StageWebView de HTML</li>
<li>Mejoras de rendimiento en las transiciones con decodificación de bitmaps asíncrona</li>
</ul>
<p>El SDK aún no está disponible, pero ya han anunciado que las aplicaciones desarrolladas con Adobe AIR 2.5 son totalmente compatibles en Adobe AIR 2.6.</p>
<p><a href="http://www.adobe.com/flashplatform/certified_devices/" target="_blank">Lista de dispositivos soportados oficialmente</a></p>
<p>&nbsp;</p>
<p>Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobe-air-3-release-candidate-disponible/' rel='bookmark' title='Adobe AIR 3 Release Candidate disponible'>Adobe AIR 3 Release Candidate disponible</a></li>
<li><a href='http://www.codigoactionscript.org/disponible-adobe-air-2-beta-2/' rel='bookmark' title='Disponible Adobe AIR 2 beta 2'>Disponible Adobe AIR 2 beta 2</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/' rel='bookmark' title='AdobeTV: Desarrollo AIR para Android con Flash CS5'>AdobeTV: Desarrollo AIR para Android con Flash CS5</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codigoactionscript.org/adobe-air-2-6-para-android-ya-disponible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AdobeTV: Desarrollo AIR para Android con Flash CS5</title>
		<link>http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/</link>
		<comments>http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/#comments</comments>
		<pubDate>Tue, 25 May 2010 18:40:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Videotutorial]]></category>
		<category><![CDATA[ted patrick]]></category>

		<guid isPermaLink="false">http://www.codigoactionscript.org/?p=656</guid>
		<description><![CDATA[<img width="310" height="80" src="http://www.codigoactionscript.org/wp-content/uploads/2010/05/adobetv.jpg" class="attachment-310x85 wp-post-image" alt="adobetv" title="adobetv" /><p>En este video, Ted Patrick muestra cómo utilizar Flash  Professional CS5 para desarrollar una aplicación Adobe AIR para dispositivos con Android.</p>
<p></p>
<p>Related posts:
Adobe AIR 2.6 para Android ya disponible
AdobeTV: Air for Android Development
Desarrollo para iOS con AIR 2.6
</p>
Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobe-air-2-6-para-android-ya-disponible/' rel='bookmark' title='Adobe AIR 2.6 para Android ya disponible'>Adobe AIR 2.6 para Android ya disponible</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-air-for-android-development/' rel='bookmark' title='AdobeTV: Air for Android Development'>AdobeTV: Air for Android Development</a></li>
<li><a href='http://www.codigoactionscript.org/desarrollo-para-ios-con-air-2-6/' rel='bookmark' title='Desarrollo para iOS con AIR 2.6'>Desarrollo para iOS con AIR 2.6</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>En este video, <a href="http://ted.onflash.org/" target="_blank">Ted Patrick</a> muestra cómo utilizar <strong>Flash  Professional CS5</strong> para desarrollar una aplicación <strong>Adobe AIR</strong> para dispositivos con <strong>Android</strong>.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=6603&amp;context=64&amp;embeded=false&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=6603&amp;context=64&amp;embeded=false&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="600" height="360" src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=6603&amp;context=64&amp;embeded=false&amp;environment=production" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Related posts:<ol>
<li><a href='http://www.codigoactionscript.org/adobe-air-2-6-para-android-ya-disponible/' rel='bookmark' title='Adobe AIR 2.6 para Android ya disponible'>Adobe AIR 2.6 para Android ya disponible</a></li>
<li><a href='http://www.codigoactionscript.org/adobetv-air-for-android-development/' rel='bookmark' title='AdobeTV: Air for Android Development'>AdobeTV: Air for Android Development</a></li>
<li><a href='http://www.codigoactionscript.org/desarrollo-para-ios-con-air-2-6/' rel='bookmark' title='Desarrollo para iOS con AIR 2.6'>Desarrollo para iOS con AIR 2.6</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codigoactionscript.org/adobetv-desarrollo-air-para-android-con-flash-cs5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

