读博文学Android
??
? ? ? 學習Android的過程中得到來自互聯網上樂于分享和奉獻的人們的幫助,這里收集了一些Android相關的知識點的介紹,研究,實踐的博文地址。每篇文章將帶給學習者更多的幫助,有些地址需要FQ的幫助。
? ? ?基于Android API 22 Platform ?官方手冊:https://developer.android.com/develop/index.html
1.1. android.app.Application
? ? 該類是Android系統為每個Android應用啟動時創建的全局單例對象,其生命周期伴隨整個應用的生命周期
? ?參見:
? ?Application作用: ?http://blog.csdn.net/lieren666/article/details/7598288
? ?ActivityLifecycleCallbacks:?http://blog.csdn.net/tongcpp/article/details/40344871
1.2. android.app.Notification
? ? android.app.Notification.Builder
? ? android.app.NotificationManager
? ? 通過Notification.Builder類來個性化構造Notification對象,使用NotificationManager管理Notification對象
? ? 參見:
? ? Android Notification的使用: ?http://blog.csdn.net/feng88724/article/details/6259071
? ? Android Notificatoin的多種法:http://blog.csdn.net/loongggdroid/article/details/17616509
1.3. android.app.PendingIntent
? ? android.content.Intent
? ? Android應用開發中極其重要的兩個類,它們是連接各個組件的橋梁。
? ?參見:
? ?Android doc Intent: ?http://developer.android.com/reference/android/content/Intent.html
? ?What is Intent in Android: ? ?http://stackoverflow.com/questions/6578051/what-is-intent-in-android
? ?Intent對象在Android開發中的應用:?http://www.ibm.com/developerworks/cn/opensource/os-cn-android-intent/index.html
? ?what is an android PendingIntent :?http://stackoverflow.com/questions/2808796/what-is-an-android-pendingintent
? ?
1.4. android.app.AlarmManager
? ? android.app.job.JobSheduler?
? ? AlarmManager提供了訪問系統鬧鐘(也稱全局定時器)服務的功能,允許程序在將來某個時間點運行。JobShedule android提供的在應用程序進程中進行作業調度的框架 ?
? ? 參見:
? ? Android AlarmManager實現不間斷輪訓服務:?
http://blog.csdn.net/ryantang03/article/details/9317499
? ??Scheduling of tasks in Android with the AlarmManager and the JobScheduler?: ??http://www.vogella.com/tutorials/AndroidTaskScheduling/article.html
? ? Android AlarmManager :?http://www.learn-android-easily.com/2013/05/android-alarm-manager_31.html
?
1.5 android.app.Activity
? ? ?Activity是Android四大組件之一,Android UI界面的代表,主線程運行,參與用戶交互?
? ? 參見
? ? 明白Activity的生命周期:http://blog.csdn.net/android_tutor/article/details/5772285
? ? Android Application and activities LifeCycle :?http://www.vogella.com/tutorials/AndroidLifeCycle/article.html
? ? 詳解Android Activity組件:https://www.ibm.com/developerworks/cn/opensource/os-cn-android-actvt/
? ? 深入理解Android中Activity launchMode:http://droidyue.com/blog/2015/08/16/dive-into-android-activity-launchmode/
??
1.6 android.app.Service
? ? ? ? android.app.IntentService
? ? ? ?Service是Android四大組件之一,Android運行組件的代表,主線程運行,可前臺和后臺運行? ??
? ? 參見
? ? Android Service全面總結:?http://www.cnblogs.com/newcj/archive/2011/05/30/2061370.html
? ? Android Service :?http://www.vogella.com/tutorials/AndroidServices/article.html
? ? Android Service解析,關于服務你所需要知道的一切(上):http://blog.csdn.net/guolin_blog/article/details/11952435
? ? Android Service解析,關于服務你所需要知道的一切(下):http://blog.csdn.net/guolin_blog/article/details/9797169
?
2.1 android.os.Parcelable
? ? ? ?android.os.Parcel
? ? ? ?Android 平臺提供的對象序列化機制
? ? ?參見
? ? ?Parcelable vs Serializable : ?http://www.developerphil.com/parcelable-vs-serializable/
? ? ?Parcelable 接口使用:http://www.cnblogs.com/hpboy/archive/2012/07/12/2587797.html
? ? ?Parcelable與Serializable的區別:http://www.blogjava.net/lincode/archive/2011/09/16/358805.html
? ? ?Android Parcelable code generator for Google Android :?http://parceler.org/
? ??
2.2 android.os.Bundle
? ? ? Bunndle是一個Key-Value映射對象,Key為String類型,Value為各種Parcelable類型的對象和基本類型。
? ? ? 參見
? ? ? Android Bundle詳解:http://www.cnblogs.com/skywang12345/archive/2013/03/06/3165555.html
?2.3 android.os.Handler
? ? ? ?android.os.Looper
? ? ? ?android.os.HandlerThread
? ? ? ?android.os.Message
? ? ? ?android.os.MessageQueue
? ? ? ?Handler,Looper, Message,MessageQueue 一起實現了Andriod的消息處理機制,可以發送消息(消息可以只攜帶數據,也可以通過回調機制攜帶代碼塊Runable對象的run方法),消息會在某時刻或者某時間間隔來處理。
? ? ?參見
? ? ?Android Handler機制:http://blog.csdn.net/stonecao/article/details/6417364
? ? ?Android Handler用法總結:http://www.cnblogs.com/devinzhang/archive/2011/12/30/2306980.html
? ? ?Android消息處理機制一 Handler與Message :?http://blog.csdn.net/ahuier/article/details/17012005
? ? ?Android消息處理機制二 Handler中obtain()源碼分析:http://blog.csdn.net/ahuier/article/details/17012923
? ? ?Android消息處理機制三 Handler中sendMessage()源碼分析:http://blog.csdn.net/ahuier/article/details/17013647
? ? ?Android異步處理機制完全解析:http://blog.csdn.net/guolin_blog/article/details/9991569? ??
? ? ?Painless Threading:http://android-developers.blogspot.kr/2009/05/painless-threading.html
? ? ?Android Message Transfer Mechanism :?http://www.codes9.com/mobile-development/android/handler-looper-source-code-analysis-android-message-transfer-mechanism/
? ? ?
? 2.4 android.os.CountDownTimer
? ? ? Android提供的一個倒計時類,可以方便在UI線程中做倒計時業務場景處理
? ? ?參見
? ? ?Toast 長時間顯示:http://aiilive.blog.51cto.com/1925756/1717222
? ? ?CountDownTimer用法詳解:http://blog.csdn.net/linzhiqi07/article/details/7799548
??
?2.5 android.os.AsyncTask
? ? ?Android提供的異步任務執行類,后臺線程進行操作,結果發布至UI線程
? ? 參見
? ? Android AsyncTask完全解析:http://blog.csdn.net/guolin_blog/article/details/11711405
? ? Android中糟糕的AsyncTask:
? ? (中譯)?http://droidyue.com/blog/2014/11/08/bad-smell-of-asynctask-in-android/
? ? (英原)?http://bon-app-etit.blogspot.hk/2013/04/the-dark-side-of-asynctask.html
? ? Android開發者:真的會用AsyncTask嗎?http://code.oneapm.com/android/2015/06/02/android1/
? ?
? 3.1 android.content.ContentProvider
? ? ? ? android.content.ContentResolver
? ? ? ? android.database.ContentObservable
? ? ? ? android.database.ContentObserver
? ? ? ? ContentProvider是Android四大組件之一,跨進程數據訪問的統一接口標準。
? ? ?參見:
? ? ?ContentProvider組件開發詳解:http://aiilive.blog.51cto.com/1925756/1710151
? ? ?解讀ContentProvider(1):http://blog.csdn.net/wangyongge85/article/details/45849515
? ? ?解讀ContentProvider(2):http://blog.csdn.net/wangyongge85/article/details/47057369
? ? ?Android應用程序組件Content Provider的共享數據更新通知機制分析:http://blog.csdn.net/Luoshengyang/article/details/6985171
? ? Android應用組件ContentProvider簡要介紹和學習計劃:http://shyluo.blog.51cto.com/5725845/966928
?
?3.2 android.database.sqlite.SQLiteOpenHelper
? ? ? ? android.database.sqlite.SQLiteDatabase
? ? ? ? Android內在SQLite數據庫管理,訪問相關類
? ? 參見
? ? Android SQLite Database and Content Provider :http://www.vogella.com/tutorials/AndroidSQLite/article.html
? ? SQLite website:http://sqlite.org/index.html
? ? Android開發中使用SQLite數據庫:https://www.ibm.com/developerworks/cn/opensource/os-cn-sqlite/
? ? Android Data Storage:https://developer.android.com/guide/topics/data/data-storage.html
?
?3.3 android.content.BroadcastReceiver
? ? ? ? BroadcastReceiver是Android四大組件之一,廣播接收
? ? 參見
? ? Processing Ordered Broadcats :?http://android-developers.blogspot.kr/2011/01/processing-ordered-broadcasts.html
? ? Android BroadcatReceiver:http://www.cnblogs.com/plokmju/p/android_BroadcastReceiver.html
? ? BroadcatReceiver生命周期:http://my.oschina.net/gavinjin/blog/40992
? ??
? ?4.1?android.view.View
? ? ? ? ?android.view.ViewGroup
? ? ? ? 參見
? ? ? ?Android應用層View繪制流程與源碼分析:http://blog.csdn.net/yanbober/article/details/46128379
? ? ? ?深入理解Android View的生命周期:http://blog.csdn.net/sun_star1chen/article/details/44626433
? ? ? ?Implement ?your own android Layouts :?http://blog.tomgibara.com/post/1696552527/implement-your-own-android-layouts
? ? ? ?Understanding Android Views, View Groups and Layouts:http://www.techotopia.com/index.php/Understanding_Android_Views,_View_Groups_and_Layouts
? ? ? ?Android ViewGroup詳解:http://www.cnblogs.com/lqminn/archive/2013/01/23/2866543.html
? ? ? ?
? ?4.2 android.view.LayoutInflater
? ? ? ? ?android.view.MenuInflater? ?
? ? ? ? ?Android解析布局XML文件到對象的重要類。
? ? ? ? ?參見
? ? ? ? ?Android LayoutInflater使用: ?http://weizhulin.blog.51cto.com/1556324/311450
? ? ? ? ?Android MenuInflater使用:http://weizhulin.blog.51cto.com/1556324/311446
? ? ? ? ?Android應用setContentView與LayoutInflater加載解析機制源碼分析?:http://blog.csdn.net/yanbober/article/details/45970721?
? ? ? ? ?LayoutInflater.inflate詳解:http://www.kennethyo.me/post/android/layoutinflater.inflatexiang-jie
? ? ? ? ?
? ?4.3 android.graphics.Bitmap
? ? ? ? ?android.graphics.BitmapFactory
? ? ? ? ?Android位圖的重要類,BitmapFactory從各種來源構建Bitmap。 ? ? ? ? ?
?
? ? ? ? ?參見
? ? ? ? ?Displaying Bitmaps Efficiently :?http://developer.android.com/training/displaying-bitmaps/index.html
? ? ? ? ?Android Bitmap內存優化:http://blog.csdn.net/arui319/article/details/7953690
? ? ? ? ?Android內存管理及優化:http://www.jianshu.com/p/9546d21376ed
? ? ? ? ?Loading Large Bitmaps Efficiently:http://developer.android.com/training/displaying-bitmaps/load-bitmap.html
? ? ? ? ?Android內存優化之OOM:http://www.csdn.net/article/2015-09-18/2825737/1
? ? ? ? ?Android那些你所不知道的Bitmap詳解:http://blog.csdn.net/xiaanming/article/details/41084843
? ? ? ? ?BitmapFactory.Options詳解:http://www.cnblogs.com/Yang2/p/3584948.html
? ? ? ? ?高效加載Bitmap:http://kymjs.com/code/2014/12/05/02/
? PS:如果發現地址失效歡迎留言,以便更新更多博文。
總結
以上是生活随笔為你收集整理的读博文学Android的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CentOS6.5下用yum安装 git
- 下一篇: javaWEB学习之filter