Top Banner
CETIS 109 CHRISTIAN GUADALUPE CARRERA SALAS 4 DM PROGRAMACIÓN DESARROLLO DE APLICACIONES MÓVILES CGCSDESARROLLODEAPLICACIONESMOVILES.BLOGSPOT.COM CGCS PROFRA. MARGARITA ROMERO ALVARADO
20

Resta CGCS

Jan 23, 2018

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Resta CGCS

CETIS 109CHRISTIAN GUADALUPE CARRERA SALAS

4 DMPROGRAMACIÓN

DESARROLLO DE APLICACIONES MÓVILESCGCSDESARROLLODEAPLICACIONESMOVILES.BLOGSPOT.COM

CGCSPROFRA. MARGARITA ROMERO ALVARADO

Page 2: Resta CGCS

TUTORIAL ECLIPSE / RESTA

Page 3: Resta CGCS

1.Abrir Eclipse

Page 4: Resta CGCS

2. Dar click en file y en Android Application Project

Page 5: Resta CGCS

3. Le damos un nombre , escogemos la configuración y

le damos next a todo lo que aparezca

Page 6: Resta CGCS

Nos aparecerá una pantalla como esta

Page 7: Resta CGCS

Eliminamos el hello world y añadimos un TextView

Page 8: Resta CGCS

Cambiamos el text a “Ingresa el numero 1” y el id a “

@+id/tv1 “

Page 9: Resta CGCS

Agregaremos un Plain Text (EditText) y cambiamos el id

por “ @+id/et1 “

Page 10: Resta CGCS

Agregaremos otro TextView y el text lo cambiamos

por “Ingresa el numero 2” y el id por “ @+id/tv2 “

Page 11: Resta CGCS

Agregaremos otro Plain Text (EditText) y el Id lo

cambiaremos por “ @+id/et2 “

Page 12: Resta CGCS

Agregamos un botón y cambiamos el text por “Resultado”

, Id por “ @+id/restar “ y On Click por “restar”

Page 13: Resta CGCS

Agregaremos otro TextView , cambiamos el text por “Resultado” y en

el Id ponemos “ @+id/tv3 “

Page 14: Resta CGCS

Damos click en MainActivity.java y al final del código que ya esta

escrito pondremos el nuestro.

Page 15: Resta CGCS

El código quedara así

Page 16: Resta CGCS

Iniciamos el emulador de Android

Page 17: Resta CGCS

Damos click derecho en la carpeta de nuestro

programa -> Run As -> Android Application

Page 18: Resta CGCS

Buscamos y abrimos la aplicación

Page 19: Resta CGCS

Así es como queda la aplicación

Page 20: Resta CGCS

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 claro que siempre hay que empezar

por lo básico para ir agarrando practica y ya después

poder hacer cosas grandes pues la practica hace al

maestro.

CONCLUSIÓN