Your SlideShare is downloading. ×
Phonagp 简介
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Phonagp 简介

572
views

Published on

Phonagp 简介

Phonagp 简介

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
572
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • 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 @ 馍