Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Wp7 gapmeetup

7,883 views

Published on

Presentation from PhoneGap meetup in the Nitobi/Adobe office on Nov. 28, 2011

Published in: Technology, Art & Photos
  • Be the first to comment

  • Be the first to like this

Wp7 gapmeetup

  1. 1. Adventures in Mobile development. Mango editionMonday, 5 December, 11
  2. 2. PhoneGap is a hack iOS - the Early Days Nitobi created iPhone Gap stringByEvaluatingJavascriptString() JS->Native used window.location changesMonday, 5 December, 11
  3. 3. Android Android SDK introduced the webview.bind method Native code called javascript with ‘javascript:’ URLs ( with issues )Monday, 5 December, 11
  4. 4. Android + Callback Override prompt in javascript callback server with Polling It worksMonday, 5 December, 11
  5. 5. BlackBerry Originally it didn’t seem possible Until Dave discovered that JS cookies were observable from Native code.Monday, 5 December, 11
  6. 6. BlackBerry WebWorks WebWorks embraces Javascript code, it becomes a first class citizen on the device.Monday, 5 December, 11
  7. 7. WebOS WebOS the whole app is Javascript, so another simple shim WebOS did a lot right; just bad timing/luckMonday, 5 December, 11
  8. 8. Windows Phone 7 So how does WP7 do it? ScriptNotify Calling to Native javascript can call window.external.Notify(string) C# code listens for the ScriptNotify eventMonday, 5 December, 11
  9. 9. WP7 Native->JS C# can call JS this.webBrowser.InvokeScript(scriptName,string []args);Monday, 5 December, 11
  10. 10. Why Not Sooner? Mango brings IE9 finally a compliant browser addEventListener ( no more conditional event model ) JSON built in Array.forEach, Object.defineProperty querySelectorAll, Canvas, SVG, ...Monday, 5 December, 11
  11. 11. Stumbling Points IsolatedStorage WebStorage ( supported? ) XMLHttpRequestMonday, 5 December, 11
  12. 12. Non-Optimal fixes Panning + Zooming The Grey Box TouchEvents The AppStore’s Static AnalyzerMonday, 5 December, 11
  13. 13. Missing in Action WebSQL WebGL WebWorkers position:fixed Overflow:scrollMonday, 5 December, 11
  14. 14. Persons Of Interest @Purplcabbage My Blog: risingj.com Abu Obeida Bakhach (Microsoft Interop Team) Sergei Grebnov (Microsoft Sponsored) @ColinEberhardt (First AppStore WP7 PhoneGap app!)Monday, 5 December, 11
  15. 15. There be Monsters PhoneGap is still a hack! SDK designers are not yet considering this use-case. We are still outlaws, operating outside their imagination, successfully! It is still a new frontierMonday, 5 December, 11
  16. 16. Demo Time Images from: http://en.wikipedia.org/wiki/File:Carta_Marina.jpegMonday, 5 December, 11

×