List view CGCS
-
Upload
christian-carrera -
Category
Technology
-
view
47 -
download
0
Transcript of List view CGCS
![Page 1: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/1.jpg)
CETIS 109 CHRISTIAN GUADALUPE CARRERA SALAS 4 DM PROGRAMACIÓN DESARROLLO DE APLICACIONES MÓVILES CGCSDESARROLLODEAPLICACIONESMOVILES.BLOGSPOT.COM CGCS PROFRA. MARGARITA ROMERO ALVARADO
![Page 2: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/2.jpg)
TUTORIAL ECLIPSE / LIST VIEW
![Page 3: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/3.jpg)
1.Abrir Eclipse
![Page 4: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/4.jpg)
2. Dar click en file y en Android Application Project
![Page 5: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/5.jpg)
3. Le damos un nombre , escogemos la configuración y le damos next a todo lo que aparezca
![Page 6: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/6.jpg)
Nos aparecerá una pantalla como esta
![Page 7: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/7.jpg)
Eliminamos el hello world y añadimos un TextView con Id tv1
![Page 8: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/8.jpg)
Agregaremos una ListView y en el Id ponemos lv1
![Page 9: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/9.jpg)
Damos click en MainActivity.java y al final del código que ya esta escrito pondremos el nuestro.
![Page 10: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/10.jpg)
El código quedara así
![Page 11: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/11.jpg)
Iniciamos el emulador de Android
![Page 12: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/12.jpg)
Damos click derecho en la carpeta de nuestro programa -> Run As -> Android Application
![Page 13: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/13.jpg)
Buscamos y abrimos la aplicación
![Page 14: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/14.jpg)
Así es como queda la aplicación
![Page 15: List view CGCS](https://reader035.fdocuments.in/reader035/viewer/2022062523/5873dc9e1a28abd72e8b4e6b/html5/thumbnails/15.jpg)
La conclusión que me dejan hacer este tipo de aplicaciones es que programar no es difícil y menos si lo haces en eclipse ya que tiene muchas herramientas que te facilitan el trabajo pues solo vas poniendo los componentes que necesites y listo, claro que siempre hay que empezar por lo básico para ir agarrando practica y ya después poder hacer cosas mucho mas complejas pues la practica nos hace ser mejores.
CONCLUSIÓN