Docsity

Android Development Environment, Slides of Computer Programming

Partial preview of the text

Download Android Development Environment and more Slides Computer Programming in PDF only on Docsity!

Lesson 2 Android

Development Environment

MOBILE APPLICATION DEVELOPMENT BY SIMON HAO

Contents

Part 1 First Android Application Part 2 Android SDK

Contents

Part 1 First Android Application 1.1 Install/Update Android Studio with Android SDK 1.2 First Android Application 1.3 Application Code & Data 1.4 Debug Android Application Part 2 Android SDK

1.1 Install/Update Android Studio with Android

SDK

Install Android Studio ◦ Download packages ◦ Install or check Java SDK: c:>\javac – version ◦ Execute *.exe Update Android Studio

1.3 Application Code & Data

Project code and data and their folder structure Application in Linux kernel

1.4 Debug Android Application

Add a log Add a prompt message

Contents

Part 1 First Android Application Part 2 Android SDK 2.1 Android SDK Folder Tree 2.2 Android SDK Tools 2.3 ADB 2.4 Log data 2.5 Android Studio

2.1 Android SDK Folder Tree

Tools Samples Documents Extra

2.3 ADB

ADB command Check/kill device connection Install/uninstall app Android Linux shell commands

2.4 Log Data

Logcat command See log in Android Studio Run it in command shell DDMS