Android Application Development

Post on 25-Feb-2016

53 views 0 download

description

Android Application Development. 郭惠翔 hhkuo@nccu.edu.tw. Three Websites You MUST Know. Before development. Android Developers http://developer.android.com. Android Developers http://developer.android.com Android Open Source Project http://developer.android.com. - PowerPoint PPT Presentation

Transcript of Android Application Development

Android Application Development

郭惠翔hhkuo@nccu.edu.tw

BEFORE DEVELOPMENTThree Websites You MUST Know

• Android Developers–http://developer.android.com

SDK Dev Guide Reference

Resources Videos Blog

• Android Developers–http://developer.android.com

• Android Open Source Project–http://developer.android.com

「 Best Reference Materials」

Android Architecture

• Android Developers–http://developer.android.com

• Android Open Source Project–http://developer.android.com

• Google–http://www.google.com.tw

Site搜尋特定網址

Inurl搜尋特定連結

Intext搜尋網頁內文字

Filetype搜尋特定檔案格式 Intitle搜尋網頁標題Link

搜尋互相連結的網頁

"index of" 搜尋開放目錄瀏覽Cache顯示網頁在

Google 中的暫存資料

Example• "VNC Desktop" inurl:5800

• inurl:passlist.txt

• "Index of /password”

• "phpMyAdmin" "running on" inurl:"main.php“

• intitle:index.of administrators.pwd

GOOGLE MAP How to use Google Map in Your Application

Please download

http://140.119.164.2/MapDemo.zip

Import MapDemo

Import MapDemo (cont.)

1st •Execute DOS and get MD5•keytool –list –keystore “keystore path”

2nd•http://code.google.com/android/maps-api-signup.html•Enter MD5

3rd•Use the Maps API key in your MapActivity or MapView

Window → Preference → Android → Build → Default

debug keystore

1st. AndroidManifest.xml

<manifest> <application >

<uses-library android:name="com.google.android.maps" />

</application> <uses-permission android:name="android.permission.INTERNET" /></manifest>

2nd. Extends MapActivity

3rd . Find MapView

• MapView map = (MapView) findViewById(R.id.myMapView);

• MapController mc = map.getController();

4th. Choose 「 Google APIs 」 as Your 「 Project Build Target 」

5th. Run as Android Application

Thanks for your attendance!!