Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Phonegap IOS插件开发
Search
kingliang123
September 12, 2012
Technology
190
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Phonegap IOS插件开发
简单介绍phonegap ios插件开发
kingliang123
September 12, 2012
Transcript
16 slides
安世亚太研究院 卞金亮 2012 – 09 - 12 PhoneGap IOS插件开发
什么是PhoneGap? PhoneGap,用 HTML, CSS and Javascript 就可以开发移动app
对本地API的支持怎样?
哪些应用在用Phonegap
开源 开发门槛低 理想情况下,一份代码可部署到多平台下, 目前支持7个移动平台 iOS, Android, Blackberry,
Windows Phone, Palm WebOS, Bada and Symbian 优势
性能,如刷新快的游戏 缺点
当PhoneGap提供的操作本地资源的Api 不够用时,插件就登场了 插件的用处
插件原理图
插件分两部分: 1. 前端的JS 2. 后端的native code Phonegap IOS插件
前端的JS 入口 Cordova.exec(successCallback, failureCallback, Service Name, Function Name,
Arguments Array); Phonegap IOS插件
后端native code 1. 插件类要继承 CDVPlugin 2. Plugin Class Mapping
要在”Cordova.plist”文件中加入键值对: service_name/PluginClassName Phonegap IOS插件
None
3. PluginDemo.h
3. PluginDemo.m
None
谢谢
Other Decks in Technology
See All in Technology
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
490
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
610
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
gradle-best-practices 使ってみた
mikanichinose
0
230
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
150
エンタープライズIAMについて - ID・権限をどう統制するか
oidfj
1
320
AIフレンドリーなGenerative UIをJSXで
uhyo
2
150
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
130
AWS re:Invent 2026 FSI Pre-Event Networking Night
junjikoide
0
230
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
490
お風呂場をサーバルームにしよう
yusuke427
0
400
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
140
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
360
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
680
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
Balancing Empowerment & Direction
lara
6
1.4k
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
Designing for Performance
lara
612
70k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
630
My Coaching Mixtape
mlcsv
0
400
Ethics towards AI in product and experience design
skipperchong
2
470