應用筆記
Pages
首頁
辨識軟體
OpenCV@Android
Ubuntu設定
Vaadin相關
App上架教學
Friday, March 29, 2013
Mercurial
Step 1: download
google-api-java-client on Android
https://code.google.com/p/google-api-java-client/wiki/Android
Step1: see the Android lib after download the google-api-java-cilent
Step2:
setListAdapter
ArrayAdapter
實做範例:
http://blog.joomla.org.tw/android/178-ListView%E4%B9%8B%E4%B8%80%EF%BC%9AAdapter%E4%BB%8B%E7%B4%B9%E8%88%87%E4%BD%BF%E7%94%A8.html
Problem:
R.java was modified manually! Reverting to generated version!
Fixed:
Google Maps Android API(16311): Authorization failure.
03-29 09:39:42.031: E/Google Maps Android API(16311): Authorization failure.
Step 1:
Get the SHA-1 fingerprint
.by
Step 2:
To get a project and register for the API:
Create Key by input :
SHA-1 fingerprint
. ; com.xxxxx
Step 3:
To add the key to your application:
https://developers.google.com/maps/documentation/android/start#the_google_maps_api_key
“R cannot be resolved to a variable”?
http://stackoverflow.com/questions/7824730/r-cannot-be-resolved-to-a-variable
The sample of Google Maps Android API v2 com.example.mapdemo can not find file “R.java”
http://stackoverflow.com/questions/14503168/the-sample-of-google-maps-android-api-v2-com-example-mapdemo-can-not-find-file
Ans: You need to setup these 3 lib correctly.
google-play-services_lib.jar missing from SDK google_play_services lib folder
Thursday, March 28, 2013
Google Maps Android API v2 - Sample Code crashes
Refer to 1
http://stackoverflow.com/questions/13733911/google-maps-android-api-v2-sample-code-crashes
Android Maps V2 Quick Start
https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzw
看電話號碼屬於那家 電信業者
資料來源:
http://tw.myblog.yahoo.com/olivertu-blog/article?mid=4479
Wednesday, March 27, 2013
地籍圖資網路便民服務系統
http://easymap.land.moi.gov.tw/
@地價資料查詢
http://qry.land.tycg.gov.tw/qry1.aspx?mid=255
debug.keystore
1. GOOGLE :
https://developers.google.com/maps/documentation/android/v1/mapkey?hl=zh-TW#getfingerprint
Ans:
http://www.patrickintw.com/blog/google_map_key_failed
still failure:
at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData
http://stackoverflow.com/questions/7296467/google-map-signed-api-key-errors-in-android
Google Maps Android API v2
https://developers.google.com/maps/documentation/android/start
Google 雲端通訊 (GCM)
Android SDK installation issue - Peer not authenticated
setting in the
SDK Manager
Tools > Options
menu.
import com.google cannot be resolved
android sdk manager.
How to change the default activity
How to change the default activity:
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Logcat messages disappear after a short time:
Ans: change the buffer size.
GPS test
@Try 1:
Log.i("TAGMOBLE","Lat:"+location.getLatitude()); //緯度Log.i("TAGMOBLE","Long:"+location.getLongitude());
Double check by Gmap: It works.
Monday, March 25, 2013
1. Android AP
台大
http://www.cc.ntu.edu.tw/chinese/epaper/0022/20120920_2209.html
參考一
:
參考二:
參考二: http://xn--app-8v2h883k.tw/?gclid=CKTG_rnllrYCFQxepQod034AYg
App Store 排行榜第一名, 沒有想像中困難
2. Problem:
Error generating final archive: Debug Certificate expired on
fixed by : C:\Documents and Settings\Administrator\.android 删除路径下的debug.keystore
Try 3:
金門大學:
http://gogkmit.wikidot.com/demo:ch3
GPS sample:
http://gogkmit.wikidot.com/demo:gpssignal
Try 4:
Problem :
how to open existing android project in eclipse
Answer found:
http://stackoverflow.com/questions/2231474/how-to-import-existing-android-project-into-eclipse
Try 5: how to stop the ap thread
Windows -> Open perspective -> Other... -> DDMS
Try 6: Change the View
setContentView
Try 7:
http://www.xapps.tw/article/335?destination=node%2F335
Try 8:
XAPPS:
"
startActivity" + Intent
http://www.xapps.tw/article/335?destination=node%2F335
Try 9: make call in Android : need this one in Manifest.xml
<
uses-permission
android:name
=
"android.permission.CALL_PHONE"
/>
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)