Android__Context
生活随笔
收集整理的這篇文章主要介紹了
Android__Context
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Context字面意思上下文,位于framework package的android.content.Context中,
其實該類為LONG型,類似Win32中的Handle句柄,很多方法需要通過Context才能識別調用者的實例。
官方說明:
Interface to global information about an application environment.? This is an abstract class whose implementation is provided by the Android system.? It allows access to application-specific resources and classes, as well as up-calls for application-level operations such as launching activities, broadcasting and receiving intents, etc.
轉載于:https://www.cnblogs.com/YangBinChina/p/3198535.html
總結
以上是生活随笔為你收集整理的Android__Context的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 消息响应机制
- 下一篇: Android——例子:屏幕切换