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
1.6k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Tauri Mobile で生成される Android のコードを見てみる
potatotips #80 (
https://potatotips.connpass.com/event/267635/
) の資料
Hiroyuki Kusu
December 22, 2022
More Decks by Hiroyuki Kusu
See All by Hiroyuki Kusu
モノレポのプルリクエストに最近、導入したもの
hkusu
2
600
GitHub composite actions
hkusu
2
460
Android の静的解析における SARIF ファイルの活用
hkusu
0
5.7k
CI_でライブラリのバージョンの変化をレポートする.pdf
hkusu
0
430
Maestro を GitHub Actions で動かす 〜Android編〜
hkusu
1
1.8k
Android の CI(GitHub Actions)の改善で、最近やったこと
hkusu
0
740
Custom GitHub Actions を作って Organization 内で共有する
hkusu
1
610
GitHub Actions でユニットテストの結果をレポートする
hkusu
0
3.9k
Android で Multiplatform Settings を使う
hkusu
0
1.3k
Other Decks in Technology
See All in Technology
【試作】IoT x AIエージェント
happysamurai294
0
100
Level Up Your CDK DX: 5 Tools I’ve Been Building
gotok365
2
190
どんな手を使っても絶対間に合わせるスケジューラ
asari194617
0
1.5k
いかに伝えるか 〜新卒エンジニアの教育のための、ライトノベル活用の一例
ikedon
1
190
スクラムで身についていた動き方を、XPで捉え直してみた
codmoninc
1
190
AIで実装は速くなった。なのにプロダクトは速くならない。職能の壁を越えて価値のフローを設計する
nwiizo
6
6.7k
推論の観測、できていますか? 〜 Google Cloud Gemini Enterprise Agent Platformで 3つの Gemini モデルを実測して踏んだ、評価の罠 〜
shukob
PRO
0
140
ブラウザアプリの継続的パフォーマンスモニタリング (序) / Continuous Browser Application Performance Monitoring; Act 1
moznion
0
110
Guerilla InnerSource in enterprises, during the AI hype
onenashev
PRO
0
140
AI-DLCって実際どう? 〜聞きたいこと全部聞いてみる〜
news_it_enj
0
220
Benchmarking Vector Databases: pgvector vs. LanceDB
tsho
0
130
DINO-EdgeQuery:Edge-First Polygon Decoding for Building Footprint Extraction from Satellite Imagery
lehupa
0
140
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
300
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
390
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.9k
GitHub's CSS Performance
jonrohan
1033
470k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
RailsConf 2023
tenderlove
30
1.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Amusing Abliteration
ianozsvald
1
280
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
370
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 ΤϯδχΞΛ ઈࢍืूத Ͱ͢ʂ