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
PhoneGap Build Dev Experience
Search
alunny
April 26, 2012
Technology
2
230
PhoneGap Build Dev Experience
PhoneGap and PhoneGap Build - the developer experience of using PG Build
alunny
April 26, 2012
Tweet
Share
More Decks by alunny
See All by alunny
PhoneGap Build @ PG Day
alunny
1
510
Weinre
alunny
2
140
Anatomy of an App
alunny
8
1.9k
Other Decks in Technology
See All in Technology
AndroidXR 開発ツールごとの できることできないこと
donabe3
0
110
組織貢献をするフリーランスエンジニアという生き方
n_takehata
1
1k
インフラをつくるとはどういうことなのか、 あるいはPlatform Engineeringについて
nwiizo
5
2.1k
Googleマップ/Earthが一般化した 地図タイルのイマ
mapconcierge4agu
1
200
Fintech SREの挑戦 PCI DSS対応をスマートにこなすインフラ戦略/Fintech SRE’s Challenge: Smart Infrastructure Strategies for PCI DSS Compliance
maaaato
0
450
APIファーストで実現する運用性の高い IoT プラットフォーム: SORACOMのアプローチ
soracom
PRO
0
240
君も受託系GISエンジニアにならないか
sudataka
1
370
オブザーバビリティの観点でみるAWS / AWS from observability perspective
ymotongpoo
7
1k
君はPostScriptなウィンドウシステム 「NeWS」をご存知か?/sunnews
koyhoge
0
720
【Developers Summit 2025】プロダクトエンジニアから学ぶ、 ユーザーにより高い価値を届ける技術
niwatakeru
2
890
Tech Blogを書きやすい環境づくり
lycorptech_jp
PRO
0
120
10分で紹介するAmazon Bedrock利用時のセキュリティ対策 / 10-minutes introduction to security measures when using Amazon Bedrock
hideakiaoyagi
0
170
Featured
See All Featured
Practical Orchestrator
shlominoach
186
10k
What's in a price? How to price your products and services
michaelherold
244
12k
Scaling GitHub
holman
459
140k
Music & Morning Musume
bryan
46
6.3k
Writing Fast Ruby
sferik
628
61k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
The Invisible Side of Design
smashingmag
299
50k
A better future with KSS
kneath
238
17k
Embracing the Ebb and Flow
colly
84
4.6k
Typedesign – Prime Four
hannesfritz
40
2.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
GitHub's CSS Performance
jonrohan
1030
460k
Transcript
PhoneGap Build Developing with Andrew Lunny, PhoneGap/Adobe Thursday, 26 April,
12
Me @alunny Computer Scientist Nitobi Software Adobe Systems Author Thursday,
26 April, 12
2007 Software Consultancy, Vancouver BC Doing most everything Thursday, 26
April, 12
also 2007 Thursday, 26 April, 12
mid 2008 Thursday, 26 April, 12
late 2008 iPhone then Android then BlackBerry Thursday, 26 April,
12
2009 onward iOS: XCode Android: Eclipse BlackBerry: Eclipse Winphone: Visual
Studio Thursday, 26 April, 12
2010 build.phonegap.com Thursday, 26 April, 12
Thursday, 26 April, 12
Thursday, 26 April, 12
PhoneGap ‣ install native SDKs ‣ install PhoneGap ‣ write
HTML, CSS, JS ‣ build native app with SDKs + PhoneGap Thursday, 26 April, 12
PhoneGap ‣ install native SDKs ‣ install PhoneGap ‣ write
HTML, CSS, JS ‣ build native app with SDKs + PhoneGap PhoneGap Build ‣ write HTML, CSS, JS ‣ upload your code ‣ download native apps Thursday, 26 April, 12
2011 Thursday, 26 April, 12
2011 Thursday, 26 April, 12
PhoneGap Thursday, 26 April, 12
Thursday, 26 April, 12
‣ xcode/java project ‣ platform-specific configuration and permissions ‣ icons/splash
screen etc native app Thursday, 26 April, 12
FAILURES AHEAD Thursday, 26 April, 12
I don’t have a Mac adb isn’t in my path
Where is my project template? How do I install ant? Thursday, 26 April, 12
‣ platform-init logic ‣ loads chromeless browser ‣ loads your
code main class Thursday, 26 April, 12
‣ “www” directory bundled in app ‣ “index.html” opens ‣
“cordova-1.6.1.js” inserted your code Thursday, 26 April, 12
‣ bridge b/w webview and native ‣ access to stock
native APIs ‣ different on different platforms cordova/phonegap.js Thursday, 26 April, 12
FAILURES AHEAD Thursday, 26 April, 12
jQuery stopped working it stopped working when I upgraded this
code works on Android, but not iOS Where is my JS file? Thursday, 26 April, 12
PhoneGap Build Thursday, 26 April, 12
PhoneGap Build BETA Thursday, 26 April, 12
‣ native SDK finagling ‣ ambiguous JS-platform dependency ‣ very
leaky abstractions point to the part that hurts Thursday, 26 April, 12
‣ no native SDKs ‣ we manage the framework (JS
& native) ‣ you focus on your code PhoneGap Build Thursday, 26 April, 12
some numbers 100000 apps 50000 users 60000 builds/week over 6
platforms Thursday, 26 April, 12
https://build.phonegap.com/people/sign_up Thursday, 26 April, 12
Thursday, 26 April, 12
‣ upload an archive/index.html ‣ create a new git repository
‣ pull from a git/svn repo url creating an app Thursday, 26 April, 12
‣ write your app ‣ zip it up and upload
‣ simplest way to get started upload archive or index Thursday, 26 April, 12
‣ creates
[email protected]
endpoint ‣ git push your private code
to there create a new git repository Thursday, 26 April, 12
‣ you push your code to public repo ‣ we
pull it down ‣ let us know when to update pull from a git/svn repo Thursday, 26 April, 12
Thursday, 26 April, 12
Thursday, 26 April, 12
App Configuration Thursday, 26 April, 12
Thursday, 26 April, 12
https://build.phonegap.com/docs/config-xml Thursday, 26 April, 12
Thursday, 26 April, 12
Code Signing Thursday, 26 April, 12
‣ sign everything ‣ uses certificate and private key ‣
certificate must match profile ‣ profile must match all devices Signing on iOS Thursday, 26 April, 12
‣ debug (dev) builds use generic keystore ‣ release builds
use private key + keystore ‣ no device restrictions Signing on Android Thursday, 26 April, 12
‣ sign everything on RIM’s servers* ‣ no device restrictions
‣ PGB: signs dev builds for you, requires cert for release builds Signing on BlackBerry *this is an insane/terrible decision Thursday, 26 April, 12
Thursday, 26 April, 12
DEMOS AHEAD Thursday, 26 April, 12