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 Lab
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
LeoNguyen.com
January 03, 2014
Technology
1.5k
0
Share
PhoneGap Lab
PhoneGap Lab
http://leonguyen.com
LeoNguyen.com
January 03, 2014
More Decks by LeoNguyen.com
See All by LeoNguyen.com
Node.js Lab
leonguyen
1
1.5k
jQuery Plugin
leonguyen
0
1.6k
JS Plugin
leonguyen
0
2.5k
HTML5 Lab
leonguyen
0
1.6k
PHP Lab
leonguyen
0
1.7k
Laravel Lab
leonguyen
0
1.9k
Design Resources
leonguyen
1
360
AE Resources
leonguyen
0
340
AE Lab
leonguyen
0
330
Other Decks in Technology
See All in Technology
PdM・Eng・QAで進めるAI駆動開発の現在地/aidd-with-pdm-eng-qa
shota_kusaba
0
260
SpeechTranscriber + AIによる文字起こし機能
kazuki1220
0
120
RedmineをAIで効率的に使う検証
yoshiokacb
0
160
エンタープライズの厳格な制約を開発者に意識させない:クラウドネイティブ開発基盤設計/cloudnative-kaigi-golden-path
mhrtech
0
460
AI Agent に“攻略本”を渡したら、150フォームの移行が回り始めた話/登壇資料(高橋 悟生)
hacobu
PRO
0
180
分断された OT と IT を繋ぐ架け橋 -Kubernetes が切り拓く 産業用組み込み製品の現在地 -
yudaiono
1
130
パーソルキャリア IT/テクノロジー職向け 会社紹介資料|Company Introduction Deck
techtekt
PRO
0
230
"うちにはまだ早い"は本当? ─ 小さく始めるPlatform Engineering入門
harukasakihara
7
650
最新技術を"今は選ばない"という技術選定
leveragestech
PRO
0
320
AsyncStreamでマルチブロードキャストを実装する
1mash0
1
180
【禁断】Obsidianの第二の脳に「知の巨人」と呼ばれた師匠の脳をロードしてみた
nagatsu
0
1.3k
LookerとADKで作る社内AIエージェント
chanyou0311
0
280
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
140
Scaling GitHub
holman
464
140k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Fireside Chat
paigeccino
42
3.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
GitHub's CSS Performance
jonrohan
1033
470k
The Cult of Friendly URLs
andyhume
79
6.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
220
Believing is Seeing
oripsolob
1
130
Transcript
LeoNguyen.com
Outline - References (phonegap.leonguyen.com/references.html) - Lab 01: An introduction to
PhoneGap
Lab 01 An introduction to PhoneGap
Outline - Download and install - Configure the project -
Write a Hellworld program
Exercise 1 Download and install
Overview
Task 1 - Download - Goto download site http://phonegap.com/install/
Exercise 2 Configure the project
Task 1: Create ‘www’ folder - Create the ‘www’ folder
under assets folder.
Task 2: Copy PhoneGap libraries - Copy ‘cordova.js’ and ‘cordova.js’
to Android project.
Exercise 3 Write a Helloworld program
Task 1: Create index.html - Create the ‘index.html’ under ‘assets/www’
folder then enter code: gist.github.com/leonguyen/7036244
Task 2: Add to Build Path - Right click on
‘cordova.jar’ then select Add to Build Path
Task 3: Update Activity class - Enter code: gist.github.com/leonguyen/7036322
Task 4: Configure the project metadata - Enter code: gist.github.com/leonguyen/7036370
Task 4: Configure the project metadata (2)
Task 5: Run - Choose "Run As" > "Android Application".