随笔分类 - Android.Developers
摘要:Reference : http://blog.csdn.net/aliaooooo/article/details/236061791. Handling Runtime Changes Some device configurations can change during runtime (...
阅读全文
摘要:1. Accessing Resources Once you provide a resource in your application, you can apply it by referencing its resource ID. All resource IDs are defined...
阅读全文
摘要:1. Providing Resources Once you externalize your application resources, you can access them using resource IDs that are generated in your project's R...
阅读全文
摘要:1. Overview You should always externalize resources such as images and strings from your application code, so that you can maintain them independentl...
阅读全文
摘要:1. Processes and Threads When an application component starts and the application does not have any other components running, the Android system star...
阅读全文
摘要:The Android Home screen available on most Android devices allows the user to embed app widgets for quick access to content.
阅读全文
摘要:1. App Widgets App Widgets are miniature application views that can be embedded in other applications (such as the Home screen) and receive periodic ...
阅读全文
摘要:1. Storage Access Framework Android 4.4 (API level 19) introduces the Storage Access Framework (SAF). The SAF makes it simple for users to browse and...
阅读全文
摘要:1. Calendar Provider The Calendar Provider is a repository for a user's calendar events. The Calendar Provider API allows you to perform query, inser...
阅读全文
摘要:A content provider manages access to a central repository of data. You implement a provider as one or more classes in an Android application, along wi...
阅读全文
摘要:1. Content Providers A content provider manages access to a central repository of data. A provider is part of an Android application, which often pr...
阅读全文
摘要:AIDL (Android Interface Definition Language) is similar to other IDLs you might have worked with.
阅读全文
摘要:1. Bound Services A bound service is the server in a client-server interface. A bound service allows components (such as activities) to bind to the s...
阅读全文
摘要:1.Services A Service is an application component that can perform long-running operations in the background and does not provide a user interface. A...
阅读全文
摘要:1. Tasks and Back Stack An application usually contains multiple activities. Each activity should be designed around a specific kind of action the us...
阅读全文
摘要:1. Loaders loaders make it easy to asynchronously load data in an activity or fragment. Loaders have these characteristics: They are available to ...
阅读全文
摘要:1. Fragments A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity...
阅读全文
摘要:1. Activities An Activity is an application component that provides a screen with which users can interact in order to do something, such as dial the...
阅读全文
摘要:1. Intent and Intent Filters An Intent is a messaging object you can use to request an action from another app component. Although intents facilitate...
阅读全文
摘要:1. App Fundamentals2. Device Compatibility3. System Permissions1. App Fundamentals 1.1 App Components Activities An activity represents a sin...
阅读全文