what is so cool about android 4.0?

32
So what is so cool about Android 4.x? Lars Vogel Lars Vogel http://www.vogella.de Twitter: @vogella

Upload: lars-vogel

Post on 17-May-2015

1.947 views

Category:

Technology


3 download

DESCRIPTION

Overview presentation of Android 4.0. Code examples were shown live, so that usage of the presentation is limited.

TRANSCRIPT

Page 1: What is so cool about Android 4.0?

So what is so cool about Android 4.x?

Lars VogelLars Vogelhttp://www.vogella.de

Twitter: @vogella

Page 2: What is so cool about Android 4.0?

Why Android 4.0 is great

Features of Android 4.0

Can I use it already?

Q&A

Page 3: What is so cool about Android 4.0?

Independent Eclipse and Android consultant, trainer and book author

Eclipse committer

Maintains http://www.vogella.de Java, Eclipse and Android related Tutorials with more then a million visitors per month.

About me – Lars Vogel

Page 4: What is so cool about Android 4.0?

The world before Android 4.0

Page 5: What is so cool about Android 4.0?

If I only had the source code.

Page 6: What is so cool about Android 4.0?

Two different API's

Page 7: What is so cool about Android 4.0?

Fortunately Google merged the APIs of the tablet version with the handset version in Android 4.0 and released the source code.

Page 8: What is so cool about Android 4.0?

Android 4.0

Page 9: What is so cool about Android 4.0?

Android 4.0

Page 10: What is so cool about Android 4.0?

Hardware Rendering is default

Page 11: What is so cool about Android 4.0?

Holo Theme – Consistent Theming cross devices

android:theme="@android:style/Theme.Holo"

Theme: DeviceDefault

Page 12: What is so cool about Android 4.0?

The code of this talk examples assume that you know some basics of Android

Page 13: What is so cool about Android 4.0?

ActionBar

Page 14: What is so cool about Android 4.0?

GridLayout

Page 15: What is so cool about Android 4.0?

Resizable Widgets

Page 16: What is so cool about Android 4.0?

Drag & Drop

Page 17: What is so cool about Android 4.0?

Camera Face Detection

Page 18: What is so cool about Android 4.0?

Calendar API

Page 19: What is so cool about Android 4.0?

StackView

Page 20: What is so cool about Android 4.0?

Fragments

Page 21: What is so cool about Android 4.0?

Reminder:

Activities are something like a screen in your application

Layout are defined as XML files

Layouts can be selected with resource qualifiers

Page 22: What is so cool about Android 4.0?

Always part of an Activity

Componts

Have their own life-cycle

Re-use functionality for different screensizes

Fragments

Page 23: What is so cool about Android 4.0?

ViewPager

Page 24: What is so cool about Android 4.0?

Android Beam via NFC

Wi-Fi Direct

Social API

Bluetooth Health Device Profile

Graphics and Animations

TextureView – Like Surface View but integrated

… audio and media

More Stuff

Page 25: What is so cool about Android 4.0?

Can I use it?

Page 26: What is so cool about Android 4.0?
Page 27: What is so cool about Android 4.0?

Comp LibFragementsSolution for ActionBarViewPagerGridLayout promissedOwn package → needs replacement

Page 28: What is so cool about Android 4.0?

Android 4.0

Page 29: What is so cool about Android 4.0?
Page 30: What is so cool about Android 4.0?

Android: Where to go from here:

Android Introduction Tutorial http://www.vogella.de/articles/Android/article.html

Or Google for „Android Development Tutorial“

Android SQLite and ContentProvider Bookhttp://www.amazon.com/dp/B006YUWEFE

More on Android http://www.vogella.de/android.html

Page 31: What is so cool about Android 4.0?

Thank you

For further questions:

[email protected]://www.vogella.deTwitter http://www.twitter.com/vogellaGoogle+ http://gplus.to/vogella

Page 32: What is so cool about Android 4.0?

License & Acknowledgements

• This work is licensed under the Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Germany License

– See http://creativecommons.org/licenses/by-nc-nd/3.0/de/deed.en_US