• Like
AndroidStudioとGradleを利用したScala言語によるAndroidアプリの開発
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

AndroidStudioとGradleを利用したScala言語によるAndroidアプリの開発

  • 24 views
Published

ABC 2014 winterでのLT発表資料です

ABC 2014 winterでのLT発表資料です

Published in Mobile
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
24
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 1 LibreOffice Productivity Suite Android StudioとGradleを利 用したScala言語による Androidアプリの開発 茂木 勇 @saturday06
  • 2. 2 LibreOffice Productivity Suite 自己紹介 茂木 勇 フリーランス Emacs たけのこ
  • 3. 3 LibreOffice Productivity Suite 突然ですが
  • 4. 4 LibreOffice Productivity Suite つらい事例1
  • 5. 5 LibreOffice Productivity Suite 偉い人「Reactive Programming とやらが 流行ってますね!」
  • 6. 6 LibreOffice Productivity Suite iOSプログラマ 「せやな」
  • 7. 7 LibreOffice Productivity Suite SI系プログラマ (Java8利用中) 「せやな」
  • 8. 8 LibreOffice Productivity Suite Androidプログラマ (私です) 「ウッ・・・つらい・・・」 「ラムダ式欲しい」
  • 9. 9 LibreOffice Productivity Suite Androidプログラマ (私です) 「ウッ・・・つらい・・・」 「ラムダ式欲しい」
  • 10. 10 LibreOffice Productivity Suite つらい事例2
  • 11. 11 LibreOffice Productivity Suite iOS開発者に Android開発 のヘルプに入っ てもらった際
  • 12. 12 LibreOffice Productivity Suite ByteArrayOutputStream baos = new ByteArrayOutputStream(); iOS氏「長い型名を何度 も書くのつらいです」
  • 13. 13 LibreOffice Productivity Suite ByteArrayOutputStream baos = new ByteArrayOutputStream(); iOS氏「これどっちか省略 できませんか?」
  • 14. 14 LibreOffice Productivity Suite ByteArrayOutputStream baos = new ByteArrayOutputStream(); 俺氏「...」
  • 15. 15 LibreOffice Productivity Suite つらい
  • 16. 16 LibreOffice Productivity Suite つらい俺にまかせろー!
  • 17. 17 LibreOffice Productivity Suite ・retrolambda ・lombok ・groovy ・kotlin ・scala ・ceylon ・clojure ・jruby ・jyson ・xamarin系 Javaに機能追加する方法 Java以外の言語を使う方法
  • 18. 18 LibreOffice Productivity Suite 今回は Scalaを使います
  • 19. 19 LibreOffice Productivity Suite Androidで Scalaを使う方法 は2種類ある
  • 20. 20 LibreOffice Productivity Suite 1. PFN氏のSBTを  使ったビルド環境 2. 拙作のGradleを  使ったビルド環境
  • 21. 21 LibreOffice Productivity Suite 1. PFN氏のSBTを  使ったビルド環境 2. 拙作のGradleを  使ったビルド環境
  • 22. 22 LibreOffice Productivity Suite 環境セットアップ済み Android Studioでの 実演
  • 23. 23 LibreOffice Productivity Suite
  • 24. 24 LibreOffice Productivity Suite
  • 25. 25 LibreOffice Productivity Suite
  • 26. 26 LibreOffice Productivity Suite
  • 27. 27 LibreOffice Productivity Suite
  • 28. 28 LibreOffice Productivity Suite
  • 29. 29 LibreOffice Productivity Suite
  • 30. 30 LibreOffice Productivity Suite
  • 31. 31 LibreOffice Productivity Suite
  • 32. 32 LibreOffice Productivity Suite
  • 33. 33 LibreOffice Productivity Suite
  • 34. 34 LibreOffice Productivity Suite
  • 35. 35 LibreOffice Productivity Suite
  • 36. 36 LibreOffice Productivity Suite
  • 37. 37 LibreOffice Productivity Suite
  • 38. 38 LibreOffice Productivity Suite
  • 39. 39 LibreOffice Productivity Suite
  • 40. 40 LibreOffice Productivity Suite 動いた!
  • 41. 41 LibreOffice Productivity Suite セットアップ 手順
  • 42. 42 LibreOffice Productivity Suite まずAndroidStudioに Scalaプラグインを 入れます
  • 43. 43 LibreOffice Productivity Suite
  • 44. 44 LibreOffice Productivity Suite
  • 45. 45 LibreOffice Productivity Suite
  • 46. 46 LibreOffice Productivity Suite
  • 47. 47 LibreOffice Productivity Suite
  • 48. 48 LibreOffice Productivity Suite 次に、プロジェクトを 作ります
  • 49. 49 LibreOffice Productivity Suite
  • 50. 50 LibreOffice Productivity Suite
  • 51. 51 LibreOffice Productivity Suite
  • 52. 52 LibreOffice Productivity Suite
  • 53. 53 LibreOffice Productivity Suite 次は、 最上位ディレクトリの build.gradleに Scalaプラグインの 参照先を 追加します
  • 54. 54 LibreOffice Productivity Suite
  • 55. 55 LibreOffice Productivity Suite
  • 56. 56 LibreOffice Productivity Suite 次は、 アプリ用ディレクトリの build.gradleに Scalaプラグインを 適用します
  • 57. 57 LibreOffice Productivity Suite
  • 58. 58 LibreOffice Productivity Suite
  • 59. 59 LibreOffice Productivity Suite Scalaのライブラリを 追加します。
  • 60. 60 LibreOffice Productivity Suite
  • 61. 61 LibreOffice Productivity Suite
  • 62. 62 LibreOffice Productivity Suite MultiDexの手動設定を します ※この処理は将来的に自動 化されます
  • 63. 63 LibreOffice Productivity Suite
  • 64. 64 LibreOffice Productivity Suite
  • 65. 65 LibreOffice Productivity Suite
  • 66. 66 LibreOffice Productivity Suite MultiDexの設定ファイルを 作ります ※この処理も将来的に自動 化されます
  • 67. 67 LibreOffice Productivity Suite
  • 68. 68 LibreOffice Productivity Suite
  • 69. 69 LibreOffice Productivity Suite AndroidManifest.xml に MultiDexの設定をします
  • 70. 70 LibreOffice Productivity Suite
  • 71. 71 LibreOffice Productivity Suite
  • 72. 72 LibreOffice Productivity Suite 以上で
  • 73. 73 LibreOffice Productivity Suite 動きます!
  • 74. 74 LibreOffice Productivity Suite
  • 75. 75 LibreOffice Productivity Suite ありがとうございました! See also: https://github.com/saturday06/gradle-android-scala-plugin