Slide 1

Slide 1 text

Google Developers Study Jam Android for Beginners. Lesson 3 Constantine Mars Co-Organizer @ GDG Dnipropetrovs’k Senior Developer @ DataArt [email protected] +ConstantineMars

Slide 2

Slide 2 text

Agenda ● Learn ● Make Final Project and send to [email protected] with subject “Final Project”

Slide 3

Slide 3 text

Lesson 3A Object Oriented Programming

Slide 4

Slide 4 text

Method

Slide 5

Slide 5 text

Define a method

Slide 6

Slide 6 text

Access modifiers

Slide 7

Slide 7 text

Naming

Slide 8

Slide 8 text

Parameters

Slide 9

Slide 9 text

Method bakes outcomes… like cook :)

Slide 10

Slide 10 text

Returning value with proper type

Slide 11

Slide 11 text

Java keywords

Slide 12

Slide 12 text

Extending methods

Slide 13

Slide 13 text

Resources

Slide 14

Slide 14 text

Accessing Resources

Slide 15

Slide 15 text

Access Resources

Slide 16

Slide 16 text

Find resources in project

Slide 17

Slide 17 text

Between XML and Java

Slide 18

Slide 18 text

Objects

Slide 19

Slide 19 text

Objects

Slide 20

Slide 20 text

Class vs Instances

Slide 21

Slide 21 text

Class

Slide 22

Slide 22 text

SDK Search Chrome Extension

Slide 23

Slide 23 text

SDK Search Chrome Extension

Slide 24

Slide 24 text

Creating objects

Slide 25

Slide 25 text

Factory methods

Slide 26

Slide 26 text

Call method

Slide 27

Slide 27 text

Inside vs Outside

Slide 28

Slide 28 text

setContentView

Slide 29

Slide 29 text

Inheritance

Slide 30

Slide 30 text

View in hierarchy

Slide 31

Slide 31 text

Class and Superclass

Slide 32

Slide 32 text

FindViewById

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Cast to exact type

Slide 35

Slide 35 text

Lesson 3B Object Oriented Programming

Slide 36

Slide 36 text

Add Topping

Slide 37

Slide 37 text

Checkbox. Metrics/Redlines

Slide 38

Slide 38 text

Metrics/Redlines

Slide 39

Slide 39 text

Boolean

Slide 40

Slide 40 text

Updating logic

Slide 41

Slide 41 text

Lanscape. Scrolling

Slide 42

Slide 42 text

Advice: Learn to live with uncertainty, fear, doubt, confusion - and plow right ahead

Slide 43

Slide 43 text

What’s Your Name?

Slide 44

Slide 44 text

Conditional behavior

Slide 45

Slide 45 text

Conditions

Slide 46

Slide 46 text

Comparing

Slide 47

Slide 47 text

Input Checking

Slide 48

Slide 48 text

Input Checking

Slide 49

Slide 49 text

Sending Email

Slide 50

Slide 50 text

Sending Intents

Slide 51

Slide 51 text

Sending Intents

Slide 52

Slide 52 text

Sending Intents

Slide 53

Slide 53 text

Disambiguation dialog

Slide 54

Slide 54 text

What’s inside an Intent?

Slide 55

Slide 55 text

Starting Intent. Checking that Activity to handle it exists

Slide 56

Slide 56 text

No activity - crash will happen

Slide 57

Slide 57 text

Start email Intent

Slide 58

Slide 58 text

Localization

Slide 59

Slide 59 text

Localization

Slide 60

Slide 60 text

Localization

Slide 61

Slide 61 text

Localization

Slide 62

Slide 62 text

Styles

Slide 63

Slide 63 text

Separate design from content

Slide 64

Slide 64 text

Defining Style

Slide 65

Slide 65 text

Add Styles

Slide 66

Slide 66 text

Congratulations! All 3 Lessons Done! :)

Slide 67

Slide 67 text

Final Project

Slide 68

Slide 68 text

Final Project Steps Step 1: Ideas for the Final Project Step 2: Solution Design Step 3: Read the Project Rubric Step 4: Write Code to Make Your App Step 5: Write a README file Step 6: Submit Deliverables

Slide 69

Slide 69 text

Examples of Final Project Ideas 5 ways to... ● 5 ways to cook with beans ● 5 ways to use keyboard shortcuts ● 5 ways to deal with a sprained ankle ● 5 ways of teaching science ● 5 ways of making a baby laugh ● 5 movies to watch before you die ● 5 ways to get your kid to go to sleep ● 5 English words that are rarely used ● 5 amazing board games ● 5 tips when traveling abroad (or pick a country for more specific suggestions) ● 5 of the best songs ever ● 5 of my deepest secrets (shhhh….) ● 5 emergency numbers for the city you live in

Slide 70

Slide 70 text

What to do? ● Focus on user, not on (extra) features ● Write README to project ● https://docs.google.com/document/d/1W4VEOuKCnceCH-lwYF_Jv8DUY MyWC-xMLGpyJtE5Tio/pub

Slide 71

Slide 71 text

Submission Step 6: Submit Deliverables Once you have completed the steps above, follow the instructions below to submit your project. If you are enrolled in the paid version of this course, zip the following files, go back to your Udacity Home, click on the button to submit your project, and we'll walk you through the rest of the submission process. Here is some information on how to zip files on your computer. The files to submit are: The Project Idea document you created in Step 1 The images from Step 2 that highlight the Solution Design The folder that all files that make up your app A README with instructions on how to set up and run your project You’ll receive a confirmation email from us once we’ve received the project. It can take us up to 7 business days to grade the project. If you are enrolled in the free version of this course, please submit screenshots of the output of your program to the following discussion forum. Submit deliverables to: [email protected]

Slide 72

Slide 72 text

See you on certification ceremony :) Study Jam: Android for Beginners Constantine Mars Co-Organizer @ GDG Dnipropetrovs’k Senior Developer @ DataArt [email protected] +ConstantineMars