0
PhoneGap Plugins简       @   沧
about me• work@               RIA组• http://session.im• http://share.session.im/(powered by     )• http://weibo/dongyuwei• ...
PhoneGap                          构• HTML5 API(Storage,Geolocation)• Camera API• ...• API 为               实现
(js )
DroidGap实现• js -->Phonegap.exec-->window.prompt-->native API• 拦 WebView window.prompt调 (onJsPrompt)
DroidGap实现• ajax长连   /轮询<-->CallbackServer   执   结
DroidGap实现•请   执   结   带   Token
实现• ios,android,blackberry,webos...• 语 <--->js                 实现• PluginResult.execute <-->Phonegap.exec• PhoneGap/res/xm...
?• Monkey see, Monkey do• 实现IPlugin•              plugins.xml• 测试,again.• https://github.com/phonegap/phonegap-  plugins
间• 过• postMessage• onMessage
PhonGap?•调      统       ,   户隐   时应该请   户• android   统
动态                           ?• http://code.google.com/p/android-scripting/• android        js, ruby ,python,lua• JS(Rhino...
Global API Proxy?• PhoneGap 为      api       ?• 浏览 (jsonp)-->            -->   户   -->  浏览•           务     (       )web a...
WebAPI ,DeviceAPI• https://wiki.mozilla.org/WebAPI
WebOS?•   HP(Palm)WebOS•   Google chrome os
Tips• 启动时              载           html(         js               )•           iScroll(1,2) .     统进    fixed   (android2.2...
my app--   岛诗
谢•     谢 @w3ctech @     创   @    @FlashSoft @   馍
Upcoming SlideShare
Loading in...5
×

Phonagp 简介

586

Published on

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
586
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript of "Phonagp 简介"

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

      Clipping is a handy way to collect important slides you want to go back to later.

    ×