• 沒有找到結果。

Android Program Design

N/A
N/A
Protected

Academic year: 2021

Share "Android Program Design"

Copied!
23
0
0

加載中.... (立即查看全文)

全文

(1)

Android

In a nutshell

(2)

Outline

 Introduction to Android

 The Development Environment  Hello! Android

(3)

Introduction to

Android

(4)
(5)
(6)
(7)

Google Android & Open

Handset Alliance

 Android is an operation system

 Symbian, Windows Mobile

 Android is developed based on Linux

 Open Handset Alliance

 Organized by 33 handset manufacturer, software

company and telecommunication company

 So, basically Android is an “Open Software”

 Everyone can develop a new mobile phone for

Android

 Gphone?!

(8)

Android based mobile

phones

 HTC G1

 For T-mobile and not for sale in Taiwan

 HTC Magic

(9)
(10)

Why Android?

 It’s FREE  It’s OPEN  Java-based

 You don’t need to learn another language

 Rich Applications

 Google API

 Android’s developer market

 Apps can easily embed the web  Apps can run in parallel

(11)

The

Development

Environment

(12)

Download

 Android SDK

Android SDK1.5

Android SDK 1.1

 http://developer.android.com/sdk/1.5_r1/index.html  IDE: Eclipse  http://www.eclipse.org/downloads/  Google APIs  Java SDK

(13)

Setting up the Eclipse

 Get the ADT (Android Development Tools) plugin

1. Start Eclipse, then select Help > Software

Updates....

 2. In the dialog that appears, click the Available

Software tab.

 3. Click Add Site...

 4. Enter the Location:

https://dl-ssl.google.com/android/eclipse/ Click OK.

 5. Back in the Available Software view, you should see the plugin listed by the URL, with "Developer Tools" nested within it. Select the checkbox next to Developer Tools and click Install...

 6. On the subsequent Install window, “Android DDM S” and “Android Development Tools” should both be

(14)
(15)

Create a new Android

project

 Project name: HelloAndroid

 Application name: Hello, Android  Package name:

com.example.helloandroid (or your own private namespace)

 Create Activity: HelloAndroid  Min SDK Version: 2

(16)

HelloAndroid

 TextView tv = new TextView(this);

tv.setText("Hello, Android"); setContentView(tv);

(17)
(18)
(19)

Time Picker &

AutoComplete

(20)
(21)
(22)
(23)

Android Dev Guide

參考文獻

相關文件

 Promote project learning, mathematical modeling, and problem-based learning to strengthen the ability to integrate and apply knowledge and skills, and make. calculated

Monopolies in synchronous distributed systems (Peleg 1998; Peleg

Corollary 13.3. For, if C is simple and lies in D, the function f is analytic at each point interior to and on C; so we apply the Cauchy-Goursat theorem directly. On the other hand,

Corollary 13.3. For, if C is simple and lies in D, the function f is analytic at each point interior to and on C; so we apply the Cauchy-Goursat theorem directly. On the other hand,

XAMPP is a completely free, easy to install Apache distribution.. containing MariaDB, PHP,

藍牙 Android 遙控程式

• elearning pilot scheme (Four True Light Schools): WIFI construction, iPad procurement, elearning school visit and teacher training, English starts the elearning lesson.. 2012 •

 name common laboratory apparatus (e.g., beaker, test tube, test-tube rack, glass rod, dropper, spatula, measuring cylinder, Bunsen burner, tripod, wire gauze and heat-proof