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
440
GitHub composite actions
hkusu
2
310
Android の静的解析における SARIF ファイルの活用
hkusu
0
4.7k
CI_でライブラリのバージョンの変化をレポートする.pdf
hkusu
0
310
Maestro を GitHub Actions で動かす 〜Android編〜
hkusu
1
1.3k
Android の CI(GitHub Actions)の改善で、最近やったこと
hkusu
0
570
Custom GitHub Actions を作って Organization 内で共有する
hkusu
1
500
GitHub Actions でユニットテストの結果をレポートする
hkusu
0
3.3k
Android で Multiplatform Settings を使う
hkusu
0
950
Other Decks in Technology
See All in Technology
Windows の新しい管理者保護モード
murachiakira
0
170
脳波を用いた嗜好マッチングシステム
hokkey621
0
170
CDKのコードを書く環境を作りました with Amazon Q
nobuhitomorioka
1
120
RSNA2024振り返り
nanachi
0
620
PHPで印刷所に入稿できる名札データを作る / Generating Print-Ready Name Tag Data with PHP
tomzoh
0
140
ビジネスモデリング道場 目的と背景
masuda220
PRO
9
670
プロダクトエンジニア構想を立ち上げ、プロダクト志向な組織への成長を続けている話 / grow into a product-oriented organization
hiro_torii
1
300
あれは良かった、あれは苦労したB2B2C型SaaSの新規開発におけるCloud Spanner
hirohito1108
2
780
株式会社EventHub・エンジニア採用資料
eventhub
0
4.3k
AndroidXR 開発ツールごとの できることできないこと
donabe3
0
130
ESXi で仮想化した ARM 環境で LLM を動作させてみるぞ
unnowataru
0
130
JEDAI Meetup! Databricks AI/BI概要
databricksjapan
0
280
Featured
See All Featured
Faster Mobile Websites
deanohume
306
31k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.3k
Building an army of robots
kneath
303
45k
The Invisible Side of Design
smashingmag
299
50k
Building a Scalable Design System with Sketch
lauravandoore
461
33k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Statistics for Hackers
jakevdp
797
220k
Practical Orchestrator
shlominoach
186
10k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
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 ΤϯδχΞΛ ઈࢍืूத Ͱ͢ʂ