Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Entorno-de-Desarrollo-Android-Studio

1,805 views

Published on

Fundamentos de una App
Componentes de una App
Recursos de una App
Archivo Android Manifest.xml
Entorno Android Studio,
Árbol del Proyecto
Vistas del Proyecto

Published in: Mobile
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Entorno-de-Desarrollo-Android-Studio

  1. 1. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles ENTORNO DE DESARROLLO ANDROID STUDIO Pedro Antonio Villalta Blog de Android App http://programacion-moviles.blogspot.com/
  2. 2. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  Fundamentos de una App  Componentes de una App  Recursos de una App  ¿El Archivo AndroidManifest.xml?  Entorno Android Studio, Árbol del Proyecto ======================================  ¿Archivo strings.xml?  ¿Carpeta layout?  Carpeta drawable en Android Studio  La clase R.java  Carpeta java de un proyecto en Android Studio Contenido
  3. 3. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  Las aplicaciones Android están escritas en el lenguaje de programación orientado a objetos Java.  Android maneja un fichero APK, también conocido como paquete Android. Este fichero será nuestro instalador. Fundamentos de una aplicación 3
  4. 4. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Dispositivo/Funcionamiento 4
  5. 5. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  Los componentes que el desarrollador puede incluir en una App son: 1. Actividades (Activity) 2. Servicios (Service) 3. Proveedor de Contenido (Content Provider) 4. Receptor de Radiodifusión (Broadcast Receiver) Componentes de una App 5
  6. 6. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  Cuál es la función del elemento Intent ? Componentes de una App 6
  7. 7. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  Representa una pantalla independiente con una interfaz de usuario.  La App dispondrá de múltiples pantallas interconectadas entre sí, pero debemos generarlas individual e independientemente. Activity (Pantallas) 7
  8. 8. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Activity (pantallas) 8
  9. 9. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Activity Pantallas 9
  10. 10. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  Componente que corre de fondo para hacer operaciones de larga duración o trabajo en procesos remotos.  No dispone de interfaz gráfica. Service 10
  11. 11. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  Permite gestionar un conjunto de datos de la aplicación para compartir. Content Provider 11
  12. 12. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Content Provider 12
  13. 13. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  Permite responder a anuncios broadcast del sistema. Broadcast Receiver 13
  14. 14. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  Permite responder a anuncios broadcast del sistema. Broadcast Receiver 14
  15. 15. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Todos los recursos irán bajo la carpeta /res. Ejemplos de recursos que incluirá el proyecto:  Animaciones  Colores  Imágenes (Drawable)  Layouts (Disposición de elementos gráficos)  Menús  Cadenas de texto (String)  Estilos  Otros Para conocer más revisar referencia en línea.  http://developer.android.com/guide/topics/resources/providing-resources.html Recursos De Una App 15
  16. 16. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  La función del fichero AndroidManifest.xml es muy importante porque comunica al sistema operativo lo siguiente:  Los Componentes que dispone la aplicación.  Los permisos necesarios para la aplicación (cámara, GPS)  La versión de Android mínima necesaria.  El hardware y software requerido y/o usado.  las librerias externas que utiliza (como Google Map) Archivo AndroidManifest.xml 16
  17. 17. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Componentes del archivo AndroidManifest.xml <activity> <service> <receiver> <provider> Archivo AndroidManifest.xml 17
  18. 18. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Archivo AndroidManifest.xml 18
  19. 19. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Entorno Android, Nuevo Proyecto 19
  20. 20. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Entorno Android, Nuevo Proyecto / Activity 20
  21. 21. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Entorno Android Studio 21
  22. 22. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  En la parte izquierda de la ventana de Android Studio, podemos cambiar la vista del árbol de carpetas del proyecto.  Las tres vistas más utilizadas son:  Vista Project  Vista Android  Vista Packages Vistas de Carpetas del Proyecto 22
  23. 23. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Vistas de Carpetas del Proyecto 23
  24. 24. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Lo primero que debemos distinguir son los conceptos de proyecto y módulo. La entidad proyecto es única, y engloba a todos los demás elementos. Dentro de un proyecto podemos incluir varios módulos. Vistas de Carpetas del Proyecto 24
  25. 25. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles AndroidManifest.xml en Vista Project 25  Desde el listado “Project”, podemos encontrar el AndroidManifest dentro de “Nombre de App / src / main / AndroidManifest.xml”.
  26. 26. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Activity.xml en Vista Project 26 La Activity que hemos creado se encuentran en “Nombre de App / src / main / java / Paquete de App”.
  27. 27. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles Carpeta de Recursos en Vista Project 27  Los recursos de la App se encuentran en la carpeta “Nombre de App / src / main / res / carpetas “layout” y “menu”.
  28. 28. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles 28 Pedro Antonio Villalta pavillalta@gmail.com Si la presentación fue útil, compártela y recomienda el blog. Diseño y Desarrollo De App Para Móviles
  29. 29. Entorno de Desarrollo Android Studio Diseño y Desarrollo De App Para Móviles  http://www.hermosaprogramacion.com/  http://www.hermosaprogramacion.com/2014/08/android-programar-app-como.html  http://developer.android.com/guide/  http://www.elandroidelibre.com/  http://developer.android.com/guide/topics/ui/index.html  http://developer.android.com/sdk/installing/studio-tips.html Enlaces a Recursos de Contenido

×