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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Hiroyuki Kusu
December 22, 2022
Technology
0
1.5k
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
560
GitHub composite actions
hkusu
2
410
Android の静的解析における SARIF ファイルの活用
hkusu
0
5.4k
CI_でライブラリのバージョンの変化をレポートする.pdf
hkusu
0
390
Maestro を GitHub Actions で動かす 〜Android編〜
hkusu
1
1.7k
Android の CI(GitHub Actions)の改善で、最近やったこと
hkusu
0
700
Custom GitHub Actions を作って Organization 内で共有する
hkusu
1
570
GitHub Actions でユニットテストの結果をレポートする
hkusu
0
3.8k
Android で Multiplatform Settings を使う
hkusu
0
1.1k
Other Decks in Technology
See All in Technology
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
Snowflakeデータ基盤で挑むAI活用 〜4年間のDataOpsの基礎をもとに〜
kaz3284
1
340
技術的負債の泥沼から組織を救う3つの転換点
nwiizo
5
1.6k
Secure Boot 2026 - Aggiornamento dei certificati UEFI e piano di adozione in azienda
memiug
0
130
A Gentle Introduction to Transformers
keio_smilab
PRO
1
110
ソフトウェアアーキテクトのための意思決定術: Create Decision Readiness—The Real Skill Behind Architectural Decision
snoozer05
PRO
29
8.9k
Serverless Agent Architecture on Azure / serverless-agent-on-azure
miyake
1
140
Security Diaries of an Open Source IAM
ahus1
0
200
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
新職業『オーケストレーター』誕生 — エージェント10体を同時に回すAgentOps
gunta
4
1.1k
問い合わせ自動化の技術的挑戦
recruitengineers
PRO
2
140
自動テストが巻き起こした開発プロセス・チームの変化 / Impact of Automated Testing on Development Cycles and Team Dynamics
codmoninc
1
1k
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Odyssey Design
rkendrick25
PRO
2
530
Design in an AI World
tapps
0
160
The untapped power of vector embeddings
frankvandijk
2
1.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Claude Code のすすめ
schroneko
67
220k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Paper Plane (Part 1)
katiecoart
PRO
0
5.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
96
Code Review Best Practice
trishagee
74
20k
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 ΤϯδχΞΛ ઈࢍืूத Ͱ͢ʂ