1. qwertyuiopasdfghjklzxcvbnmqwerty
uiopasdfghjklzxcvbnmqwertyuiopas
dfghjklzxcvbnmqwertyuiopasdfghjkl
zxcvbnmqwertyuiopasdfghjklzxcvbn
COMO REALIZAR UNA
APLICACIÓN MÓVIL.
mqwertyuiopasdfghjklzxcvbnmqwer
APLICACIÓN DE SUMA
tyuiopasdfghjklzxcvbnmqwertyuiopa
26/02/2013
SANJUANA LICEIDY DE LA ROSA MATA
sdfghjklzxcvbnmqwertyuiopasdfghjk
ELOY CONTRERAS DE LIRA
lzxcvbnmqwertyuiopasdfghjklzxcvbn
mqwertyuiopasdfghjklzxcvbnmqwer
tyuiopasdfghjklzxcvbnmqwertyuiopa
sdfghjklzxcvbnmqwertyuiopasdfghjk
lzxcvbnmqwertyuiopasdfghjklzxcvbn
mqwertyuiopasdfghjklzxcvbnmqwer
tyuiopasdfghjklzxcvbnmqwertyuiopa
sdfghjklzxcvbnmrtyuiopasdfghjklzxc
vbnmqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwertyui
2. SUMA DE TRES NUMEROS
Para realizar esta aplicación móvil se hiso principalmente:
1-tener que abrir el programa de NETBEANS.
2-Hacer lo siguiente:
3-despues creamos un nuevo proyecto (el mío se llama suma12) y damos enter.
4-despues creamos un paquete nuevo que se llame como ustedes gusten (el
mío se llama Suma).
5-En el paquete ya creado damos clic derecho y elegimos la opción de:
VisualMIDlet.
3. 6-damos enter y aparece la siguiente pantalla donde tendrás que tener un
nombre para la aplicación (la mía se llama sumas)…
4. 7-aparese la aplicación ya para trabajar y nos aparece así:
8-Nosotros tenemos que agregar un form y dar clic derecho y realizar esto:
5. 9-Unimos un formulario con el otro y modificamos sus campos según sea el
programa a realizar, quedará así:
Y después damos clic en Screen y agregaremos text field (los necesarios para la
aplicación) quedando así:
Después cambiaremos el nombre de los <null> a nombres como num1, en el
siguiente <null> num2….y así sucesivamente.
6. 10-nos vamos a la pantalla de flow y damos clic derecho en suma, después go
to sourse como se muestra:
Y copeamos o realizamos el código……el mío es este y es para sumar tres
números:
int nume1=0,nume2=0,nume3=0,resu=0;
nume1=Integer.parseInt(num1.getString());
nume2=Integer.parseInt(num2.getString());
nume3=Integer.parseInt(num3.getString());
resu=nume1+nume2+nume3;
res.setString(String.valueOf(resu));