Phonagp 简介
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Phonagp 简介

on

  • 760 views

Phonagp 简介

Phonagp 简介

Statistics

Views

Total Views
760
Views on SlideShare
760
Embed Views
0

Actions

Likes
0
Downloads
9
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Phonagp 简介 Presentation Transcript

  • 1. PhoneGap Plugins简 @ 沧
  • 2. about me• work@ RIA组• http://session.im• http://share.session.im/(powered by )• http://weibo/dongyuwei• http://code.google.com/u/newdongyuwei• http://gist.github.com/dongyuwei
  • 3. PhoneGap 构• HTML5 API(Storage,Geolocation)• Camera API• ...• API 为 实现
  • 4. (js )
  • 5. DroidGap实现• js -->Phonegap.exec-->window.prompt-->native API• 拦 WebView window.prompt调 (onJsPrompt)
  • 6. DroidGap实现• ajax长连 /轮询<-->CallbackServer 执 结
  • 7. DroidGap实现•请 执 结 带 Token
  • 8. 实现• ios,android,blackberry,webos...• 语 <--->js 实现• PluginResult.execute <-->Phonegap.exec• PhoneGap/res/xml/plugins.xml• (实现 )
  • 9. ?• Monkey see, Monkey do• 实现IPlugin• plugins.xml• 测试,again.• https://github.com/phonegap/phonegap- plugins
  • 10. 间• 过• postMessage• onMessage
  • 11. PhonGap?•调 统 , 户隐 时应该请 户• android 统
  • 12. 动态 ?• http://code.google.com/p/android-scripting/• android js, ruby ,python,lua• JS(Rhino,__noSuchMethod__)• jruby(method_missing)• 动态 , 调 java
  • 13. Global API Proxy?• PhoneGap 为 api ?• 浏览 (jsonp)--> --> 户 --> 浏览• 务 ( )web app• PhoneGap 义• PhoneGap 户
  • 14. WebAPI ,DeviceAPI• https://wiki.mozilla.org/WebAPI
  • 15. WebOS?• HP(Palm)WebOS• Google chrome os
  • 16. Tips• 启动时 载 html( js )• iScroll(1,2) . 统进 fixed (android2.2 ;ios5;blackberry7)• 启动 统 sms: mailto: tel: geo:链
  • 17. my app-- 岛诗
  • 18. 谢• 谢 @w3ctech @ 创 @ @FlashSoft @ 馍