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
Bridging the Phonegap
Search
Dan Slack
February 19, 2013
Programming
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Bridging the Phonegap
An introduction to Mobile web and Phonegap
Dan Slack
February 19, 2013
More Decks by Dan Slack
See All by Dan Slack
Creating Amazing Apps with Angular and Ionic
dslack
1
170
Other Decks in Programming
See All in Programming
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
200
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
660
AIの中の人になってみる
htkym
0
150
My Marp Sample
sinoue0108
0
130
自分的「カンファレンスの楽しみ方」
syumai
0
160
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
580
VibeCodingからAgenticWorkflowへ
starfish719
0
1k
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
280
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
3
250
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
120
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
250
仕様駆動開発の消費期限
watany
20
9.2k
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
220
We Are The Robots
honzajavorek
0
320
Code Review Best Practice
trishagee
74
20k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Abbi's Birthday
coloredviolet
3
9.6k
GitHub's CSS Performance
jonrohan
1033
470k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
260
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
570
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Transcript
Bridging the Phonegap Cross Platform Mobile Development
Dan Slack Web Developer, Niche Solutions
[email protected]
@javaslack http://www.github.com/NicheSolutions http://www.nichesolutions.ca
Who am I?
Agenda • Mobile Web Applications • What is Phonegap? •
Phonegap APIs • Extending Phonegap • Design Considerations
Mobile Web • We can use our existing skillsets •
Leverage HTML5 APIs (Geolocation, storage, etc.) • Evergrowing W3C Standards • What is Mobile Web?
Mobile Web • Mobile device detection ◦ server-side vs client-side
• Testing ◦ User Agent switching ◦ Resolution changes • About Ripple Design Considerations:
Ripple
Mobile Web DEMO
What is Phonegap? (aka Apache Cordova) • Near write-once, run-anywhere
on mobile • Write using HTML5/CSS3/JS stack • A bridge between native and web layer • Some history...
What is Phonegap?
What is Phonegap?
What is Phonegap?
What is Phonegap?
What is Phonegap? • Phonegap uses the native layer •
We can open and test in native environment • Native environment for each OS • Phonegap Build and Debug • Ripple Issues - http://bit.ly/XPhts2
Better than the Web? Mobile web can handle many scenarios,
but... • Monetization • Access to native APIs ◦ Calendar, Contacts ◦ Compass, Accelerometer, Camera • Visibility
Phonegap DEMO
Phonegap Plugins • Phonegap has many APIs ◦ And growing...
• Plugin framework for extra features not covered • Phonelistener, BarcodeScanner, NFC, more
Phonegap Plugins • Platform specific • https://github.com/phonegap/phonegap-plugins • Something missing?
Make it! • Blackberry specific case
Final Considerations • Resolutions, platform limitations ◦ http://mobilehtml5.org/ • Use
Performance Tricks ◦ document.createDocumentFragment ▪ http://bit.ly/zZ4m9L ◦ reduce closures, avoid for-in ◦ http://bit.ly/c26sdW • JS Frameworks ◦ size
Thanks! Questions? Resources: Samples Phonegap Ripple http://bit.ly/YCqNhW http://www.phonegap.com http://developer.blackberry.com/html5/download