Slide 1

Slide 1 text

Android Development 101 Steven Siahaan @stevenjhsiahaan

Slide 2

Slide 2 text

14 2.71 billion million smartphone users in the world today (2019). Almost every third person worldwide owns a smartphone jobs directly related to the mobile industry (Source: Statista) (Source: GSMA, The Mobile Economy 2019)

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Tools Genymotion (optional)

Slide 5

Slide 5 text

Manifest Android Test Gradle Resources Layout

Slide 6

Slide 6 text

Topics • Activity • Intent • Fragment • User Interface • Sources

Slide 7

Slide 7 text

Activity

Slide 8

Slide 8 text

Activity “An activity represents a single screen with a user interface” Last in, First Out (LIFO)

Slide 9

Slide 9 text

Intent

Slide 10

Slide 10 text

Intent “a messaging object you can use to request an action from another app component” • Explicit Intents Explicit intents explicitly define the component which should be called by the Android system, by using the Java class as identifier

Slide 11

Slide 11 text

Intent cont’d • Implicit Intents Implicit intents specify the action which should be performed and optionally data which provides content for the action.

Slide 12

Slide 12 text

Intent cont’d Send data through intent : Receive data through intent :

Slide 13

Slide 13 text

Fragment

Slide 14

Slide 14 text

Fragment “a piece of an activity which enable more modular activity design” • A fragment must always be hosted in an activity • A fragment has its own layout and its own behavior • A fragment can be used in multiple activities

Slide 15

Slide 15 text

User Interfaces Layouts

Slide 16

Slide 16 text

Layouts – Linear Layout

Slide 17

Slide 17 text

Layouts – Relative Layout

Slide 18

Slide 18 text

Layouts List View Grid View

Slide 19

Slide 19 text

ReclycerView flexible and efficient version of ListView. It is an container for rendering larger data set of views that can be recycled and scrolled very efficiently. (source : Dicoding )

Slide 20

Slide 20 text

User Interfaces Components

Slide 21

Slide 21 text

User Interfaces - Component Button Tabs Checkbox, Radio, Switch Bottom Navigation TextView & EditText

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Codelabs https://codelabs.developers.google.com/codelabs/build-your-first- android-app/index.html#0 Build Your First Android Application :

Slide 24

Slide 24 text

Tips & Trick • Open Source • Repetition • Sharing

Slide 25

Slide 25 text

Sources • https://developer.android.com/guide • https://material.io/ • https://android.jlelse.eu/ • https://www.tutorialspoint.com/

Slide 26

Slide 26 text

No content