Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Intro to Android in 4 days

Intro to Android in 4 days

Training for really basic Android concepts, way back in 2015.

Avatar for Andrei Diaconu

Andrei Diaconu

December 17, 2015
Tweet

More Decks by Andrei Diaconu

Other Decks in Technology

Transcript

  1. 4 zile 1. Setup + 1 Buton 2. Tipuri de

    layout 3. Activitati 4. Salvarea datelor
  2. Ziua 1 1. Setup Android Studio 2. Terminologie POO 3.

    Structura fisiere 4. XML Layout 5. Java
  3. A B

  4. A

  5. A B

  6. ViewGroup • LinearLayout • RelativeLayout • FrameLayout • TableLayout •

    GridLayout • PercentFrameLayout, PercentRelativeLayout ?
  7. Ziua 3 1. Populam ecranul cu date 2. Activitate de

    final de joc 3. Intenturi intre activitati
  8. Intent explicit • Intent i = new Intent(context, FinalActivity.class); •

    i.putExtra("key","value"); • startActivity(i);
  9. ACTION_SEND • Intent i = new Intent(Intent.ACTION_SEND); • i.putExtra(Intent.EXTRA_SUBJECT, "Subject

    Here"); • i.putExtra(Intent.EXTRA_TEXT, "A body"); • startActivity(i);
  10. Practica • Ecran de final • Validarea raspunsurilor • Legam

    intrebarile intre ele • Inchidem ecranele din urma
  11. Ziua 4 • Shared Preferences • Un ecran de start

    • Numar de castiguri si pierderi • Extra