2nd Athens Android Dev Meetup: Hello Android, from zero to hello

Post on 13-Jan-2017

177 views 2 download

Transcript of 2nd Athens Android Dev Meetup: Hello Android, from zero to hello

ATHENS ANDROID DEVELOPERS GROUP

Hellofrom zero to hello

Mando Stamelakisoftware engineer / mobile application developer

2ND ATHENS ANDROID DEV MEETUP

Bio ● Athens University of Economics and Business, Department of Informatics

● Mobile Application Developer○ Nokia Qt Framework, Jun ’10 - Dec ’10

■ Developed & published 2 applications○ Samsung bada OS, Dec ’10 - Apr ’11

■ Developed & published 7 applications○ Windows Phone 7.5

■ Developed & published 1 application○ Android, Oct ’10 (professionally Mai ’11)

■ Developed & published 7 applications & 1 library■ Participated in the development of 4 applications

○ iOS, Jan ’16

■ Participated in feature enhancements of 1

application

Android?

Version History

Code name Version number Initial release date API level

N/A

1.0 23 September 2008 1

1.1 9 February 2009 2

Cupcake 1.5 27 April 2009 3Donut 1.6 15 September 2009 4Eclair 2.0 – 2.1 26 October 2009 5–7Froyo 2.2 – 2.2.3 20 May 2010 8Gingerbread 2.3 – 2.3.7 6 December 2010 9–10Honeycomb 3.0 – 3.2.6 22 February 2011 11–13Ice Cream Sandwich 4.0 – 4.0.4 18 October 2011 14–15Jelly Bean 4.1 – 4.3.1 9 July 2012 16–18KitKat 4.4 – 4.4.4 31 October 2013 19–20Lollipop 5.0 – 5.1.1 12 November 2014 21–22Marshmallow 6.0 – 6.0.1 5 October 2015 23Nougat 7.0 22 August 2016 24

https://en.m.wikipedia.org/wiki/Android_version_history

Tools● Android Studio

○ IntelliJ IDEA

● Android SDK○ Building tools○ Android Virtual Device (AVD) - Emulator○ Android Developer Bridge (ADB)

● Android Native Development Kit (NDK)○ C and C++ code with Android, CMake, LLDB

● Gradle build system○ Android Plugin for Gradle

Get the Tools!

Android Studio (download)https://developer.android.com/studio/index.html#downloads

Developer machine specs

● 8GB ram recommended, minimum 4GB

● OS independent○ Windows 7+○ Mac OS X 10.8.5+○ Ubuntu 12.04+

● CPU with virtualization for better performance in emulators

Android SDK Platforms

● API Level○ SDK Platform○ Source code○ Images for emulators

Android SDK Tools

● Documentation● SDK Build-tools

○ Create your APK● SDK Platform-tools

○ Android Device Bridge (ADB)● SDK Tools

○ Android Virtual Device (AVD)○ Logcat○ Dalvic Debug Monitor Server

(DDMS)○ etc.

● Extras○ USB Drivers (windows)○ Emulator accelerator x86 (windows)○ Support Library○ Google Play Services

Ready? Action!

The end...

#codeHey,

where’s the code???

Fibonacci Droid

https://github.com/madlymad/FibonacciDroid

Project Structure

Android manifest, introduce yourself to the system.

Gradle, all you need to build yourself

UI editor with xml as well.

Activity & Fragment

Logcat

Android references● https://github.com/madlymad/FibonacciDroid● https://developer.android.com/index.html● https://developer.android.com/studio/intro/index.html● https://developer.android.com/develop/index.html● https://developer.android.com/training/index.html● https://www.udacity.com/courses/android● https://www.youtube.com/user/AndroidDevelopers/playlists● https://www.youtube.com/user/GoogleDevelopers/playlists● https://gradle.org/getting-started-android-build/

Questions ?

ATHENS ANDROID DEVELOPERS GROUP

Thank you!

Mando Stamelakisoftware engineer | mobile application developer