Page 1
Wikipedia, Android, & PhoneGap
PhoneGap Meetup
Page 4
Mobile @ Wikimedia
Page 6
So isn't the mobile web site good enough?
Page 8
Reasons for an app
● Basic features should be free● Saved articles● Viewing random
articles● No ads
Page 9
Reasons for an app
● Basic features should be free● Saved articles● Viewing random
articles● No ads
Page 11
Wikipedia on every phone
Page 12
Sounds pretty good .. any problems?
Page 13
Sounds pretty good .. any problems?.. Wikipedia has to be everywhere ..
Page 15
You want me to support how many code bases?
Page 17
“The purpose of PhoneGap is for PhoneGap to not exist”
Page 20
Reuse
1. jQuery2. Localization libraries
Page 21
Plugins are awesome
Page 22
Plugin Re-use
● AppMenu● UrlCache● Sharing● Globalization ● Toast (Notifications)● WebIntents● Other iOS specific plugins
Page 24
Per Platform Overrides
● App code is always 'general' can run anywhere
● Platform specific overrides deal with platform specific plugins
Page 25
Lowering the barrier to entry for volunteers
https://github.com/wikimedia/WikipediaMobile
Page 26
But it wasn't all roses ..
Page 28
Debug like you can't
Page 29
The goodness of using CSS/JS also gives you the pain of using
CSS/JS
Page 33
Android core devs not caring(at least about webkit bugs)
Page 34
Zepto.js(Great in theory, not so in practice)
Page 35
Pure JS Architecture(Not mature enough … at least for us/me)
Page 38
366,299 total installs
Page 44
Were fugly on ICS
Page 47
But what about tablets?
Page 50
But isn't the whole point to build across platforms?
Page 54
iOS
● Menus work great (thanks plugins)● Had it running in a couple of hours● Generally works out of the box● ToDo
● Near me (almost done with Open Street maps!)
● Sharing (ShareKit)● Saving Articles
Page 56
Proprietary maps kind of suck
Page 58
But isn't something missing from the mobile projects?
Page 59
Reach
Participation
Quality
Page 60
Reach
Participation
Quality
Page 61
Different ways to contribute
● Photo Uploads● GPS coordinates● Micro contributions● Spelling correction● Block level editing
Page 62
Different ways to contribute
● Photo Uploads● GPS coordinates● Micro contributions● Spelling correction● Block level editing
Page 64
But what about editing?
Page 66
In closing
● Thanks PhoneGap● There is more to do● Lets push mobile contributions
Page 67
Fork the code
https://github.com/wikimedia/WikipediaMobile
Page 68
Join the mailing list
[email protected]
Page 69
Were Hiring
jobs.wikimedia.org
Page 71
Tomasz Finc - [email protected]
~
@WikimediaMobile
http://meta.wikimedia.org/wiki/Mobile_Projects
http://wikitech.wikimedia.org/view/Presentations