读博文学Android
??
? ? ? 學(xué)習(xí)Android的過(guò)程中得到來(lái)自互聯(lián)網(wǎng)上樂(lè)于分享和奉獻(xiàn)的人們的幫助,這里收集了一些Android相關(guān)的知識(shí)點(diǎn)的介紹,研究,實(shí)踐的博文地址。每篇文章將帶給學(xué)習(xí)者更多的幫助,有些地址需要FQ的幫助。
? ? ?基于Android API 22 Platform ?官方手冊(cè):https://developer.android.com/develop/index.html
1.1. android.app.Application
? ? 該類(lèi)是Android系統(tǒng)為每個(gè)Android應(yīng)用啟動(dòng)時(shí)創(chuàng)建的全局單例對(duì)象,其生命周期伴隨整個(gè)應(yīng)用的生命周期
? ?參見(jiàn):
? ?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
? ? 通過(guò)Notification.Builder類(lèi)來(lái)個(gè)性化構(gòu)造Notification對(duì)象,使用NotificationManager管理Notification對(duì)象
? ? 參見(jiàn):
? ? 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應(yīng)用開(kāi)發(fā)中極其重要的兩個(gè)類(lèi),它們是連接各個(gè)組件的橋梁。
? ?參見(jiàn):
? ?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對(duì)象在Android開(kāi)發(fā)中的應(yīng)用:?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提供了訪問(wèn)系統(tǒng)鬧鐘(也稱(chēng)全局定時(shí)器)服務(wù)的功能,允許程序在將來(lái)某個(gè)時(shí)間點(diǎn)運(yùn)行。JobShedule android提供的在應(yīng)用程序進(jìn)程中進(jìn)行作業(yè)調(diào)度的框架 ?
? ? 參見(jiàn):
? ? Android AlarmManager實(shí)現(xiàn)不間斷輪訓(xùn)服務(wù):?
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界面的代表,主線程運(yùn)行,參與用戶交互?
? ? 參見(jiàn)
? ? 明白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運(yùn)行組件的代表,主線程運(yùn)行,可前臺(tái)和后臺(tái)運(yùn)行? ??
? ? 參見(jiàn)
? ? Android Service全面總結(jié):?http://www.cnblogs.com/newcj/archive/2011/05/30/2061370.html
? ? Android Service :?http://www.vogella.com/tutorials/AndroidServices/article.html
? ? Android Service解析,關(guān)于服務(wù)你所需要知道的一切(上):http://blog.csdn.net/guolin_blog/article/details/11952435
? ? Android Service解析,關(guān)于服務(wù)你所需要知道的一切(下):http://blog.csdn.net/guolin_blog/article/details/9797169
?
2.1 android.os.Parcelable
? ? ? ?android.os.Parcel
? ? ? ?Android 平臺(tái)提供的對(duì)象序列化機(jī)制
? ? ?參見(jiàn)
? ? ?Parcelable vs Serializable : ?http://www.developerphil.com/parcelable-vs-serializable/
? ? ?Parcelable 接口使用:http://www.cnblogs.com/hpboy/archive/2012/07/12/2587797.html
? ? ?Parcelable與Serializable的區(qū)別: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是一個(gè)Key-Value映射對(duì)象,Key為String類(lèi)型,Value為各種Parcelable類(lèi)型的對(duì)象和基本類(lèi)型。
? ? ? 參見(jiàn)
? ? ? 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 一起實(shí)現(xiàn)了Andriod的消息處理機(jī)制,可以發(fā)送消息(消息可以只攜帶數(shù)據(jù),也可以通過(guò)回調(diào)機(jī)制攜帶代碼塊Runable對(duì)象的run方法),消息會(huì)在某時(shí)刻或者某時(shí)間間隔來(lái)處理。
? ? ?參見(jiàn)
? ? ?Android Handler機(jī)制:http://blog.csdn.net/stonecao/article/details/6417364
? ? ?Android Handler用法總結(jié):http://www.cnblogs.com/devinzhang/archive/2011/12/30/2306980.html
? ? ?Android消息處理機(jī)制一 Handler與Message :?http://blog.csdn.net/ahuier/article/details/17012005
? ? ?Android消息處理機(jī)制二 Handler中obtain()源碼分析:http://blog.csdn.net/ahuier/article/details/17012923
? ? ?Android消息處理機(jī)制三 Handler中sendMessage()源碼分析:http://blog.csdn.net/ahuier/article/details/17013647
? ? ?Android異步處理機(jī)制完全解析: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提供的一個(gè)倒計(jì)時(shí)類(lèi),可以方便在UI線程中做倒計(jì)時(shí)業(yè)務(wù)場(chǎng)景處理
? ? ?參見(jiàn)
? ? ?Toast 長(zhǎng)時(shí)間顯示:http://aiilive.blog.51cto.com/1925756/1717222
? ? ?CountDownTimer用法詳解:http://blog.csdn.net/linzhiqi07/article/details/7799548
??
?2.5 android.os.AsyncTask
? ? ?Android提供的異步任務(wù)執(zhí)行類(lèi),后臺(tái)線程進(jìn)行操作,結(jié)果發(fā)布至UI線程
? ? 參見(jiàn)
? ? 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開(kāi)發(fā)者:真的會(huì)用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四大組件之一,跨進(jìn)程數(shù)據(jù)訪問(wèn)的統(tǒng)一接口標(biāo)準(zhǔn)。
? ? ?參見(jiàn):
? ? ?ContentProvider組件開(kāi)發(fā)詳解: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應(yīng)用程序組件Content Provider的共享數(shù)據(jù)更新通知機(jī)制分析:http://blog.csdn.net/Luoshengyang/article/details/6985171
? ? Android應(yīng)用組件ContentProvider簡(jiǎn)要介紹和學(xué)習(xí)計(jì)劃:http://shyluo.blog.51cto.com/5725845/966928
?
?3.2 android.database.sqlite.SQLiteOpenHelper
? ? ? ? android.database.sqlite.SQLiteDatabase
? ? ? ? Android內(nèi)在SQLite數(shù)據(jù)庫(kù)管理,訪問(wèn)相關(guān)類(lèi)
? ? 參見(jiàn)
? ? Android SQLite Database and Content Provider :http://www.vogella.com/tutorials/AndroidSQLite/article.html
? ? SQLite website:http://sqlite.org/index.html
? ? Android開(kāi)發(fā)中使用SQLite數(shù)據(jù)庫(kù):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四大組件之一,廣播接收
? ? 參見(jiàn)
? ? 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
? ? ? ? 參見(jiàn)
? ? ? ?Android應(yīng)用層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文件到對(duì)象的重要類(lèi)。
? ? ? ? ?參見(jiàn)
? ? ? ? ?Android LayoutInflater使用: ?http://weizhulin.blog.51cto.com/1556324/311450
? ? ? ? ?Android MenuInflater使用:http://weizhulin.blog.51cto.com/1556324/311446
? ? ? ? ?Android應(yīng)用setContentView與LayoutInflater加載解析機(jī)制源碼分析?: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位圖的重要類(lèi),BitmapFactory從各種來(lái)源構(gòu)建Bitmap。 ? ? ? ? ?
?
? ? ? ? ?參見(jiàn)
? ? ? ? ?Displaying Bitmaps Efficiently :?http://developer.android.com/training/displaying-bitmaps/index.html
? ? ? ? ?Android Bitmap內(nèi)存優(yōu)化:http://blog.csdn.net/arui319/article/details/7953690
? ? ? ? ?Android內(nèi)存管理及優(yōu)化:http://www.jianshu.com/p/9546d21376ed
? ? ? ? ?Loading Large Bitmaps Efficiently:http://developer.android.com/training/displaying-bitmaps/load-bitmap.html
? ? ? ? ?Android內(nèi)存優(yōu)化之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:如果發(fā)現(xiàn)地址失效歡迎留言,以便更新更多博文。
總結(jié)
以上是生活随笔為你收集整理的读博文学Android的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: CentOS6.5下用yum安装 git
- 下一篇: Android应用Activity、Di