Android

  • View
    102

  • Download
    0

Embed Size (px)

Text of Android

ANDROID 1607

Eclipse IDE Android SDK - ADT Plugin -

Android Project

XML - Layouts Activities Intends2

--

3

Android

1

: 5 2007 2011 : 200,000,000

Google

- Open Handset Alliance

Linux 4

AndroidAndroid

SDK : APIS Java Google - XML Java

!

5

Eclipse IDE + Android SDK +ADT Plugin for Eclipse

- WebBrowser 2D - 3D OpenGL 1.0

SQLite

Video

Bluetooth, Camera,

GSM EDGE, 3G, and WiFi

GPS

6

Android

7

Eclipse- Android SDK- ADT

8

Eclipse

Java

Google Developers Java JDK Linux Windows ADT Android Plugin9

eclipse.org/downloadsGoogle

Android SDK

APIS

Android (Google Apis : maps, websearch...) /(EDK Sony Ericksson,Galaxy Tab)

Windows Linux Eclipse10

Android Development Tools (ADT)Plugin

Google Eclipse IDE

Android

Android Project XML11

ADT plugin Eclipse

Android

(SMSGPS-WIFI)

12

Android Project Project -

13

Project

Project .

File->new-> Android Project :--- ---

14

Project (1/3) Src:

Project Java. Gen:

R.* XML activities

15

Project (2/3)Res:'

Drawables: / Layout: Values: xml.16

Project (3/3)AndroidManifest.xml:

Project. (permissions) (activities) . ' . , GPS.:

..sftpOnly17

A ftp server

18

3 ,, .

: 19

20

, .

res->values->strings.xml. .:

string,color,drawble,dimension,integer,array

21

2 Gui Builder . WYGIWYW . XML

res->layouts->main.xml .

22

23

24

Receive.xml

25

Send.xml

26

27

activities,intents,

28

onCreate(). . setContentView() main.xml

Android activity . . .29

Activity .

30

Views Click Listeners

View setOnClickListener() id onClick() id .31

onClick()- Intents .

onClick() .

View id

32

Intents Intent startActivity(); Intents:

. Android . intent activities33

34

Receive

35

Receive FileUploadDownload.getData()

36

Send

37

SendY simpleUploadtoFTP.up()

38

AndroidManifest.xml

39

Send

40

Send

41

Receive

42

43