Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University,...

15
Wireless Mobility Wireless Mobility with Android with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA

Transcript of Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University,...

Page 1: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

Wireless Mobility Wireless Mobility with Androidwith Android

1

Presented by:Ung Yean

MS. Computer ScienceAmerican University, Washington DC, USA

Page 2: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

ObjectiveObjective

2

To understand the Android building blocks and learn to develop Android applications.

Page 3: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

Android MarketAndroid Market

3

Android devices come in all shapes and sizes. As of late November 2010, the Android OS can be seen poweringthe following types of devices:➤ Smartphones➤ Tablets➤ E-reader devices➤ Netbooks➤ MP4 players➤ Internet TVs

Page 4: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

Android ArchitectureAndroid Architecture

4

Page 5: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

Tools to Develop Android Tools to Develop Android AppsApps

5

Eclipse IDE: to write code and design UIAndroid SDK include AVD (Android Virtual

Device): to test the applications

ADT (Android Development Tools): The Plug-in includes various wizards for creating and debugging Android projects.

Page 6: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

Create the AVDCreate the AVD

6

1. Window/Android SDK and ADV Manager

2. Click new

Page 7: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

7

Fill in the form as shown

Page 8: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

Run the AVDRun the AVD

8

Select one of the created AVD and click start. This will run the AVD where your App will be run on. (It will take a while for the AVD to load.). You will have the option of scale the display . Screen Size 7 means 70%

Page 9: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

9

First Android App: First Android App: Hello Hello AndroidAndroid

Page 10: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

10

Page 11: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

11

3. Configure the project as shown and click finish.

Page 12: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

12

Configure Configure the Application to run the Application to run with the AVDwith the AVD

Page 13: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

13

Target Target the Application to the version the Application to the version of the AVDof the AVD

Page 14: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

14

Run Run the Application the Application

Page 15: Wireless Mobility with Android 1 Presented by: Ung Yean MS. Computer Science American University, Washington DC, USA.

15

Application output Application output on AVD on AVD