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

12f91ebd556cc5b1e88e16e5fd47549b?s=47 sakebook
April 04, 2016

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

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

12f91ebd556cc5b1e88e16e5fd47549b?s=128

sakebook

April 04, 2016
Tweet

Transcript

  1. 6.
  2. 11.
  3. 16.

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

    Empty Activity • Activity ≒ ը໘ • ͦͷ··(ޙ͔ΒมߋՄೳ)
  4. 20.

    • build/ • Ϗϧυ࣌ͷ
 ϑΝΠϧஔ͖৔ • gradle/ • Ϗϧυʹඞཁͳ
 Gradleஔ͖৔

    • .gitignore • gitͰ؅ཧ͠ͳ͍΋ͷΛ
 ࢦఆ • build.gradle • ϓϩδΣΫτͷ
 ґଘؔ܎Λهड़
  5. 22.

    • local.properties • ݸਓͷ؀ڥͷSDKͷ
 ύεͷઃఆ • MyApplication.iml • IntellijͷϑΝΠϧ •

    setting.gradle • GradleͷϏϧυϞδϡʔϧΛهड़ • External Libraries • ϓϩδΣΫτͷ
 ֎͔Βࢀর͍ͯ͠Δ
 ϥΠϒϥϦ
  6. 23.

    • app/ • Ϟδϡʔϧ • app/libs • ϩʔΧϧϥΠϒϥϦ
 ஔ͖৔ •

    app/build.gradle • ϞδϡʔϧͷϏϧυͷઃఆ΍
 ґଘؔ܎Λهड़ • app/proguard-rules.pro • ೉ಡԽʹ༻͍Δ
  7. 24.

    • src • ίϯύΠϧର৅ͷ
 ϑΝΠϧஔ͖৔ • src/androidTest • ςετϑΝΠϧஔ͖৔ •

    src/main/java • ιʔεϑΝΠϧஔ͖৔ • src/main/res • ϦιʔεϑΝΠϧஔ͖৔
  8. 25.

    • drawable • ը૾΍xmlΛஔ͘৔ॴ • layout • ϨΠΞ΢τͷxmlΛ
 ஔ͘৔ॴ •

    menu • ϝχϡʔͷxmlΛஔ͘৔ॴ • mipmap • ΞΠίϯը૾Λஔ͘৔ॴ
  9. 31.

    ߦ਺දࣔ • ϑΝΠϧͷࠨଆʹݱࡏͷߦ਺Λ
 දࣔͯ͘͠ΕΔ • Android Studio -> Preference ->

    
 Editor -> General -> Appearance ->
 ʮShow line numbersʯ
 (νΣοΫΛೖΕΔ)
  10. 35.
  11. 37.
  12. 42.
  13. 49.

    ࢖͍෼͚ • 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) ʮΤϥʔʯ
  14. 60.

    Α͘࢖͏ίϚϯυ • git status • git diff ϑΝΠϧ • git

    checkout ϑΝΠϧ • git add ϑΝΠϧ • git commit -m “ϝοηʔδ” • git pull “ϦϞʔτϦϙδτϦͷURL” “ϩʔΧϧͷϒϥϯν໊” • git push “ϦϞʔτϦϙδτϦͷURL” “ϩʔΧϧͷϒϥϯν໊”
  15. 61.
  16. 63.

    • git commit -m “ϝοηʔδ” • commitର৅ʹͨ͠ϑΝΠϧͨͪΛ
 pushର৅ʹ͢Δ • git

    pull “ϦϞʔτϦϙδτϦͷURL” “ϩʔΧϧͷ ϒϥϯν໊” • ϦϞʔτϦϙδτϦͷมߋΛϩʔΧϧʹ൓ өͤ͞Δ
  17. 65.

    ~/.GITCONFIG [user] name = Shinya Sakemoto email = sakebook@gmail.com [color]

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