programming with android: module overvie · 3. android component: activities 4. android component:...

14
Programming with Android: Module Overview Luca Bedogni Marco Di Felice Dipartimento di Scienze dell’Informazione Università di Bologna

Upload: others

Post on 11-Aug-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Programming with Android: Module Overview

Luca Bedogni Marco Di Felice

Dipartimento di Scienze dell’Informazione Università di Bologna

Page 2: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 2

Android … Why?

Ø Introduce the Androd architecture

Ø Implement Android applications

Ø Think in Android terms

GOALs OF THE MODULE:

Page 3: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 3

Android … Why?

http://www.email-marketing-reports.com/wireless-mobile/smartphone-statistics.htm http://www.gartner.com/it/page.jsp?id=1848514

ANDROID_MARKET VS APPLE_STORE SMARTPHONE OPERATING SYSTEMS

Page 4: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 4

Android … Why?

MOBILE DEVICE DIVERSIFICATION MOBILE INTERNET USERS WORLDWIDE

Page 5: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview

Android: Some Examples …

2

Page 6: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 3

Android: Some Examples …

Page 7: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview

Android: where is the business?

4

Page 8: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview

Android: yes, business!

Ø (at least) 500 k * 10.99 = 5.495 k

Ø 70% to the developer, 30% to others, such as carriers

Ø 70% of 5.495k = 3.846,5 k

Ø 3.846.500 euro from a single application

Ø RATIONALE: Focus on amount of applications sold, not on price of single applications …

5

Page 9: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 9

Android … How?

1.  The Android Project 2.  Android Architecture and Components 3.  Android Component: Activities 4.  Android Component: Intents 5.  Android Resources System 6.  Android Layout: View and ViewGroups 7.  Android Event Management Systems 8.  Android Animation, Menu, Dialog 9.  Android Data Management

Page 10: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 10

Android … How?

10.  Android Network Management System

11.  Android and Google Maps

12.  Android Gesture and TextSpeech

13.  Android System Services

14.  Android and Bluetooth

15.  Android for Tablets

Page 11: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 11

Android … How?

Textbook Android: Guida per lo sviluppatore

Author Massimo Carli Other resources: Ø Slides Ø Online Tutorials Ø Newsgroups

Page 12: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 12

Android … How?

Textbook Learning Android (O’Reilly)

Author Marko Margenta Other resources: Ø Slides Ø Online Tutorials Ø Newsgroups

Page 13: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 13

Android … How?

Ø Object-Oriented Programming

(We will use Java for Android applications coding …)

Ø XML Essentials (We will mix declarative and programmative approaches)

Ø (PREFERRED) Experience with Java SDK Tools (Eclipse)

(We will use Android Eclipse-plugins for SW developing)

PRE-REQUISITIES:

Page 14: Programming with Android: Module Overvie · 3. Android Component: Activities 4. Android Component: Intents 5. Android Resources System 6. Android Layout: View and ViewGroups 7. Android

Luca Bedogni, Marco Di Felice - Programming with Android – Module Overview 14

Android … Where?

Ø Download Android SDK for your platform:

http://developer.android.com/sdk/index.html

Ø Execute (and then select the Android API version): android-sdk-xxx/tools/android

Ø Install the ADT plugin for Eclipse:

http://www.eclipse.org/downloads/ https://dl-ssl.google.com/android/eclipse