Essa palestra tem como objetivo servir de guia para os que tem interesse em iniciar no desenvolvimento de aplicativos móveis. Será apresentado um geral de ferramentas, linguagens de programação que podem ser utilizadas, onde encontrar bibliotecas e framework para cada tecnologia que for adotada e soluções multi-plataformas que podem ser utilizadas para agilizar o suporte a múltiplos ecossistemas. Também são mostrados cases reais de aplicativos móveis, analisando porquê essas aplicações tem um foco tão grande no mundo móvel e por que fazem tanto sucesso com os usuário.
1. GUIA DO DESENVOLVEDOR MOBILE
DAS GALÁXIAS
@ A LVA R O V I E B R A N T Z / / AV I E B R A N T Z . C O M . B R
1
2. • Analista de TI na Sefaz-MT (MTI)
• Prêmio de melhor espirito empreendedor
• SW Cuiabá 2015 com JogaFácil
• Ex Fullstack developer no Procurix
• Mobile developer no Estudavest
• Ciência da Computação na UFMT
Cuiabá, MT, Brasil
alvarowolfx
@alvaroviebrantz 2
A LVA R O V I E B R A NT Z
23. A P P S A N D P L AT F O R M
• Smartphones are commodities
• UX
• Apps
• Cloud
• Integration
• New devices
23
24. W H AT C A N W E O F F E R ?
24
N O T O N LY C A L L A N Y M O R E
25. M O B I L E S D K
• Access to hardware
• Camera
• GPS
• Accelerometer, Gyro, etc
• Graphics and Animation
• Payment
• Bluetooth and NFC
• Storage
25
43. M O B I L E N AT I V E
• Each one have a platform SDK
• Focus on iOS and Android
• Platform programming
languages
• Platform Tools
• Separated source code
43
44. N AT I V E I O S
• Objective-C and Swift
• developer.apple.com
• 100$ per year fee
• Mac OS X required
• Xcode
44
45. N AT I V E I O S
• Advantages
• Platform loyalty
• Better conversion rate
• Less devices and version fragmentation
• Plenty of development resources
• Disadvantages
• Requires Mac OS X
• Less customers outside EUA
45
46. N AT I V E I O S
• CocoaControls.com - Components
• raywenderlinch.com - Tutorials
• CocoaPods - Dependency management
• Stanford iOS Course on iTunesU
46
47. N AT I V E A N D R O I D
• Java or JVM based languages
• Scala, Groovy and Kotlin
• developer.google.com
• One time 25$ fee
• Android Studio
• Any OS can be used for development
47
48. N AT I V E A N D R O I D
• Advantages
• Global market leader
• Can program on any hardware and OS
• Low cost to start developing
• Disadvantages
• Devices fragmentation
• Less learning resources
48
49. N AT I V E A N D R O I D
• github.com/JStumpp/awesome-android -
Components
• raywenderlinch.com - Tutorials
• Graddle - Dependency management
• Genymotion Simulator (MUCH FASTER)
• Udacity Android Nanodegree
49
51. I T I N E R Á R I O S M T
S E C O N D A P P ( 2 0 1 2 )
52. W H Y N O T N AT I V E ?
• Multiple platform support is
hard
• Platform specific code
• Hard to find developers
• Developers silo
• Higher cost
52
53. C R O S S C O M P I L E N AT I V E
• Write once using .NET Technologies
• C# or F#
• Deploy to iOS, Android and
Windows Phone
• Single source code, generate native
app
• Can have separated code for UI
• To follow specific guidelines
53
54. C R O S S C O M P I L E
• It’s open source now !!!
• Develop in any platform
and OS
• Visual Studio or Mono
Developer
• Xamarin University
54
55. C R O S S C O M P I L E G A M E S
• Unity 3d
• 3d and 2d games
• Can deploy to mobile
• Develop in any platform and OS
• Assets store
• Freemium
55
http://madewith.unity.com/
56. B U T N AT I V E
R E M A I N S D I F F I C U LT
• Develop, Compile, Build,
Test tedious lifecycle
• Hard to find developers
• Web developers are
more easy to find
• Native it’s a necessary evil
56
61. H Y B R I D D E V E L O P M E N T
• HTML5, CSS3 and Javascript
• Native bridge with Cordova
• Web development tools
• Fast development
• Easily style your app
• Vibrant community
61
62. P R O C U R I X A P P
T O O K A M O N T H T O L A U N C H T H E A P P ( 2 0 1 4 )
63. T R I M T R I M D E L I V E RY
P I Z Z A M E N U A P P ( 2 0 1 3 )
65. S TAT E O F W E B V I E W S
“The State of JavaScript on Android in 2015 is… poor”
https://meta.discourse.org/t/the-state-of-javascript-on-android-in-2015-is-poor/33889/1
65
66. J AVA S C R I P T N AT I V E
Mobile apps using web technologies
No Webviews
Direct javascript bridge to native
Fast Development + Great Peformance
66
67. J AVA S C R I P T N AT I V E
67
NativeScript
by Telerik
React Native
by Facebook
68. R E A C T N AT I V E
• Created by Facebook
• Public release on early 2015
• Only iOS first
• Late 2015
• Android support
• Early 2016
• Windows Phone support
68