Presentation is loading. Please wait.

Presentation is loading. Please wait.

COM594: Mobile Technology Practical – Week 1 Android and Android Studio.

Similar presentations


Presentation on theme: "COM594: Mobile Technology Practical – Week 1 Android and Android Studio."— Presentation transcript:

1 COM594: Mobile Technology Practical – Week 1 Android and Android Studio

2 Android

3 What is Android?  Android is an open source and Linux-based Operating System for mobile devices such as smartphones and tablet computers.  Android was developed by the Open Handset Alliance, led by Google, and other companies.

4 Why Android ?  Android is a powerful operating system and supports great features.

5 Android Applications  Android applications are usually developed in the Java language using the Android Software Development Kit (SDK).

6 History of Android  The code names of android ranges from A to L currently, such as Aestro, Blender, Cupcake, Donut, Eclair, Froyo, Gingerbread, Honeycomb, Ice Cream Sandwitch, Jelly Bean, KitKat and Lollipop.

7 System Requirements  Can start your Android application development on either of the following operating systems − Microsoft® Windows® 10/8/7/Vista/2003 (32 or 64-bit). Mac® OS X® 10.8.5 or higher, up to 10.9 (Mavericks) GNOME or KDE desktop  Following is the list of software's you will need before you start your Android application programming. Java JDK5 or later version Java Runtime Environment (JRE) 6 Android Studio

8

9 Introducing Android Studio  Installing the Java Development Kit (JDK) on Windows http://www.oracle.com/technetwork/java/javase/downloads/index. html

10 Introducing Android Studio  Downloading the JDK on Windows

11 Introducing Android Studio  Executing the JDK Wizard on Windows C:\Java

12 Introducing Android Studio

13  Configuring Environmental Variables on Windows

14 Introducing Android Studio  Configuring Environmental Variables on Windows

15 Introducing Android Studio  Configuring System variable on Windows

16 Introducing Android Studio  Edit the PATH environmental variable on Windows  Place your cursor at the end of the Variable Value field and type the following: ;%JAVA_HOME%\bin  In the command-line window, issue the following command and press Enter: java –version

17 Introducing Android Studio  Installing Android Studio https://developer.android.com/studio/index.html https://developer.android.com/studio/index.html

18 Introducing Android Studio  Once the download is complete, execute the file you just downloaded.

19 Introducing Android Studio  Select locations for Android Studio and the SDK

20 Introducing Android Studio  Completing the Android Studio setup

21 Creating Your First Project: HelloWorld  Welcome to Android Studio  Click the Start a New Android Project option.

22 Creating Your First Project: HelloWorld  Configure your new project firstname.ulster.ac.uk

23 Creating Your First Project: HelloWorld  Select the form factors your app will run on

24 Creating Your First Project: HelloWorld  Choose options for your new file Activity Name: MainActivity Layout Name: activity_main Title: MainActivity Menu Resource Name: menu_main

25 Creating Your First Project: HelloWorld  Using Android Virtual Device (AVD) Manager The Android Virtual Device Manager allows you to create Android Virtual Devices (AVDs), which you can then run to emulate a device on your computer.

26 Creating Your First Project: HelloWorld  Select the Galaxy Nexus hardware

27 Creating Your First Project: HelloWorld  Select the x86_64 system image

28 Creating Your First Project: HelloWorld  Running HelloWorld on an AVD  Choosing a device and launching the emulator

29 Creating Your First Project: HelloWorld  Emulator

30 Creating Your First Project: HelloWorld  Running HelloWorld on an Android Device Connect the mobile phone via USB cable Click the Android Device Monitor button

31 Creating Your First Project: HelloWorld  Running HelloWorld on an Android Device Now click the green Run button

32


Download ppt "COM594: Mobile Technology Practical – Week 1 Android and Android Studio."

Similar presentations


Ads by Google