Lesson 1. Create project Sunshine
-
Upload
chanhyeong-lee -
Category
Mobile
-
view
169 -
download
1
Transcript of Lesson 1. Create project Sunshine
Lesson����������� ������������������ 0.����������� ������������������ Hello����������� ������������������ study
•자기����������� ������������������ 소개����������� ������������������
•일정����������� ������������������ 공유����������� ������������������ (����������� ������������������ 1/24����������� ������������������ 구글����������� ������������������ 해커톤����������� ������������������ )����������� ������������������
•역할����������� ������������������ (����������� ������������������ 도우미,����������� ������������������ 팀원����������� ������������������ )����������� ������������������
•목표
Lesson����������� ������������������ 1.����������� ������������������ Create����������� ������������������ Project����������� ������������������ Sunshine
도우미����������� ������������������ 이찬형
Welcome����������� ������������������ to����������� ������������������ developing����������� ������������������ android����������� ������������������ app
•java����������� ������������������
•android����������� ������������������ SDK����������� ������������������ API����������� ������������������
•핵심����������� ������������������ 동작����������� ������������������ 방법����������� ������������������
•best����������� ������������������ practice
Pre-course����������� ������������������ Self-Evaluation����������� ������������������
•How����������� ������������������ many����������� ������������������ years����������� ������������������ of����������� ������������������ programming����������� ������������������ experience����������� ������������������ do����������� ������������������ you����������� ������������������ have����������� ������������������ in����������� ������������������ Java?����������� ������������������
•Do����������� ������������������ you����������� ������������������ know����������� ������������������ how����������� ������������������ to����������� ������������������ share����������� ������������������ code����������� ������������������ on����������� ������������������ Github?����������� ������������������
•Have����������� ������������������ you����������� ������������������ ever����������� ������������������ built����������� ������������������ a����������� ������������������ mobile����������� ������������������ app?
Github
•http://www.slideshare.net/ibare/dvcs-git����������� ������������������
•http://git-scm.com/book/ko/v1
Introducing����������� ������������������ project����������� ������������������ Sunshine
•Today’s����������� ������������������ weather����������� ������������������
•week’s����������� ������������������ forecast����������� ������������������ (icon,����������� ������������������ scrollbar,����������� ������������������ detailed����������� ������������������ view)����������� ������������������
•share����������� ������������������
•change����������� ������������������ the����������� ������������������ unit����������� ������������������ of����������� ������������������ measure����������� ������������������ (����������� ������������������ Setting����������� ������������������ )����������� ������������������
•notification
Introducing����������� ������������������ project����������� ������������������ Sunshine
Why����������� ������������������ ?����������� ������������������
Core����������� ������������������ API����������� ������������������ !!!!!!!!!
Course����������� ������������������ goals����������� ������������������ and����������� ������������������ prerequisite
•weather����������� ������������������ app����������� ������������������ 만들기����������� ������������������
•thinking����������� ������������������ like����������� ������������������ a����������� ������������������ mobile����������� ������������������ developer����������� ������������������
•OOP
Installing����������� ������������������ android����������� ������������������ studio
•IntellJ-based����������� ������������������ IDE����������� ������������������
•search����������� ������������������ similar����������� ������������������ issue����������� ������������������ in����������� ������������������ online
IntellJ
•https://www.jetbrains.com/idea/����������� ������������������
•학생����������� ������������������
•직장인
Create����������� ������������������ a����������� ������������������ new����������� ������������������ android����������� ������������������ studio����������� ������������������ project
•KITKAT����������� ������������������ -����������� ������������������ API����������� ������������������ level����������� ������������������ 19����������� ������������������
•API����������� ������������������ level����������� ������������������ 20����������� ������������������ -����������� ������������������ android����������� ������������������ ware����������� ������������������ or����������� ������������������ watch����������� ������������������
•http://stackoverflow.com/questions/12926548/what-is-android-support-library����������� ������������������
•package����������� ������������������ name
Select����������� ������������������ a����������� ������������������ minimum����������� ������������������ and����������� ������������������ target����������� ������������������ SDK
•11����������� ������������������ new����������� ������������������ major����������� ������������������ platform����������� ������������������ release����������� ������������������
•min����������� ������������������ SDK����������� ������������������
•target����������� ������������������ SDK
Finish����������� ������������������ Creating����������� ������������������ a����������� ������������������ New����������� ������������������ Project
•API����������� ������������������ 10����������� ������������������ -����������� ������������������ Ginger����������� ������������������ bread����������� ������������������
•Blank����������� ������������������ Activity����������� ������������������ with����������� ������������������ Fragment����������� ������������������
•activity����������� ������������������
•fragment����������� ������������������
•image����������� ������������������ asset
Install����������� ������������������ HAXM
•emulator����������� ������������������
•mac/window����������� ������������������
•Genymotion����������� ������������������
•https://www.genymotion.com/#!/
Launching����������� ������������������ Sunshine����������� ������������������ and����������� ������������������ Creating����������� ������������������ an����������� ������������������ AVD
•Nexus����������� ������������������ 5����������� ������������������ virtual����������� ������������������ device����������� ������������������
•Android����������� ������������������ Debug����������� ������������������ Monitor����������� ������������������ -����������� ������������������ Emulator����������� ������������������ Control
Android����������� ������������������ Software����������� ������������������ Stack����������� ������������������ and����������� ������������������ Gradle
•Application����������� ������������������ Layer����������� ������������������
•Application����������� ������������������ Framework����������� ������������������
•C/C++����������� ������������������ Core����������� ������������������ lib,����������� ������������������ Android����������� ������������������ Runtime����������� ������������������
•Linux����������� ������������������ Kernel����������� ������������������
•Gradle
Gradle
•http://www.slideshare.net/ihoneymon/gradle-27152839����������� ������������������
•http://www.youtube.com/watch?v=5IAahr4TU5Y
Debugging����������� ������������������ with����������� ������������������ a����������� ������������������ physical����������� ������������������ device
•삼성����������� ������������������ 통합����������� ������������������ 드라이버����������� ������������������
•LG����������� ������������������ 드라이버����������� ������������������
•Setting����������� ������������������ ->����������� ������������������ about����������� ������������������ phone����������� ������������������ ->����������� ������������������ build����������� ������������������ num����������� ������������������ 7
creating����������� ������������������ a����������� ������������������ User����������� ������������������ Interface����������� ������������������
•MainActivity����������� ������������������
•PlaceholderFragment����������� ������������������
•list����������� ������������������ view
Why����������� ������������������ xml����������� ������������������ ?
•http://stackoverflow.com/questions/5645468/why-is-xml-used-for-the-creation-of-ui-layouts-in-android����������� ������������������
•http://themangs.tistory.com/m/post/30
Add����������� ������������������ ListItem����������� ������������������ XML
•Layout����������� ������������������ resource����������� ������������������ file����������� ������������������
•list����������� ������������������ item����������� ������������������ forecast
Why����������� ������������������ AbsoluteLayout����������� ������������������ is����������� ������������������ evil
•LinearLayout����������� ������������������
•RelativeLayout����������� ������������������
•FrameLayout����������� ������������������
•https://github.com/ssomai/ScalableLayout
ScrollView����������� ������������������ vs����������� ������������������ listViews
•device����������� ������������������ with����������� ������������������ limited����������� ������������������ memory����������� ������������������
•If����������� ������������������ you����������� ������������������ have����������� ������������������ 50����������� ������������������ items����������� ������������������ in����������� ������������������ a����������� ������������������ list,����������� ������������������ and����������� ������������������ can����������� ������������������ fit����������� ������������������ 10����������� ������������������ items����������� ������������������ on����������� ������������������ screen����������� ������������������ at����������� ������������������ once
Add����������� ������������������ ListView����������� ������������������ to����������� ������������������ layout
•Create����������� ������������������ some����������� ������������������ fake����������� ������������������ data,����������� ������������������ Adapters
Android����������� ������������������ main()?
•https://github.com/android/platform_frameworks_base/blob/master/core/java/android/app/ActivityThread.java#L5184