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

Phonagp 简介

on

  • 733 views

Phonagp 简介

Phonagp 简介

Statistics

Views

Total Views
733
Views on SlideShare
733
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 简介 Phonagp 简介 Presentation Transcript

  • PhoneGap Plugins简 @ 沧
  • 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
  • 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/xml/plugins.xml• (实现 )
  • ?• 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,__noSuchMethod__)• jruby(method_missing)• 动态 , 调 java
  • Global API Proxy?• PhoneGap 为 api ?• 浏览 (jsonp)--> --> 户 --> 浏览• 务 ( )web app• PhoneGap 义• PhoneGap 户
  • WebAPI ,DeviceAPI• https://wiki.mozilla.org/WebAPI
  • WebOS?• HP(Palm)WebOS• Google chrome os
  • Tips• 启动时 载 html( js )• iScroll(1,2) . 统进 fixed (android2.2 ;ios5;blackberry7)• 启动 统 sms: mailto: tel: geo:链
  • my app-- 岛诗
  • 谢• 谢 @w3ctech @ 创 @ @FlashSoft @ 馍