presentacion practica 1,2 y 3
TRANSCRIPT
![Page 1: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/1.jpg)
Cetis 109Yarker Francisco Castillo Del RosarioAixa Elizabeth Rodríguez MartínezDesarrolla aplicaciones móviles.MCA: Margarita Romero Alvarado.Suma, Resta, Multiplicacion y División.
![Page 2: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/2.jpg)
Abrimos eclipse y le damos en File luego en New y después en Android Application Project.
![Page 3: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/3.jpg)
Le ponemos nombre al proyecto y le damos en Next.
![Page 4: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/4.jpg)
Le damos en Next.
![Page 5: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/5.jpg)
Le damos en Next.
![Page 6: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/6.jpg)
Le damos en Finnish.
![Page 7: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/7.jpg)
«Sustraccion»
![Page 8: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/8.jpg)
En text fields seleccionar abc y arrastrar hasta la pantalla.
![Page 9: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/9.jpg)
En id poner et1.
![Page 10: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/10.jpg)
Arrastrar otro text view y en id poner tv2
![Page 11: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/11.jpg)
Poner et2
![Page 12: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/12.jpg)
Agregar un botón y en text poner resultado y en onclick restar.
![Page 13: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/13.jpg)
Poner un text view y poner en Text resultado y en id tv3
![Page 14: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/14.jpg)
Escribir el codigo
![Page 15: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/15.jpg)
Luego dar clic en la flecha verde y luego en Android Application.
![Page 16: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/16.jpg)
Nos abrirá una ventana así donde podremos comprobar que funciona.
![Page 17: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/17.jpg)
«Suma»
![Page 18: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/18.jpg)
Se agregan los botones y las opciones que se requieren:
![Page 19: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/19.jpg)
El los botones es casi lo mismo, solo se cambia la acción por sumar y el código es el siguiente:
![Page 20: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/20.jpg)
«Multiplicación»
![Page 21: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/21.jpg)
Se agregan los botones que se necesitan y se modifican las propiedades
![Page 22: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/22.jpg)
• El código para la multiplicación es el siguiente
![Page 23: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/23.jpg)
«División»
![Page 24: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/24.jpg)
• Se colocan los botones y las opcciones que se necesiten
![Page 25: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/25.jpg)
Se escribe el siguiente código
![Page 26: Presentacion Practica 1,2 y 3](https://reader036.vdocuments.pub/reader036/viewer/2022062412/586f881e1a28ab54768b5b2b/html5/thumbnails/26.jpg)
Se abre el emulador y se corre el programa quedande de esta forma.