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

1ヶ月でAndroidカメラアプリ開発(1/4)

sakebook
April 04, 2016

 1ヶ月でAndroidカメラアプリ開発(1/4)

Adobe Creative SDKを使った写真加工アプリの開発のスライドです。全4回。

sakebook

April 04, 2016
Tweet

More Decks by sakebook

Other Decks in Programming

Transcript

  1. NEW PROJECT • Phone and Tablet • API 16(4.1) •

    Empty Activity • Activity ≒ ը໘ • ͦͷ··(ޙ͔ΒมߋՄೳ)
  2. • build/ • Ϗϧυ࣌ͷ
 ϑΝΠϧஔ͖৔ • gradle/ • Ϗϧυʹඞཁͳ
 Gradleஔ͖৔

    • .gitignore • gitͰ؅ཧ͠ͳ͍΋ͷΛ
 ࢦఆ • build.gradle • ϓϩδΣΫτͷ
 ґଘؔ܎Λهड़
  3. • local.properties • ݸਓͷ؀ڥͷSDKͷ
 ύεͷઃఆ • MyApplication.iml • IntellijͷϑΝΠϧ •

    setting.gradle • GradleͷϏϧυϞδϡʔϧΛهड़ • External Libraries • ϓϩδΣΫτͷ
 ֎͔Βࢀর͍ͯ͠Δ
 ϥΠϒϥϦ
  4. • app/ • Ϟδϡʔϧ • app/libs • ϩʔΧϧϥΠϒϥϦ
 ஔ͖৔ •

    app/build.gradle • ϞδϡʔϧͷϏϧυͷઃఆ΍
 ґଘؔ܎Λهड़ • app/proguard-rules.pro • ೉ಡԽʹ༻͍Δ
  5. • src • ίϯύΠϧର৅ͷ
 ϑΝΠϧஔ͖৔ • src/androidTest • ςετϑΝΠϧஔ͖৔ •

    src/main/java • ιʔεϑΝΠϧஔ͖৔ • src/main/res • ϦιʔεϑΝΠϧஔ͖৔
  6. • drawable • ը૾΍xmlΛஔ͘৔ॴ • layout • ϨΠΞ΢τͷxmlΛ
 ஔ͘৔ॴ •

    menu • ϝχϡʔͷxmlΛஔ͘৔ॴ • mipmap • ΞΠίϯը૾Λஔ͘৔ॴ
  7. ߦ਺දࣔ • ϑΝΠϧͷࠨଆʹݱࡏͷߦ਺Λ
 දࣔͯ͘͠ΕΔ • Android Studio -> Preference ->

    
 Editor -> General -> Appearance ->
 ʮShow line numbersʯ
 (νΣοΫΛೖΕΔ)
  8. ࢖͍෼͚ • Log.v(String tag, String msg) ʮ৑௕ʯ • Log.d(String tag,

    String msg) ʮσόοάʯ • Log.i(String tag, String msg) ʮ৘ใʯ • Log.w(String tag, String msg) ʮܯࠂʯ • Log.e(String tag, String msg) ʮΤϥʔʯ
  9. Α͘࢖͏ίϚϯυ • git status • git diff ϑΝΠϧ • git

    checkout ϑΝΠϧ • git add ϑΝΠϧ • git commit -m “ϝοηʔδ” • git pull “ϦϞʔτϦϙδτϦͷURL” “ϩʔΧϧͷϒϥϯν໊” • git push “ϦϞʔτϦϙδτϦͷURL” “ϩʔΧϧͷϒϥϯν໊”
  10. • git commit -m “ϝοηʔδ” • commitର৅ʹͨ͠ϑΝΠϧͨͪΛ
 pushର৅ʹ͢Δ • git

    pull “ϦϞʔτϦϙδτϦͷURL” “ϩʔΧϧͷ ϒϥϯν໊” • ϦϞʔτϦϙδτϦͷมߋΛϩʔΧϧʹ൓ өͤ͞Δ
  11. ~/.GITCONFIG [user] name = Shinya Sakemoto email = [email protected] [color]

    ui = auto [alias] st = status br = branch -a ch = checkout cm = commit stt = status -uno difff = diff --word-diff • Α͘࢖͏΋ͷ͸
 ొ࿥͓ͯ͘͠ͱศར