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
Other Decks in Technology
See All in Technology
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
140
フロントエンドカンファレンス関西2026 - 速すぎるUIに、待ち時間を
teamlab
PRO
0
180
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
200
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
220
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
180
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
1
220
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
890
hackers_champloo_2026_tidb
makocchi
0
170
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
200
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
360
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
130
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.3k
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Product Roadmaps are Hard
iamctodd
55
13k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Test your architecture with Archunit
thirion
2
2.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Transcript
安世亚太研究院 卞金亮 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
谢谢