This document provides an overview and agenda for a talk on starting with Android development. It discusses topics like platform fragmentation, whether to build native or hybrid mobile apps, interfaces, and new features in Android 4.3. It also covers best practices for Android like how Android manages resources and threads, and avoiding memory leaks. The document contains code examples and links to additional resources on these subjects.
17. Aplicações Nativas X Híbridas
Android, iOS, Windows Phone...
Custo-benefício de três aplicações > Custo
de uma aplicação híbrida ?
18. Aplicações Nativas X Híbridas
Aplicações Nativas
X
Aplicações Híbridas:
código nativo +
+ JavaScript
19. Aplicações Nativas X Híbridas
“You can write amazing Web 2.0 and Ajax apps that look
exactly and behave exactly like apps on the iPhone. (...)
And guess what? There’s no SDK that you need! You’ve
got everything you need if you know how to write apps
using the most modern web standards to write amazing
apps for the iPhone today. So developers, we think we’ve
got a very sweet story for you. You can begin building
your iPhone apps today.”
Steve Jobs, 2007
20. Aplicações Nativas X Híbridas
“You can write amazing Web 2.0 and Ajax apps that look
exactly and behave exactly like apps on the iPhone. (...)
And guess what? There’s no SDK that you need! You’ve
Só que não…
got everything you need if you know how to write apps
using the most modern web standards to write amazing
apps for the iPhone today. So developers, we think we’ve
got a very sweet story for you. You can begin building
your iPhone apps today.”
Steve Jobs, 2007
21. Aplicações Nativas X Híbridas
Martin Fowler, Developing Software for Multiple Mobile
Devices.
http://martinfowler.com/articles/multiMobile/
22. Aplicações Nativas X Híbridas
Martin Fowler, Developing Software for Multiple Mobile
Devices.
http://martinfowler.com/articles/multiMobile/
“but cross-platform
failed for desktop,
so why should we
expect it to succeed
for mobile?”
23. Aplicações Nativas X Híbridas
Martin Fowler, Developing Software for Multiple Mobile
Devices.
http://martinfowler.com/articles/multiMobile/
“but cross-platform
failed for desktop,
so why should we
expect it to succeed
for mobile?”
“To translate to all platforms,
you can only use what all
platforms support - which
means you can only use a
subset of each platform's
behavior.”
24. Aplicações Nativas X Híbridas
Martin Fowler, Developing Software for Multiple Mobile
Devices.
http://martinfowler.com/articles/multiMobile/
“but cross-platform
failed for desktop,
so why should we
expect it to succeed
for mobile?”
“To translate to all platforms,
you can only use what all
platforms support - which
means you can only use a
subset of each platform's
behavior.”
“...UI translation leads you to... The Uncanny
Valley”
25. Aplicações Nativas X Híbridas
“Javascript is too slow for mobile app
use in 2013 (e.g., for photo editing
etc.). It’s slower than native code by
about 5...“
http://sealedabstract.com/rants/whymobile-web-apps-are-slow/
26. Aplicações Nativas X Híbridas
Se sua aplicação mobile for
um diferencial para o seu
negócio considere fazer
nativa.
27. Aplicações Nativas X Híbridas
Que tal site web otimizado para mobile,
que execute no Browser?