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
Tauri Mobile で生成される Android のコードを見てみる
Search
Hiroyuki Kusu
December 22, 2022
Technology
0
1.4k
Tauri Mobile で生成される Android のコードを見てみる
potatotips #80 (
https://potatotips.connpass.com/event/267635/
) の資料
Hiroyuki Kusu
December 22, 2022
Tweet
Share
More Decks by Hiroyuki Kusu
See All by Hiroyuki Kusu
モノレポのプルリクエストに最近、導入したもの
hkusu
2
470
GitHub composite actions
hkusu
2
340
Android の静的解析における SARIF ファイルの活用
hkusu
0
4.9k
CI_でライブラリのバージョンの変化をレポートする.pdf
hkusu
0
340
Maestro を GitHub Actions で動かす 〜Android編〜
hkusu
1
1.5k
Android の CI(GitHub Actions)の改善で、最近やったこと
hkusu
0
600
Custom GitHub Actions を作って Organization 内で共有する
hkusu
1
520
GitHub Actions でユニットテストの結果をレポートする
hkusu
0
3.5k
Android で Multiplatform Settings を使う
hkusu
0
1k
Other Decks in Technology
See All in Technology
declaration mergingの威力:ライブラリアップデート時の書き換え作業を90%短縮するテクニック
yutake27
2
250
シンプルな設定ファイルで実現する AWS IAM Identity Center のユーザー管理と開発チームへの委譲 / Delegating AWS IAM Identity Center User Management with a Simple DSL
yamaguchitk333
3
450
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
24k
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
1
7.1k
カンファレンスのつくりかた / The Conference Code: What Makes It All Work
tomzoh
6
700
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
12k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
8
65k
Oracle Database オプティマイザ・ヒントの活用
oracle4engineer
PRO
1
120
プラットフォームとしての Datadog / Datadog as Platforms
aoto
PRO
1
280
トイルを撲滅!インフラ領域での生成AI活用のススメ
shuya
0
340
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
37k
GitHub Coding Agent 概要
kkamegawa
1
770
Featured
See All Featured
Side Projects
sachag
453
42k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Into the Great Unknown - MozCon
thekraken
38
1.8k
Optimizing for Happiness
mojombo
378
70k
KATA
mclloyd
29
14k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.8k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Optimising Largest Contentful Paint
csswizardry
37
3.2k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Why Our Code Smells
bkeepers
PRO
336
57k
Agile that works and the tools we love
rasmusluckow
329
21k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
Tauri Mobile Ͱੜ͞ΕΔ Android ͷίʔυΛݟͯΈΔ 2022.12.22 potatotips #80 Hiroyuki Kusu
( @hkusu_ )
About me
ΈΜͳ͕ͬͯΔ͋ͷαʔϏεɺ ࣮ΏΊΈ͕࡞ͬͯ·͢ɻ શੈք5000ສMAUʹୡ͢ΔωοταʔϏεΛΦʔμʔϝΠυͰاըઃܭ͠ɺ γεςϜߏஙӡ༻͔ΒվળఏҊ·Ͱαϙʔτ͍͖ͯ͠·͢ɻ
Tauri Mobile https://tauri.app/blog/2022/12/09/tauri-mobile-alpha/
αϯϓϧίʔυ https://github.com/hkusu/rust_learning/tree/main/tauri-app ※ εΩϟϑΥϧυͰ Android ؔ࿈ ͷίʔυΛੜ͠·ͨ͠ʢiOS ͷͷແ͍ʣ͕ɺ ࢲͷڥͰ
Ϗϧυʹࣦഊ͢Δঢ়ଶͰ͢..
ΞϧϑΝ൛ͷ Rust ͷΫϨʔτΛ༻͍Δ [build-dependencies ] tauri-build = { version
= "2.0.0-alpha.0", features = [] } [dependencies ] serde_json = "1.0 " serde = { version = "1.0", features = ["derive"] } tauri = { version = "2.0.0-alpha.0", features = ["shell-open"] } Cargo.toml ϩʔΧϧͷ࡞ۀڥʹάϩʔόϧΠϯετʔϧ͢Δ tauri-cli 2.0.0-alpha Λ༻͍Δ
JavaScript ͱ Rust ͷίʔυྫ
ʲ࣮ԋʳ Android ଆͷίʔυઌʹհͨ͠ https://github.com/hkusu/rust_learning/tree/main/tauri-app ͷίʔυͰઆ໌͠·͢ɻ
ॴײ • ͋͘·Ͱ UI WebView ϕʔε • ωΟςΟϒͷ͵Δ͵ΔײΛग़͢ͷͦ͠͏ʁ
• UI Ҏ֎ Rust Ͱ͍Β͍͠ • ։ൃ JavaScript ͱ Rust Ͱग़དྷΔ͕ɺϏϧυपΓΓ Android/iOS ͷ͕ࣝඞཁ • ϚϧνϓϥοτϑΥʔϜ͚ͷΞϓϦέʔγϣϯɺྫ͑σεΫ τοϓ͚ͷΞϓϦέʔγϣϯͷϞόΠϧ൛Λల։͢ΔΑ͏ͳ ߹ʹ༏Ґੑ͕͋Γͦ͏ʁ
ࢀߟʹ͍ͤͯͨ͞هࣄ • Tauri+Next.jsͰϞόΠϧΞϓϦ։ൃ • https://zenn.dev/laiso/articles/825ee7e652ad1b
Thank you ! @hkusu_ ฐࣾ Android ΤϯδχΞΛ ઈࢍืूத Ͱ͢ʂ