Android Tips - 專業填坑手冊
Android-Tips
學習 Android 至今,大大小小的坑沒少踩,慶幸的是,在強大的搜索引擎與無私奉獻的人們的幫助下,我遇到的坑都順利地被填平了。
為了便于日后遇到同樣的問題時,能免于再次搜索帶來的麻煩,我養成了收藏書簽的習慣,隨著書簽(Tips)的日積月累,我想,是時候該有這個項目了。
如果你是個 Android 新人,那么我希望這份列表,可以成為你踩到坑時的不完全手冊。
當然,這份列表一定會有遺漏,如果不幸,這里沒有你所踩到的坑,或者對于某個問題你有更好的 Tips,歡迎分享,讓我們一起來維護這個項目!你可以通過 Commit 的形式,當然也歡迎Star與Fork:)
由于本項目面向的群體為初學者,所以列表的知識點以初級為主,資源大多數為中文,如遇到少數無法訪問的情況,請自備梯子。
</blockquote>A
ADB
- Android ADB常用命令
- Android開發調試工具ADB的使用
- Installing ADB on Windows 7
- Adb connection Error:遠程主機強迫關閉了一個現有的連接
- Android通過Wifi來調試你的應用
</ol>Adapter
- Android簡便通用的SimpleBaseAdapter
- Android數據適配器(Adapter)優化:使用高效的ViewHolder
- Android 快速開發系列 打造萬能的ListView GridView 適配器
</ol>AIDL
- android進程間通信:使用AIDL
- Android AIDL使用詳解
- android跨進程通信(IPC): 使用AIDL
- Android中的跨進程通信的實現(一)——遠程調用過程和aidl
- Android Studio下如何配置AIDL文件
</ol>Android-Async-Http
- 快速Android開發系列網絡篇之Android-Async-Http
- android-async-http框架庫使用基礎
</ol>AQuery
- AQuery Image Loading
- Android之使用Android-query框架進行開發(一)
</ol>AsyncTask
- Android AsyncTask完全解析,帶你從源碼的角度徹底理解
- Android中AsyncTask的簡單用法
- Android開發者:你真的會用AsyncTask嗎?
</ol>B
Bitmap
- 圖片處理
- Android中自定義布局中加載圖片BitmapFactory.options詳解
- Android學習筆記進階16之BitmapShader
- Android 優化Bitmap避免OutOfMemoryError
- Android 異步加載圖片,使用LruCache和SD卡或手機緩存,效果非常的流暢
</ol>Broadcast
- 【Android】BroadCast廣播機制應用與實例
- 玩轉Android---組件篇---Broadcast Receiver(廣播接收器)
- 【Android】動態注冊廣播接收器
</ol>C
Callback
- How to Define Callbacks in Android?
- 一個經典例子讓你徹徹底底理解java回調機制
- Java設計模式-回調函數和觀察者模式
</ol>CardView
- Android5.0新控件CardView的介紹和使用
- Android CardView Example
- Android CardView Widget – Add Cards to a List using RecyclerView
</ol>Check
- How to check visibility of software keyboard in Android?
</ol>Configuration Change
- Android Configuration change引發的問題及解決方法
- Handling Runtime Changes
</ol>Context
- android學習—— context 和 getApplicationContext()
- Android中Context詳解 ---- 你所不知道的Context
</ol>CoordinatorLayout
- CoordinatorLayout與滾動的處理
- Handling Scrolls with CoordinatorLayout
</ol>D
Download
- Download a file with Android, and showing the progress in a ProgressDialog
- Java 服務器端支持斷點續傳的源代碼【支持快車、迅雷】
- Java 多線程斷點下載文件
- Android 后臺Service下載 (一)
- Android網絡編程 --斷點續傳下載文件
- android 多線程斷點續傳下載 一
</ol>E
EventBus
- EventBus使用詳解(一)——初步使用EventBus
- 快速Android開發系列通信篇之EventBus
</ol>F
Fragment - 碎片
- Android Fragment完全解析,關于碎片你所需知道的一切
- Android Fragment 你應該知道的一切
- Android系列之Fragment(二)----Fragment的生命周期和返回棧
- 處女男學Android(九)---Fragment進階篇之Fragment生命周期和回退棧
- Fragment筆記整理
- Android實戰技巧:Fragment的那些坑
- android Fragments詳解四:管理fragment
- Android Fragment 嵌套使用(Nested Fragments)
</ol>G
Glide
- Glide 一個專注于平滑滾動的圖片加載和緩存庫
- Google推薦的圖片加載庫Glide介紹
</ol>Gradle
- 用Gradle 構建你的android程序
- Android Studio系列教程四--Gradle基礎
- 使用Gradle構建Android項目
- 使用Gradle管理你的Android Studio工程
- 靈活強大的構建系統Gradle
- Gradle Android Could not find method testPackage()
- Android Studio 1.0 Gradle Error with getConfiguration()
</ol>greenDao
- ORM 框架之 greenDAO 使用心得
- SQLite數據庫框架ORMLite與GreenDao的簡單比較
- 在AndoridStudio中引入GreenDAO
</ol>GridView
- Android入門第八篇之GridView(九宮圖)
- 用Volley讓GridView加載網絡圖片
</ol>I
ImageView
- [Android] ImageView.ScaleType設置圖解
</ol>Immersive Full-Screen Mode
- Using Immersive Full-Screen Mode
- 全屏沉浸式應用
</ol>Intent
- Android系列教程之十:Intents and Intent Filters(一)
- Android高手進階教程(十七)之---Android中Intent傳遞對象的兩種方法(Serializable,Parcelable)!
- Intent filter 關于Action、Category屬性詳解---附帶實例源碼
- startActivityForResult用法詳解
- Android 開發筆記——通過 Intent 傳遞類對象
</ol>J
Json
- Android系列---JSON數據解析
- android json解析及簡單例子
- Android開源庫--Gson谷歌官方json解析庫
</ol>L
ListFragment
- Android App組件之ListFragment -- 說明和示例
- Android 使用ListFragment顯示列表
</ol>ListView
- 在Activity中響應ListView內部按鈕的點擊事件
</ol>M
MessageDigest
- Java利用MessageDigest獲取字符串或文件MD5詳解
- 類 MessageDigest
</ol>Material Design
- Google Material Design: Everything You Need to Know
- An exploration in Material Design
- 謝谷歌大神傳我動畫設計30年功力
- Codelab for Android Design Support Library used in I/O Rewind Bangkok session
</ol>N
- Android——Notifications筆記
- Android學習之Notification的簡單使用
</ol>O
ORMLite
- Android 快速開發系列 ORMLite 框架最佳實踐
- Android ORM框架之 ORMLite
</ol>P
Parcelable
- Android中Parcelable接口用法
</ol>PackageManager
- Android中獲取應用程序(包)的信息-----PackageManager的使用(一)
- 【Android】獲取手機中已安裝apk文件信息(PackageInfo、ResolveInfo)(應用圖片、應用名、包名等)
- Android獲取已安裝應用信息(圖標,名稱,版本號,包)
- 關于android 如何安裝 assets文件下的apk
</ol>Palette
- Extracting Colors to a Palette with Android Lollipop
- Android Lollipop 新特性 - Palette
</ol>Preference
- PreferenceActivity(首選項設置頁)
- Android的設置界面及Preference使用
</ol>R
Reference
- Java的引用StrongReference、 SoftReference、 WeakReference 、PhantomReference
- Java 7之基礎 - 強引用、弱引用、軟引用、虛引用
</ol>RecyclerView
- RecyclerView使用詳解(一)
- Android RecyclerView 使用完全解析 體驗藝術般的控件
- A Guide to Android RecyclerView and CardView
- Android-RecyclerView-Item點擊事件設置
- Why doesn't RecyclerView have onItemClickListener()? And how RecyclerView is different from Listview?
</ol>RandomAccessFile
- Java RandomAccessFile用法
</ol>S
Serializable
- Android系統中Parcelable和Serializable的區別
- Android: Difference between Parcelable and Serializable?
</ol>Service
- Android Service完全解析,關于服務你所需知道的一切(上)
- ExecutorService 的理解與使用
- Android基本功:IntentService的使用
</ol>SharedPreference
- Android SharedPreferences使用以及原理詳解
- Google為何這樣設計OnSharedPreferenceChangeListener
</ol>SparseArray
- Android應用性能優化之使用SparseArray替代HashMap
- Android SparseArray
- Android性能優化之使用SparseArray代替HashMap
</ol>SQLite
- Android中SQLite應用詳解
- ANDROID開發之SQLite詳解
- 使用嵌入式關系型SQLite數據庫存儲數據
</ol>Support Library
- Android Support兼容包詳解
</ol>SwipeRefreshLayout
- Android SwipeRefreshLayout
</ol>T
Textview
- Remove underline from links in TextView
</ol>Thread
- ThreadPoolExecutor運轉機制詳解
- ThreadPoolExecutor使用和思考(上)-線程池大小設置與BlockingQueue的三種實現區別
- Java并發編程:Callable、Future和FutureTask
- Java 7之多線程線程池 - Callable和Future
- Java 7之多線程線程池 - 線程池原理(1)
- Android線程間交互(Java synchronized & Android Handler)
- Android--多線程之Handler
- Java(Android)中線程池的使用
- Java(Android)線程池
</ol>V
ViewPager
- ViewPager + Fragment實現滑動標簽頁
- 【移動開發】Android中Fragment+ViewPager的配合使用
</ol>View
- Android LayoutInflater原理分析,帶你一步步深入了解View(一)
- Android中View繪制流程以及invalidate()等相關方法分析
- Android中measure過程、WRAP_CONTENT詳解以及xml布局文件解析流程淺析(上)
- Android開發:LayoutParams的用法
</ol>ViewFlipper
- Android ViewFlipper的使用分析
- Android 滑動效果入門篇(一)—— ViewFlipper
</ol>VideoView
- Android--使用VideoView播放視頻
- Playing a video in VideoView in Android
</ol>Volley
- Android Volley完全解析(一),初識Volley的基本用法
- Android庫Volley的使用介紹
</ol>W
WebView
- Java 與 JavaScript 如何進行交互
- android與javascript交互調用
- Android與js交互實例
- Android中Java和JavaScript交互
- 頂部帶進度條的Webview
- Android WebView播放視頻問題
- 理解WebKit和Chromium: Android 4.4 上的Chromium WebView
- 在WebView中如何讓JS與Java安全地互相調用
- Android WebView的Js對象注入漏洞解決方案
</ol>其他
自定義控件
- Android 自定義View及其在布局文件中的使用示例
- 自定義控件進階:declare-styleable重用attr
- android 自定義控件 使用declare-styleable進行配置屬性(源碼角度)
- Android使用AttributeSet自定義控件的方法
- 從源碼中淺析Android中如何利用attrs和styles定義控件
- Android SDK: Creating Custom Views
- Creating custom and compound Views in Android - Tutorial
- Tutorial: Enhancing Android UI with Custom Views
- Android 自定義View (一)
</ol>
Android Studio
- Android Studio導入項目
- Android Studio 簡單設置
- Android Studio 簡介及導入 jar 包和第三方開源庫方法
- Android Studio使用技巧系列教程(一)
- Android Studio中如何使用Git和Github來管理項目
</ol>
Code Style
- Java編程規范
- Android 命名規范 (提高代碼可以讀性)
- Code Style Guidelines for Contributors
</ol>
Git
- Pro Git
- GitHub秘籍
- git - 簡易指南
- 基于Github參與開源項目指南
</ol>
Hexo
- 如何搭建一個獨立博客——簡明Github Pages與Hexo教程
- Mac下程序員博客之 Hexo + GitHub Pages + GitCafe Pages + DNSPod
- 動動手指,NexT主題與Hexo更搭哦(基礎篇)
- hexo博客搭建時遇到的一些問題
</ol>
Smali
- Smali--Dalvik虛擬機指令語言-->【android_smali語法學習一】
- apk的包名修改
- 為Sublime Text安裝smali代碼語法高亮插件
</ol>
- THE DEX 64K LIMIT IS NOT A PROBLEM ANYMORE, ALMOST
- Android 4.4從圖庫選擇圖片,獲取圖片路徑并裁剪
- 淺析android應用增量升級
- Android四大基本組件介紹與生命周期
- Android代碼優化——使用Android lint工具
- Android 插件化 動態升級
- 兩分鐘徹底讓你明白Android中onInterceptTouchEvent與onTouchEvent(圖文)!
- MotionEvent事件在onInterceptTouchEvent()、onTouchEvent()中的傳遞順序
- Java String StringBuilder StringBuffer
- tools:context=".MainActivity的作用
- MVC,MVP 和 MVVM 的圖示
- 關于APK瘦身值得分享的一些經驗
- Java開發中的23種設計模式詳解
- 性能優化之數據庫優化
</ol> 來自:https://github.com/tangqi92/Android-Tips
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!