Skip to content

Instantly share code, notes, and snippets.

@PingNote
Last active August 29, 2015 14:25
Show Gist options
  • Save PingNote/04bb16e771fbfd4d2a3d to your computer and use it in GitHub Desktop.
Save PingNote/04bb16e771fbfd4d2a3d to your computer and use it in GitHub Desktop.
Google Android API
Keywords: Map , Polyline , Screen , ListView , AsyncTask , HttpURLConnection , ImageView , Bitmap
Google Maps Android API Lite Mode
https://developers.google.com/maps/documentation/android/lite
# Polyline
http://blog.tonycube.com/2013/01/androidmaps-and-positioning2.html
http://blog.tonycube.com/2013/06/androidmaps-and-positioning3.html
http://cheng-min-i-taiwan.blogspot.tw/2013/09/google-maps-android-api-v2-android.html
http://blog.csdn.net/wannawang/article/details/17380137
http://blog.csdn.net/commonslok/article/details/8665755
Static Maps API V2 Developer Guide
https://developers.google.com/maps/documentation/staticmaps/intro
Tutorial
http://www.dami.tw/2012/11/24dami.html
https://maps.googleapis.com/maps/api/staticmap?parameters
center (required if markers not present)
zoom (required if markers not present)
size (required)
scale (optional)
format (optional)
maptype (optional)
language (optional)
markers (optional)
path (optional)
visible (optional)
style (optional)
# Screen , DisplayMetrics
Android App支援多種不同螢幕規格的方式 | MagicLen
http://magiclen.org/android-screen/
# ListView , Adapter
https://www.google.com.tw/search?q=android+listview+優化
static class ViewHolder ; OnScrollListener ; BitMap.recycle() ; system.gc() ;
http://blog.csdn.net/sweetvvck/article/details/12753851
http://stackvoid.com/list-view-optimization-best-practice-android/
http://www.cnblogs.com/over140/archive/2011/03/23/1991100.html // Item內容重複研究
http://blog.csdn.net/panda1234lee/article/details/8256332 // satic class 研究
http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2012/1025/479.html
http://hilary3113.iteye.com/blog/1019824
http://developer.android.com/intl/zh-tw/reference/android/widget/AbsListView.OnScrollListener.html
http://mzh3344258.blog.51cto.com/1823534/889879
http://kohoh1992.github.io/PerformanceTipsForAndroidListView/
http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/1021/1814.html
http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2012/1106/517.html
http://blog.sina.com.cn/s/blog_4b93170a0102e1md.html
# AsyncTask
http://developer.android.com/intl/zh-tw/reference/android/os/AsyncTask.html
http://developer.android.com/intl/zh-tw/guide/components/processes-and-threads.html#Threads
http://oldgrayduck.blogspot.tw/2013/01/androidasynctask-thread.html
http://imax-live.blogspot.tw/2013/03/asynctask.html
http://blog.tonycube.com/2011/08/asynctask.html
http://blog.csdn.net/guolin_blog/article/details/11711405
http://andcooker.blogspot.tw/2012/08/android-asynctask.html
http://stackoverflow.com/questions/9671546/asynctask-android-example
http://registerboy.pixnet.net/blog/post/30555349
http://blog.kenyang.net/2010/09/android-asynctask-sample.html
# HttpURLConnection
http://developer.android.com/intl/zh-tw/reference/java/net/HttpURLConnection.html
http://android-developers.blogspot.tw/2011/09/androids-http-clients.html
http://blog.csdn.net/redoffice/article/details/7552137
http://wangzhaoli.blog.51cto.com/7607113/1288000
http://pp-nb-sw.blogspot.tw/2013/10/android-httpurlconnection-post-server.html
http://lzyblog.com/2014/09/18/HttpClient%E5%92%8CHttpURLConnection%E7%9A%84%E4%BD%BF%E7%94%A8%E5%92%8C%E5%8C%BA%E5%88%AB-%E4%B8%8B/
http://www.eoeandroid.com/thread-543421-1-1.html
http://tieba.baidu.com/p/3209559567
http://www.jycoder.com/android%E7%BD%91%E7%BB%9C%E7%BC%96%E7%A8%8B-httpurlconnection-httpclient-asynctask/
http://my.oschina.net/u/593225/blog/395370
http://cw1057.blogspot.tw/2011/05/android-httpurlconnection-json.html
# ImageView , Bitmap
/* 由於ListView有Item Layout重用的特性,我們可以在getView的時候把上一次的資料清除(Free the memory) */
/* 在網路順暢時可馬上把上一次佔用的記憶體釋放,在網路不順暢時以兩個Item的postition距離判斷是否要釋放記憶體 */
/* 暫時假設使用者的網路都是順暢的 */
https://www.google.com.tw/search?q=imageview+recycle
http://stackoverflow.com/questions/7009086/recycle-imageviews-bitmap
http://stackoverflow.com/questions/2471935/how-to-load-an-imageview-by-url-in-android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment