Programació Android 3
-
Upload
marcsolerandroid -
Category
Technology
-
view
103 -
download
1
Transcript of Programació Android 3
![Page 1: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/1.jpg)
Programació d'aplicacions per a Smartphones: Android
• 3ª Sessió
![Page 2: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/2.jpg)
Actions i ListenersProgramació d'aplicacions per a Smartphones:
Android
ActionsPremer un botóTeclejar
GesturesScrollPremerZoom
![Page 3: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/3.jpg)
ListenersProgramació d'aplicacions per a Smartphones:
Android
![Page 4: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/4.jpg)
ClickListenerProgramació d'aplicacions per a Smartphones:
Android
![Page 5: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/5.jpg)
OnCheckedChangeListenerProgramació d'aplicacions per a Smartphones:
Android
![Page 6: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/6.jpg)
GesturesProgramació d'aplicacions per a Smartphones:
Android
![Page 7: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/7.jpg)
GesturesProgramació d'aplicacions per a Smartphones:
Android
OnDown: Es dispara quan el dit toca la pantalla. Precediex qualsevol altre esdeveniment,
OnShowPress: Es dispara quan el dit toca la pantalla al llard d’un periode curt de temps.
![Page 8: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/8.jpg)
GesturesProgramació d'aplicacions per a Smartphones:
Android
OnLongPress: Es dispara quan el dit toca la pantalla durant un periode llarg de temps.
OnSingleTap: Una polsació simple
![Page 9: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/9.jpg)
GesturesProgramació d'aplicacions per a Smartphones:
Android
OnScroll
![Page 10: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/10.jpg)
GesturesProgramació d'aplicacions per a Smartphones:
Android
OnFling
![Page 11: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/11.jpg)
AlertesProgramació d'aplicacions per a Smartphones:
Android
Dialog
![Page 12: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/12.jpg)
AlertesProgramació d'aplicacions per a Smartphones:
Android
Toast
![Page 13: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/13.jpg)
AndroidProgramació d'aplicacions per a Smartphones:
Android
•Exercici Accions i Listeners
![Page 14: Programació Android 3](https://reader030.fdocuments.co/reader030/viewer/2022032618/55b49393bb61eb0e338b45a9/html5/thumbnails/14.jpg)
AndroidProgramació d'aplicacions per a Smartphones:
Android
•Exercici Layouts complet https://dl.dropbox.com/u/23987217/ERAM/ej_03_01_BIS.zip