slide day4-1

11

Click here to load reader

Upload: naret-su

Post on 19-May-2015

353 views

Category:

Education


0 download

DESCRIPTION

Slide Android โดยคุณปิยะ

TRANSCRIPT

Page 1: Slide day4-1

Android Application Day4

• Resource & Language

• Preference

• Read & Write File Context

• Database with SQLite• Database with SQLite

• View animation

• Service

Page 2: Slide day4-1

Receiving HTTP Data

Page 3: Slide day4-1

AppWidgetProvider Class

Class AppWidgetProvider

– onUpdate()

– onDeleted()

– onEnabled()– onEnabled()

– onDisabled()

– onReceive()

Page 4: Slide day4-1

AppWidget Design

Page 5: Slide day4-1

AppWidget

• AppWidgetReceiver

action: APPWIDGET_UPDATE

• AppWidgetProviderInfo• AppWidgetProviderInfo

• AppWidgetProvider class

• XML Layout

Page 6: Slide day4-1

Android Google Map API

• GPS

• Internet Access

• Android Maps API Key• Android Maps API Key

Page 7: Slide day4-1

Registering for a Maps API Key

• Getting the MD5 Fingerprint of Your Signing

Certificate

keytool -list -alias androiddebugkey keytool -list -alias androiddebugkey -keystore C:\debug.keystore-storepass android -keypass android

Page 8: Slide day4-1
Page 9: Slide day4-1

Registering for a Maps API Key #2

• Registering the Certificate Fingerprint with

the Google Maps Service

http://code.google.com/android/maps-api-http://code.google.com/android/maps-api-

signup.html

Page 10: Slide day4-1
Page 11: Slide day4-1

Android Maps API Key!