Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Androidオープンソースライブラリの作り方
Search
takahirom
February 19, 2015
Programming
4
1.1k
Androidオープンソースライブラリの作り方
takahirom
February 19, 2015
Tweet
Share
More Decks by takahirom
See All by takahirom
Google の LLM ライブラリ を Android アプリで 使うには?
takahirom
0
1.3k
Robolectric Native Graphics and Roborazzi
takahirom
1
1.7k
Androidアプリで安定して動作させ継続的に開発するために設計の原則を利用して開発した話
takahirom
2
1.3k
Android Tools & Performance
takahirom
1
1.1k
Jetpack Compose State Practices
takahirom
1
1.3k
Inside Jetpack Compose
takahirom
1
880
What’s new in Android Jetpack and Tools
takahirom
0
360
ABEMAのKotlin Multiplatform
takahirom
4
5.5k
What's new in Kotlin Coroutines on Android
takahirom
2
2.6k
Other Decks in Programming
See All in Programming
ASP. NET CoreにおけるWebAPIの最新情報
tomokusaba
0
180
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
Package Traits
ikesyo
2
220
AWS Lambda functions with C# 用の Dev Container Template を作ってみた件
mappie_kochi
0
210
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
2.2k
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
190
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
190
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
140
Compose でデザインと実装の差異を減らすための取り組み
oidy
1
220
動作確認やテストで漏れがちな観点3選
starfish719
5
700
ゼロからの、レトロゲームエンジンの作り方
tokujiros
3
1.1k
Amazon Bedrock Multi Agentsを試してきた
tm2
1
180
Featured
See All Featured
Music & Morning Musume
bryan
46
6.3k
Mobile First: as difficult as doing things right
swwweet
222
9.1k
Optimising Largest Contentful Paint
csswizardry
33
3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
Thoughts on Productivity
jonyablonski
68
4.4k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
4 Signs Your Business is Dying
shpigford
182
22k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
Side Projects
sachag
452
42k
Adopting Sorbet at Scale
ufuk
74
9.2k
Transcript
AndroidΦʔϓϯιʔε ϥΠϒϥϦͷ࡞Γํ
ࣗʹ͍ͭͯ UBLBIJSPN !OFX@SVOOBCMF ! ࣄझຯ"OESPJE
AndroidΞϓϦͷϥΠϒϥϦ ButterKnifeͱ͔ Volleyͱ͔ Daggerͱ͔ RxAndroidͱ͔ ͍Ζ͍Ζ͋Γ·͢ΑͶʁ
ࣗͰ࡞ΕͨΒخ͍ͣ͠
ϥΠϒϥϦ ϓϩδΣΫτͷ࡞Γํ
Android StudioͰ ී௨ʹΞϓϦͷϓϩδΣΫτΛ࡞Δ
/FX.PEVMFͰ"OESPJE-JCSBSZΛࢦఆ
͜͜Ͱ໊લΛzMJCSBSZzΈ͍ͨͳ ҆қͳ໊લΛ͚ͭͯ͠·͍͕ͪͰ͕͢ɺɺ
test-library-nameͱ͍͏Α͏ͳ ϋΠϑϯ۠Γͷܗʹ
ΓํʹΑΓ·͕͢ ͜ͷ࣌ͷσΟϨΫτϦ໊Ͱ ϥΠϒϥϦͷ໊લ͕มΘΓ·͢ ! ! (ϓϩδΣΫτ໊͕ϥΠϒϥϦ໊ʹͳΔͨΊ) MJCSBSZʹͳͬͯ͠·ͬͨCVJMEHSBEMF IUUQTHJUIVCDPNUBLBIJSPN8FBS-JTUFOFS4FSWJDF#SPBEDBTUFSCMPC CEBCEDBFBFCFEECEGMJCSBSZCVJMEHSBEMF
ϞδϡʔϧΛࢀর
MJCSBSZϓϩδΣΫτͷத͕ BQQϓϩδΣΫτ͔Βී௨ʹࢀরͰ͖ΔͷͰ ! BQQϓϩδΣΫτΛαϯϓϧͱͯ͠ ։ൃ͠·͢ ։ൃ
Φʔϓϯιʔεʹ͢Δ "QBDIFͳͲͷϥΠηϯεදهΛͯ͠ (JUIVCʹQVTI͠·͢
ϥΠϒϥϦͷެ։ • GithubͰެ։͢Δํ๏ • jCenterͰެ։͢Δํ๏(ΦεεϝͰ͢) • MavenCentralͰެ։͢Δํ๏(େมΒ͍͠) • jitpack.io(jCenterʹΞοϓ͞Ε͍ͯͳ͍ϥΠϒϥ ϦΛ͑ΔΒ͍͠)
GithubͰެ։͢Δ(ެ։ଆ) EFGSFQPOFX'JMF SPPU%JS SFQPTJUPSZ BQQMZQMVHJONBWFO VQMPBE"SDIJWFT\ SFQPTJUPSJFT\
NBWFO%FQMPZFS\ SFQPTJUPSZVSMpMF\SFQPBCTPMVUF1BUI^ QPNWFSTJPO QPNHSPVQ*EBUXBEB QPNBSUJGBDU*EBOESPJEEJBMPHGSBHNFOUT ^ ^ ^ IUUQXBEBCMPHTQPUDPNEJTUSJCVUFBOESPJEMJCSBSZBTNBWFOSFQPTJUPSZJOHJUIVCIUNMΑΓ
GithubͰެ։͢Δ (ར༻͢Δଆ) SFQPTJUPSJFT\ NBWFO\VSMIUUQSBXHJUIVCDPNXBEB"OESPJE %JBMPH'SBHNFOUTNBTUFSSFQPTJUPSZ^ ^ EFQFOEFODJFT\ DPNQJMFBUXBEBBOESPJEEJBMPHGSBHNFOUT ^
GithubͰެ։͢Δ ϝϦοτ खܰ σϝϦοτ ͏ଆͰೋߦॻ͘ඞཁ͋Γ ͏ଆͰϏϧυ͕͘ͳΔ(5ඵఔ͘ͳΔΑ͏Ͱ͢)
jCenterʹొ bintrayʹొ https://bintray.com/bintray/jcenter ->sign up
jCenterʹొ w ϩάΠϯͯ͠ɺQSPpMFͷϖʔδʹߦ͘&EJU"1*,FZ ͰݟΒΕΔ w IUUQTHJUIVCDPNCJOUSBZCJOUSBZFYBNQMFT USFFNBTUFSHSBEMFBBSFYBNQMF w ΛࢀߟʹϥΠϒϥϦͷϞδϡʔϧʹCVJMEHSBEMFΛ࣮
jCenterʹొ (SBEMFεΫϦϓτͰ HSPVQDPNCJOUSBZFYBNQMF WFSTJPO ͳͲΛࢦఆ͠·͢
jCenterʹొ bintrayʹΞοϓϩʔυ ./gradlew bintrayUpload
jCenterʹొ Ξοϓϩʔυ͢ΔͱbintrayʹͦͷϥΠϒϥϦͷ ϖʔδ͕Ͱ͖·͢ Link to jcenterͱ͍͏ϦϯΫ͕͋ΔͷͰΫϦοΫ ςΩετϘοΫε͕͋ΔͷͰ͕͢Կೖྗͤͣʹ ͦͷ··ਃ͢ΕOKʂ
jCenterʹొ(͏ଆ) dependencies{ compile ‘com.bintray.example:test-library- name:1.0.0’ } Ͱࢦఆͯ͋͛͠ΕେৎͰ͢
jCenterʹΞοϓϩʔυ͢Δલʹ ϩʔΧϧʹpublishͯ֬͠ೝ (ϥΠϒϥϦଆ) apply plugin: 'maven-publish' android.libraryVariants publishing { publications
{ maven(MavenPublication) { artifact bundleRelease } } } ͜ΕΛϥΠϒϥϦϞδϡʔϧͷͷbuild.gradleʹՃͯ͠ ./gradlew publishToMavenLocal ϩʔΧϧ্ʹ͋ΔϦϙδτϦʹpublish
jCenterʹΞοϓϩʔυ͢Δલʹ ϩʔΧϧʹpublishͯ֬͠ೝ (͏ଆ) repositories { mavenLocal() } dependencies { compile
‘com.bintray.example:test-library-name:1.0.0’ }
ΘΕͳ͍ͱ൵͍͠
࡞ͬͨΒڞ༗͢Δ Google+ͷAndroid projects on Githubʹ ߘ͢ΔͱAndroid ArsenalʹՃ͞ΕΔͷ Ͱ͍͍ײ͡ IUUQTQMVTHPPHMFDPNVDPNNVOJUJFT
ΦʔϓϯιʔεͰ ָ͘͠։ൃΛʂʂʂ
࡞͍ͬͯΔͷ ϚςϦΞϧσβΠϯΆ͍ ΥονϑΣΠεΞϓϦ(։ൃத) WearLocationWatchFace ! Android Wear͚ͷϥΠϒϥϦ WearSharedPreferences WearHttp 11ίϛοτ