Skip to content

Latest commit

 

History

History
48 lines (23 loc) · 1.88 KB

README.md

File metadata and controls

48 lines (23 loc) · 1.88 KB

#android-dev

Android Beginner Level Exercises

ANDROID: View

• CakeDesign: Simple UI exercise for a "cake design" social network based. Creation of two layouts: portrait and landscape.

ANDROID: Events

• Calcolatrice1: Simple calculator, when a button is pressed the value of the number is changed. In this exercise i used android:onClick in the XML.

• Calcolatrice2: Simple calculator, when a button is pressed the value of the number is changed. In this exercise i used the Observer pattern with an "OnClick Listener".

• TouchEvents: An image and a textview to manage multiple Touch Events.

ANDROID: AsyncTask

• NumeroPrimo: Calculates if a number is a prime number. Made with AsyncTask and the doInBackground function.

• RichiestaHTTP: Simple HTTP request using AsyncTask class. (If you don't use this method you need to create a new Thread)

ANDROID: Volley Library

• RichiestaHttpVolley: Simple HTTP request using Volley Library (official Android Documentation)

ANDROID: Intent

• TestIntent: When a button is pressed, another activity is launched via an Intent. In the second Activity, when a "call" button is pressed, the dialer application is opened.

ANDROID: Model

• UserDatabase: a User Database using Android Room Library. 5 Users are stored, and you can search a user from an ID.

ANDROID: Adapter

• Contacts: App that display a list of Contacts based on a custom Adapter. When the user click on one contact, starts another activity that show only the details of the specific contact.

ANDROID: Location

• Position: App that, only after the user permissions, display the current location (and changes as the user moves) and the address.

ANDROID: Maps

• Map: App that show a Google Map fragment. At the button click "Show Users" displays the markers at the users positions. At the button click "My Position" display the current user position.