3. • 75% of people worldwide have access to a
mobile phone
• More than half of all US cellphones are
smartphones
Thursday, October 18, 12
4. iOS Android RIM Windows Phone
4%
10%
iOS
34%
Android
53%
US Smartphone market share, July 2012
Thursday, October 18, 12
5. • 400 million iOS devices sold
• A million new Android users each day
• 700,000 apps in Apple App Store, almost as
many in Google Play (Android)
• 30 billion iOS downloads, 25 billion Android
Thursday, October 18, 12
6. “Now we are a mobile
company”
Mark Zuckerburg, September 2012
Thursday, October 18, 12
7. • Should I get into developing mobile apps?
• And if so, on which platform?
Thursday, October 18, 12
8. bitly
“The new way to bookmark,
organize, and share the things
you care about online.”
Thursday, October 18, 12
12. BREW
• Proprietary, native (C-language based)
• Close integration of hardware and software
• Closed system to distribute apps
Thursday, October 18, 12
13. iOS
• Proprietary, native (C-language based)
• Close integration of hardware and software
• Closed system to distribute apps
Thursday, October 18, 12
14. J2ME
• Java language, runs in VM
• More open app distribution system (apps can
be downloaded through a link)
• Less consistent device capabilities, screen sizes
Thursday, October 18, 12
15. Android
• Java language, runs in VM
• More open app distribution system (apps can be
downloaded through a link)
• Less consistent device capabilities, screen sizes
Thursday, October 18, 12
16. Can’t we just
put it on the
mobile web?
Thursday, October 18, 12
17. Can’t we just
put it on the
mobile web?
Maybe but it might
be sloooooww
Thursday, October 18, 12
18. Recurring themes...
• Open application ecosystem vs closed
• Integrated hardware vs OS portability
• Native vs Web
Thursday, October 18, 12
20. iOS: Closed source
• Developer only sees header files of Apple
libraries
• Makes debugging tough
Thursday, October 18, 12
21. Android: Open Source
• Can step through platform code if you have
an issue
• But... manufacturer modified versions slow
to update
Thursday, October 18, 12
22. Inter-app communication
<intent-filter>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="image/*" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Thursday, October 18, 12
23. iOS: Pseudo-multitasking
• System “freezes” apps, restores state
• Apps can only update their data in
background once a day
Thursday, October 18, 12
24. Android: True multitasking
• Apps and services can run in
background
• Downside: performance, battery life
Thursday, October 18, 12
25. iOS: All apps reviewed by Apple
• Submit, cross fingers, pray to the Apple
gods
• Can take weeks to fix bugs
Thursday, October 18, 12
26. “We view Apps different than books or songs,
which we do not curate. If you want to criticize a
religion, write a book. If you want to describe sex,
write a book or a song, or create a medical App.”
“If your App is rejected, we have a Review Board
that you can appeal to. If you run to the press and
trash us, it never helps.”
- App Store Review Guidelines
Thursday, October 18, 12
27. Open vs Closed
App distribution: iOS
Thursday, October 18, 12
28. Android: No review process
• Fix bugs as they happen
• Apps can be downloaded via a link in a web
page
• Downsides: Piracy, Security
Thursday, October 18, 12
34. Android: Device fragmentation
• Galaxies and HTCs and Droids oh my!
• Different screen sizes, multimedia codecs,
etc
• Big changes (like dropping the menu
button) are the developer’s problem
Thursday, October 18, 12
35. Integration vs Portability
Device fragmentation: Android
9%
7%
As of June 2012
19% 2.3 (Dec 2010)
2.2 (June 2010)
65% 4.0 (Oct 2011)
Other
Manufacturer customized OS == SLOW upgrades
Thursday, October 18, 12
36. Why I chose iOS
• Deep, layered libraries with (generally)
great documentation
• Great toolset (though devs will always
complain)
• Minimal porting means more time on
features!
• Most companies still start iOS first
Thursday, October 18, 12
37. Native vs Web: Do we
even need an app?
Thursday, October 18, 12
38. “All of our developers are good at HTML. Only a
few of them are really good at Objective-C and
Android. ”
- Facebook Mobile Engineering Manager
September 2011
Thursday, October 18, 12
39. "The biggest mistake we made as a
company was betting too much on HTML5
rather than native...
It turns out, ‘good enough’ wasn’t good
enough.”
- Mark Zuckerburg
September 2012
Thursday, October 18, 12
40. Happy hybrids
• Not either/or!
• Can make some views web, others native
Thursday, October 18, 12
41. Web-friendly views
• New or temporary features
• Dynamically formatted, server-driven
content (er, HTML)
• Less performance intensive
• Leave the chrome native if possible
Thursday, October 18, 12
42. Some tools for hybrid
apps
• PhoneGap
• Titanium
• jQuery mobile
Thursday, October 18, 12
43. Thanks for listening!
@tracypesin
tracy.pesin@gmail.com
http://bit.ly/lwcMobile
Thursday, October 18, 12