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.3k
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
330
Android の静的解析における SARIF ファイルの活用
hkusu
0
4.9k
CI_でライブラリのバージョンの変化をレポートする.pdf
hkusu
0
330
Maestro を GitHub Actions で動かす 〜Android編〜
hkusu
1
1.4k
Android の CI(GitHub Actions)の改善で、最近やったこと
hkusu
0
590
Custom GitHub Actions を作って Organization 内で共有する
hkusu
1
510
GitHub Actions でユニットテストの結果をレポートする
hkusu
0
3.4k
Android で Multiplatform Settings を使う
hkusu
0
990
Other Decks in Technology
See All in Technology
SnowflakeとDatabricks両方でRAGを構築してみた
kameitomohiro
1
570
30代からでも遅くない! 内製開発の世界に飛び込み、最前線で戦うLLMアプリ開発エンジニアになろう
minorun365
PRO
16
5k
OpenLane-V2ベンチマークと代表的な手法
kzykmyzw
0
150
社会人力と研究力ー博士号をキャリアの武器にするー
kentaro
2
100
LINE 購物幕後推手
line_developers_tw
PRO
0
330
OPENLOGI Company Profile for engineer
hr01
1
25k
Dataverseの検索列について
miyakemito
1
170
OPENLOGI Company Profile
hr01
0
63k
Computer Use〜OpenAIとAnthropicの比較と将来の展望〜
pharma_x_tech
6
960
Как мы автоматизировали интеграционное тестирование с Gonkey и не пожалели. Паша Егорычев, Кирилл Поляков
lamodatech
0
1.7k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
5.4k
「経験の点」の位置を意識したキャリア形成 / Career development with an awareness of the “point of experience” position
pauli
4
130
Featured
See All Featured
Statistics for Hackers
jakevdp
798
220k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
The Cult of Friendly URLs
andyhume
78
6.3k
For a Future-Friendly Web
brad_frost
177
9.7k
Adopting Sorbet at Scale
ufuk
76
9.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
Practical Orchestrator
shlominoach
187
11k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Building Adaptive Systems
keathley
41
2.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
34
2.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
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 ΤϯδχΞΛ ઈࢍืूத Ͱ͢ʂ