<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xmlns:tt="http://teletype.in/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Luis Ciber</title><generator>teletype.in</generator><description><![CDATA[Computer Scientist &amp;&amp; Software Developer]]></description><image><url>https://img1.teletype.in/files/c0/1c/c01cc1e0-d378-404c-9163-88572bc74829.png</url><title>Luis Ciber</title><link>https://teletype.in/@luisciber</link></image><link>https://teletype.in/@luisciber?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=luisciber</link><atom:link rel="self" type="application/rss+xml" href="https://teletype.in/rss/luisciber?offset=0"></atom:link><atom:link rel="next" type="application/rss+xml" href="https://teletype.in/rss/luisciber?offset=10"></atom:link><atom:link rel="search" type="application/opensearchdescription+xml" title="Teletype" href="https://teletype.in/opensearch.xml"></atom:link><pubDate>Sun, 05 Apr 2026 11:43:09 GMT</pubDate><lastBuildDate>Sun, 05 Apr 2026 11:43:09 GMT</lastBuildDate><item><guid isPermaLink="true">https://teletype.in/@luisciber/centralization-vs-decentralization</guid><link>https://teletype.in/@luisciber/centralization-vs-decentralization?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=luisciber</link><comments>https://teletype.in/@luisciber/centralization-vs-decentralization?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=luisciber#comments</comments><dc:creator>luisciber</dc:creator><title>Centralization vs Decentralization?</title><pubDate>Sun, 23 Jan 2022 22:20:00 GMT</pubDate><media:content medium="image" url="https://img4.teletype.in/files/b8/07/b80764a0-0a39-4880-b262-b7ab86a9f1b3.png"></media:content><category>Brain Dump</category><description><![CDATA[<img src="https://img1.teletype.in/files/09/b1/09b18892-3468-4b51-933f-3520b5fac54b.png"></img>The fediverse is what the Internet was really supposed to be. Each person with their own home servers sharing information, communicating with each other and providing services to each other. Everything decentralized.]]></description><content:encoded><![CDATA[
  <figure id="ueG5" class="m_original">
    <img src="https://img1.teletype.in/files/09/b1/09b18892-3468-4b51-933f-3520b5fac54b.png" width="640" />
  </figure>
  <p id="OYSQ">The <a href="https://en.wikipedia.org/wiki/Fediverse" target="_blank">fediverse</a> is what the Internet was really supposed to be. Each person with their own home servers sharing information, communicating with each other and providing services to each other. Everything decentralized.</p>
  <p id="c28r">The question is how and why we got to this point where that idea disappeared and most of the services are controlled by companies, they are centralized services. Perhaps the centralization of services was imposed on us or perhaps it was the evolution of the Internet itself. The entire emergence of Web 2.0 and technology startups was based on the idea that companies were in charge of providing services, and that their services were centralized, this was largely their value proposition.</p>
  <p id="Zh3J">If we think of cloud computing services such as AWS, Google Cloud, Azure, etc; I think no one questions the value of having a powerful company put its resources at our disposal, and thanks to this, many new companies have emerged (and have also become powerful). The same is happening when a company makes its resources available to us so that we can communicate and have a social life (social networks). So where is the problem? Why does centralization now seem like a mistake?</p>
  <p id="eJFd">This leads me to believe that centralization is a feature of the Internet, not a bug. Companies hide the complexity of certain technical details and infrastructure costs from people who cannot afford it. Perhaps the problem is not centralization, perhaps the problem is the interests of those companies to which we have decided to entrust our information. Companies that started with very good intentions and that revolutionized the industry at the start, but that over time have had to put aside the interests of their users to serve the interests of their investors. Companies like Twitter, Facebook, Instagram and company that made their users happy from the first moment they were created, people loved them (some still do, others see them as a necessary evil) and yet in recent times they have already stopped from being a unicorn to becoming monsters, vacuum cleaners of information and generators of addictions and consumerism. And this makes us wonder again how and why did this happen?</p>
  <p id="5yP2">I cannot give an answer that is an absolute truth, I can only put my thoughts and the analysis that I have been carrying out in this publication. The problem is not centralization itself. The problem seems to be: what is it that defines companies as a product and what are the interests they defend? When these companies started, like most startups that started at that time, they didn&#x27;t have a defined business model, all they had was a lot of talent and good intentions. Normally these types of projects would have died, however they received the approval and injection of money from many investors. Investors who perhaps already knew how to make these unicorns profitable or simply decided to take a leap of faith. The point is that there comes a point where you have to be profitable yes or yes. How do you make profitable a company in which its users do not pay to use the services? Even more so when precisely their growth is due to the fact that they offer their services for free.</p>
  <p id="vGnJ">Well, the time has come to define what (or who) the product is. That is when we can attest to the veracity of that phrase:</p>
  <blockquote id="fFpe">If the product is free, it means that you are the product.</blockquote>
  <p id="I4GN">And so it happened. Users became the product and unicorns became the largest and most powerful advertising companies in the world. As you and your attention are now the product, the algorithms are optimized to retain your attention for as long as possible, generating disorders and diseases that have already been treated by various specialists.</p>
  <p id="tpqR">So what is better centralization or decentralization? Well, both approaches are perfectly valid depending on what they are used for. Each approach has its own strengths and weaknesses. You can choose to develop centralized systems and do good or bad things; likewise you can choose to develop decentralized systems and do good or bad things. Technology itself is completely impersonal, it&#x27;s just a tool. The problem is not what approach we use or what technology we use. The problem is how the business model of companies is defined, what is the definition of product, who will be the customers and what is the real value proposition of the company.</p>
  <p id="GeRk">Always keep this in mind when you are going to use a new product or service, if it is free it is very likely that they are charging you with something much more valuable than money and if they are charging you it is because that is a company that wants to do things the correct way from the beginning, not improvising along the way and harming its users.</p>

]]></content:encoded></item><item><guid isPermaLink="true">https://teletype.in/@luisciber/centralizacion-vs-descentralizacion</guid><link>https://teletype.in/@luisciber/centralizacion-vs-descentralizacion?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=luisciber</link><comments>https://teletype.in/@luisciber/centralizacion-vs-descentralizacion?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=luisciber#comments</comments><dc:creator>luisciber</dc:creator><title>¿Centralización vs Descentralización?</title><pubDate>Sun, 23 Jan 2022 20:34:50 GMT</pubDate><media:content medium="image" url="https://img4.teletype.in/files/b8/07/b80764a0-0a39-4880-b262-b7ab86a9f1b3.png"></media:content><category>Brain Dump</category><description><![CDATA[<img src="https://img1.teletype.in/files/09/b1/09b18892-3468-4b51-933f-3520b5fac54b.png"></img>El fediverso es lo que realmente se suponía que fuera el Internet. Cada cuál con sus propios home server (servidores en casa) compartiendo información, comunicándose entre sí y brindado servicios los unos a los otros. Todo descentralizado.]]></description><content:encoded><![CDATA[
  <figure id="IHyt" class="m_original">
    <img src="https://img1.teletype.in/files/09/b1/09b18892-3468-4b51-933f-3520b5fac54b.png" width="640" />
  </figure>
  <p id="qG2e">El <a href="https://en.wikipedia.org/wiki/Fediverse" target="_blank">fediverso</a> es lo que realmente se suponía que fuera el Internet. Cada cuál con sus propios home server (servidores en casa) compartiendo información, comunicándose entre sí y brindado servicios los unos a los otros. Todo descentralizado.</p>
  <p id="gq5Z">Lo que hay que preguntarse es cómo y por qué llegamos a este punto donde esa idea desapareció y la mayoría de los servicios están controlados por empresas, son servicios centralizados. Acaso la centralización de los servicios nos fue impuesta o acaso fue la propia evolución de Internet. Todo el surgimiento de la Web 2.0 y las startups tecnológicas se realizó sobre la idea de que las empresas se encargaran de brindar servicios, y que sus servicios fueran centralizados, esta era en gran medida su propuesta de valor. </p>
  <p id="ZvDc">Si pensamos en servicios de computación en la nube como AWS, Google Cloud, Azure, etc; creo que nadie cuestiona el valor que aporta que una empresa poderosa ponga sus recursos a nuestra disposición, y gracias a esto han surgido muchas nuevas empresas (que también se han vuelto poderosas). Lo mismo está sucediendo cuando una empresa pone sus recursos a nuestra disposición para que nos comuniquemos y hagamos vida social (redes sociales). Entonces ¿dónde está el problema? ¿Por qué ahora nos parece un error la centralización?. </p>
  <p id="mq5K">Esto me lleva a pensar que la centralización es una característica de Internet, no un  error (bug). Las empresas esconden la complejidad de ciertos detalles técnicos y los costos de infraestructura a personas que no pueden permitírselo. Tal vez el problema no sea la centralización sino los intereses de aquellas empresas a las que hemos decidido confiar nuestra información. Empresas que iniciaron con muy buenas intenciones y que revolucionaron la industria en su momento de arranque, pero que con el pasar del tiempo han tenido que dejar de lado los intereses de sus usuarios para atender los intereses de sus inversionistas. Empresas como Twitter, Facebook, Instagram y compañía que hicieron felices a sus usuarios desde el primer momento de creadas, las personas las amaban (todavía algunos lo hacen, otros las ven como un mal necesario) y sin embargo en los últimos tiempos ya han dejado de ser un unicornio para convertirse en monstruos, aspiradoras de información y generadoras de adicciones y consumismo.  Y esto nos hace preguntarnos nuevamente ¿cómo? y ¿por qué? pasó esto.</p>
  <p id="R1D9">No puedo dar una respuesta que sea una verdad absoluta, solo volcar en esta publicación mis pensamientos y el análisis que he ido realizando. El problema no es la centralización en sí misma. El problema parece ser ¿qué es lo que definen las empresas como producto y cuáles son los intereses que defienden?. Cuando estas empresas iniciaron, como la mayoría de las startups que iniciaron en ese tiempo no tenían un modelo de negocios definido, todo lo que tenían era mucho talento y buenas intenciones. Normalmente este tipo de proyectos hubiera muerto, sin embargo recibieron la aprobación y la inyección de dinero de muchos inversionistas. Inversionistas que tal vez ya sabían como volver rentables a estos unicornios o simplemente decidieron tener un acto de fe. La cuestión es que llega un punto en el que tienes que ser rentable sí o sí. ¿Cómo haces rentable una empresa en la que sus usuarios no pagan por usar los servicios? Más aún cuando precisamente su crecimiento se debe a que ofrecen sus servicios de manera gratuita.</p>
  <p id="TCPV">Pues ha llegado el momento de definir qué (o quién) es el producto. Es ahí cuando podemos dar fe de la veracidad de esa frase:</p>
  <blockquote id="Pgxz">Que el producto sea gratis, significa que tú eres el producto.</blockquote>
  <p id="EExC">Y así sucedió. Los usuarios se convirtieron en el producto y los unicornios se convirtieron en las compañías publicitarias más grandes y poderosas del mundo. Como tú y tu atención son ahora el producto los algoritmos se optimizan para retener tu atención el mayor tiempo posible, generando los trastornos y enfermedades que ya han sido tratados por varios especialistas.</p>
  <p id="Bszd">¿Entonces qué es mejor centralización o descentralización? Pues ambos enfoques son perfectamente válidos dependiendo de para qué se utilicen. Cada enfoque tiene sus propias fortalezas y debilidades. Usted puede optar por desarrollar sistemas centralizados y hacer cosas buenas o malas; como mismo puede optar por desarrollar sistemas descentralizados y hacer cosas buenas o malas. La tecnología en si misma es completamente impersonal, es sólo una herramienta. El problema no es que enfoque utilizamos o que tecnología utilizamos. El problema es cómo se define el modelo de negocio de las empresas, cuál es la definición de producto, quiénes serán los clientes y cuál es la propuesta de valor real de la empresa. </p>
  <p id="hMw7">Siempre ten en mente esto cuando vayas a usar un nuevo producto o servicios, si es gratis es muy probable que te estén cobrando con algo mucho más valioso que el dinero y si te están cobrando es porque esa es una empresa que quiere hacer las cosas de la manera correcta desde el inicio no improvisando por el camino y perjudicando a sus usuarios.</p>

]]></content:encoded></item><item><guid isPermaLink="true">https://teletype.in/@luisciber/adb-scrcpy-wifi-en</guid><link>https://teletype.in/@luisciber/adb-scrcpy-wifi-en?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=luisciber</link><comments>https://teletype.in/@luisciber/adb-scrcpy-wifi-en?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=luisciber#comments</comments><dc:creator>luisciber</dc:creator><title>Mobile development on Android without using emulators and without using USB debugging.</title><pubDate>Tue, 18 Jan 2022 05:12:00 GMT</pubDate><media:content medium="image" url="https://img2.teletype.in/files/d1/3c/d13c7595-b736-4bd9-8721-8f0cc7c1bcac.png"></media:content><category>Developer Tools</category><description><![CDATA[<img src="https://img1.teletype.in/files/4f/d6/4fd6de99-e873-4502-9028-00e93c258bcc.png"></img>I am a mobile application developer. I develop apps for both Android and iOS using Flutter. One of the main problems I had when I started in this world of mobile development is the high consumption of RAM memory that emulators have, the solution: directly use a physical device, in this case I use my own phone to run and test the applications that I developing.]]></description><content:encoded><![CDATA[
  <figure id="KlkF" class="m_original">
    <img src="https://img1.teletype.in/files/4f/d6/4fd6de99-e873-4502-9028-00e93c258bcc.png" width="1372" />
    <figcaption>Developing in VSCode with Flutter and sharing physical device screen</figcaption>
  </figure>
  <h2 id="5K7R">The first thing... The problem</h2>
  <p id="DFaK">I am a mobile application developer. I develop apps for both Android and iOS using <a href="https://flutter.dev/" target="_blank">Flutter</a>. One of the main problems I had when I started in this world of mobile development is the high consumption of RAM memory that emulators have, the solution: directly use a physical device, in this case I use my own phone to run and test the applications that I developing.</p>
  <p id="szAb">At first everything was fine, <a href="https://developer.android.com/studio/debug/dev-options" target="_blank">enable developer mode on the phone</a>, enable USB debugging and ready to work; <a href="https://flutter.dev/" target="_blank">Flutter</a> recognizes your device and allows you to run and debug apps directly on it. There is only one problem, you must control the device in the traditional way, that is, using your hands, it is complex when you are writing code to leave your precious keyboard to touch the phone; and unless you have a stand to put your phone on, your neck is likely to start to hurt from looking at your PC screen and phone repeatedly during your workday. Another problem is that with time and constant movement, the USB cable is likely to start to wear out and present problems, making development very uncomfortable.</p>
  <p id="L0s7">These are the reasons that led me to ask myself the following questions and investigate (do a Google search):</p>
  <ul id="C5AM">
    <li id="DJdV">How can I connect to the phone and use the adb (Android Debug Bridge) functions without using the USB cable?</li>
    <li id="9w5M">How can I display the phone screen and control it from PC in a similar way to Android emulators?</li>
  </ul>
  <h2 id="imZ3">Use adb to connect to the phone via WiFi</h2>
  <p id="R0ER">This solution is basic, adb already provides a way to connect to an android phone using the classic TCP IP connection protocol. What is required is that both the PC and the Android device are connected to the same network (usually a LAN network). In my case, what I do is activate the phone&#x27;s hotspot and connect the PC to it, another way would be to create a hotspot on the PC (or laptop) and perform the reverse operation or simply connect both the PC and the phone to the same router, the point is that they are on the same network and can communicate with each other.</p>
  <p id="7wjr">The first step is to connect the phone via USB to the PC and execute the following commands.</p>
  <figure id="6mMc" class="m_original">
    <img src="https://img1.teletype.in/files/00/f4/00f4d965-c8c1-4209-ac89-16f5dc42aa0f.gif" width="774" />
    <figcaption>Connecting ADB via WiFi to an Android phone</figcaption>
  </figure>
  <p id="PRON">The first <em>adb devices</em> command is used to list the devices adb is connected to. As we have connected the device via USB, it is shown. Then run <em>adb tcpip 5555</em> this causes that an adb server to run in TCP IP mode inside the device and listen on port 5555, you can select any port you want as long as it is greater than 1024 and less than 65535. Then I run the <em>ip route</em> command this is just to know what is the IP of my phone, there are different ways to obtain this information, in my case the phone functions as a router then my gateway is its IP. Finally what I do is connect via TCP IP using <em>adb connect &lt;ip&gt;</em>. Once this is done you can unplug the phone from the USB cable and it will be linked to adb using TCP IP over the WiFi network.</p>
  <h2 id="bmgh">Share screen and control device from PC</h2>
  <p id="bdeK">Since this is the easiest step, all you have to do is install this wonderful tool: <a href="https://github.com/Genymobile/scrcpy" target="_blank">scrcpy</a>. There are several ways to install it depending on your operating system, it is available for Linux, Mac OS and Windows. In the case of Linux, some distros already include it in their repositories, in others you may have to download and compile the code or use one of the binaries that are available on <a href="https://github.com/Genymobile/scrcpy/releases" target="_blank">Github</a>. In the case of Mac OS the package is available in <a href="https://formulae.brew.sh/formula/scrcpy" target="_blank">homebrew</a>.</p>
  <p id="LxiP"><strong>Debian / Ubuntu</strong></p>
  <pre id="kJKL">sudo apt-get install scrcpy</pre>
  <p id="quju"><strong>Mac OS</strong></p>
  <pre id="fFGs">brew install scrcpy</pre>
  <p id="Sqpz"><strong>Arch Linux / Manjaro</strong></p>
  <pre id="njlD">sudo pacman -S scrcpy</pre>
  <p id="25aG">Once this tool is installed, all you have to do is run it from the command console.</p>
  <pre id="48t5">scrcpy</pre>
  <p id="rPxt">After running it will start showing the device screen.</p>
  <figure id="C3No" class="m_original">
    <img src="https://img1.teletype.in/files/8a/cd/8acd1f20-aaa8-4ac1-8cd8-cfdffc9da183.png" width="1103" />
    <figcaption>Showing Android device screen using scrcpy</figcaption>
  </figure>
  <p id="WXqO">scrcpy also has other useful options such as recording the screen of the device, which I use a lot when making application demos.</p>
  <pre id="theW">scrcpy --record phone_record.mp4</pre>
  <h2 id="E2iC">Problem solved</h2>
  <p id="6Yix">With this I can safely connect to my android phone via Wi-Fi, run and debug the applications I develop on it without worrying about the USB cable. In addition to viewing and controlling the device from the PC, thus improving the experience when developing and saving time and effort.</p>
  <p id="pkTU"><a href="https://blog.luisciber.com/adb-scrcpy-wifi" target="_blank">Version en español 🇪🇸</a></p>

]]></content:encoded></item><item><guid isPermaLink="true">https://teletype.in/@luisciber/adb-scrcpy-wifi</guid><link>https://teletype.in/@luisciber/adb-scrcpy-wifi?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=luisciber</link><comments>https://teletype.in/@luisciber/adb-scrcpy-wifi?utm_source=teletype&amp;utm_medium=feed_rss&amp;utm_campaign=luisciber#comments</comments><dc:creator>luisciber</dc:creator><title>Desarrollo móvil en Android sin usar emuladores y sin usar depuración USB.</title><pubDate>Tue, 18 Jan 2022 04:20:42 GMT</pubDate><media:content medium="image" url="https://img2.teletype.in/files/d1/3c/d13c7595-b736-4bd9-8721-8f0cc7c1bcac.png"></media:content><category>Developer Tools</category><description><![CDATA[<img src="https://img1.teletype.in/files/4f/d6/4fd6de99-e873-4502-9028-00e93c258bcc.png"></img>Soy desarrollador de aplicaciones móviles. Desarrollo aplicaciones tanto para Android como iOS utilizando Flutter. Uno de los principales problemas que tuve al iniciarme en este mundo del desarrollo móvil es el alto consumo de memoria RAM que tienen los emuladores, la solución: pues utilizar directamente un dispositivo físico, en este caso mi propio teléfono para correr y probar las aplicaciones que desarrollo. ]]></description><content:encoded><![CDATA[
  <figure id="yyq6" class="m_original">
    <img src="https://img1.teletype.in/files/4f/d6/4fd6de99-e873-4502-9028-00e93c258bcc.png" width="1372" />
    <figcaption>Desarrollando en VSCode con Flutter y compartiendo pantalla de dispositivo físico</figcaption>
  </figure>
  <h2 id="TXTQ">Lo primero... El problema</h2>
  <p id="UVbs">Soy desarrollador de aplicaciones móviles. Desarrollo aplicaciones tanto para Android como iOS utilizando <a href="https://flutter.dev" target="_blank">Flutter</a>. Uno de los principales problemas que tuve al iniciarme en este mundo del desarrollo móvil es el alto consumo de memoria RAM que tienen los emuladores, la solución: pues utilizar directamente un dispositivo físico, en este caso mi propio teléfono para correr y probar las aplicaciones que desarrollo. </p>
  <p id="orNK">Al principio todo iba bien, <a href="https://developer.android.com/studio/debug/dev-options" target="_blank">habilitas el modo de desarrollador en el teléfono</a>, habilitas la depuración USB y listo para trabajar; <a href="https://flutter.dev/" target="_blank">Flutter</a> reconoce tu dispositivo y te permite correr y depurar las aplicaciones directamente en él. Sólo hay un problema, debes controlar el dispositivo de la manera tradicional, o sea usando tus manos, es complejo cuando te encuentras escribiendo código tener que abandonar tu preciado teclado para hacer touch en el teléfono; y a menos que tengas un soporte donde colocar el teléfono es probable que te empiece a doler el cuello de tanto mirar hacia la pantalla de la PC y hacia el teléfono en repetidas ocasiones durante tu jornada de trabajo. Otro problema es que con el tiempo y el movimiento constante es probable que el cable USB comience a desgastarse y a presentar problemas haciendo que el desarrollo se vuelva muy incómodo.</p>
  <p id="3gyi">Estos son los motivos que me llevaron a hacerme las siguientes preguntas e investigar (hacer una búsqueda en Google):</p>
  <ul id="J41I">
    <li id="bRKZ">¿Cómo puedo conectarme al teléfono y utilizar las funciones de adb (Android Debug Bridge) sin utilizar el cable USB?</li>
    <li id="rG2V">¿Cómo puedo visualizar la pantalla del teléfono y controlarlo desde la PC de manera similar a como se hace con los emuladores de Android?</li>
  </ul>
  <h2 id="0h93">Usar adb para conectarse al teléfono vía WiFi.</h2>
  <p id="oUjD">Esta solución es bastante básica, adb ya provee una manera de conectarse a un teléfono android utilizando el protocolo clásico de conexión TCP IP. Lo que se necesita es que tanto la PC como el dispositivo Android se encuentren conectados en la misma red (normalmente una red LAN). En mi caso lo que hago es activar el hotspot del teléfono y conectar la PC al mismo, otra vía sería crear un hotspot en la PC (o laptop) y realizar la operación inversa o simplemente conectar tanto PC como teléfono al mismo router, la cuestión es que se encuentren en la misma red y puedan comunicarse entre ellos.</p>
  <p id="w2qC">El primer paso es conectar el teléfono vía USB a la PC y ejecutar los siguientes comandos.</p>
  <figure id="9cnM" class="m_original">
    <img src="https://img1.teletype.in/files/00/f4/00f4d965-c8c1-4209-ac89-16f5dc42aa0f.gif" width="774" />
    <figcaption>Conectando ADB vía WiFi a un teléfono Android</figcaption>
  </figure>
  <p id="KU83">El primer comando <em>adb devices</em>, es utilizado para listar los dispositivos a los que se encuentra conectado adb. Como hemos conectado el dispositivo vía USB pues se muestra. Posteriormente se ejecuta <em>adb tcpip 5555 </em>esto hace que se ejecute un servidor de adb en modo TCP IP dentro del dispositivo y que escuche en el puerto 5555, puedes seleccionar cualquier puerto que desees siempre que sea mayor que 1024 y menor que 65535. Luego ejecuto el comando <em>ip route</em> esto es solo para saber cuál es la IP de mi teléfono, hay distintos modos de obtener esta información, en mi caso como el teléfono hace función de router pues mi puerta de enlace es la IP del mismo. Finalmente lo que hago es conectarme a través de TCP IP usando <em>adb connect &lt;ip&gt;</em>. Una vez hecho esto puedes desconectar el teléfono del cable USB y estará vinculado a adb utilizando TCP IP a través de la red WiFi.</p>
  <h2 id="4ZIm">Compartir pantalla y controlar el dispositivo desde la PC</h2>
  <p id="FlIP">Ya este es el paso más sencillo, todo lo que tienes que hacer es instalar esta maravillosa herramienta <a href="https://github.com/Genymobile/scrcpy" target="_blank">scrcpy</a>. Existen diversos modos de instalarla dependiendo de tu sistema operativo, está disponible para Linux, Mac OS y Windows. En el caso de Linux algunas distros ya la incluyen en sus repositorios en otras tal vez debas descargar y compilar el código o usar uno de lo binarios que están disponibles en <a href="https://github.com/Genymobile/scrcpy/releases" target="_blank">Github</a>. En el caso de Mac OS el paquete se encuentra disponible en <a href="https://formulae.brew.sh/formula/scrcpy" target="_blank">homebrew</a>. </p>
  <p id="LxiP"><strong>Debian / Ubuntu</strong></p>
  <pre id="OZlT">sudo apt-get install scrcpy</pre>
  <p id="quju"><strong>Mac OS</strong></p>
  <pre id="u3BM">brew install scrcpy</pre>
  <p id="Sqpz"><strong>Arch Linux / Manjaro</strong></p>
  <pre id="dhsi">sudo pacman -S scrcpy</pre>
  <p id="YBGB">Una vez instalada esta herramienta lo único que hay que hacer es ejecutarla desde la consola de comandos.</p>
  <pre id="CYf5">scrcpy</pre>
  <p id="tJLQ">Después de ejecutarla, comenzará a mostrar la pantalla del dispositivo.</p>
  <figure id="bmyv" class="m_original">
    <img src="https://img1.teletype.in/files/8a/cd/8acd1f20-aaa8-4ac1-8cd8-cfdffc9da183.png" width="1103" />
    <figcaption>Mostrando pantalla de dispositivo Android usando scrcpy</figcaption>
  </figure>
  <p id="FzWV"><strong>scrcpy </strong>además posee otras opciones útiles como por ejemplo grabar la pantalla del dispositivo, la cuál utilizo mucho a la hora de hacer demos de las aplicaciones.</p>
  <pre id="ynCD">scrcpy --record phone_record.mp4</pre>
  <h2 id="byaO">Problema resuelto</h2>
  <p id="d5Ey">Ya con esto puedo tranquilamente conectarme a mi teléfono android vía wifi, ejecutar y depurar las aplicaciones que desarrollo en él sin preocuparme por el cable USB. Además de visualizar y controlar el dispositivo desde la PC, mejorando así la experiencia al momento de desarrollar y ahorrando tiempo y esfuerzo.</p>
  <p id="uONP"><a href="https://blog.luisciber.com/adb-scrcpy-wifi-en" target="_blank">English version 🇺🇸</a></p>

]]></content:encoded></item></channel></rss>