10 2014 档案

摘要:1. Processes and Threads When an application component starts and the application does not have any other components running, the Android system star... 阅读全文
posted @ 2014-10-31 20:11 Mirrorhanman 阅读(185) 评论(0) 推荐(0)
摘要:The Android Home screen available on most Android devices allows the user to embed app widgets for quick access to content. 阅读全文
posted @ 2014-10-31 19:21 Mirrorhanman 阅读(175) 评论(0) 推荐(0)
摘要:1. App Widgets App Widgets are miniature application views that can be embedded in other applications (such as the Home screen) and receive periodic ... 阅读全文
posted @ 2014-10-31 19:20 Mirrorhanman 阅读(171) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2014-10-31 19:00 Mirrorhanman 阅读(239) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2014-10-29 21:54 Mirrorhanman 阅读(230) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2014-10-29 21:16 Mirrorhanman 阅读(115) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2014-10-29 15:38 Mirrorhanman 阅读(149) 评论(0) 推荐(0)
摘要:AIDL (Android Interface Definition Language) is similar to other IDLs you might have worked with. 阅读全文
posted @ 2014-10-29 13:25 Mirrorhanman 阅读(101) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2014-10-27 10:49 Mirrorhanman 阅读(142) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2014-10-24 22:09 Mirrorhanman 阅读(248) 评论(0) 推荐(0)
摘要:1. Tasks and Back Stack An application usually contains multiple activities. Each activity should be designed around a specific kind of action the us... 阅读全文
posted @ 2014-10-24 13:30 Mirrorhanman 阅读(167) 评论(0) 推荐(0)
摘要:1. Loaders loaders make it easy to asynchronously load data in an activity or fragment. Loaders have these characteristics: They are available to ... 阅读全文
posted @ 2014-10-24 10:47 Mirrorhanman 阅读(295) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2014-10-23 20:44 Mirrorhanman 阅读(219) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2014-10-23 18:59 Mirrorhanman 阅读(291) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2014-10-23 16:01 Mirrorhanman 阅读(291) 评论(0) 推荐(0)
摘要:1. App Fundamentals2. Device Compatibility3. System Permissions1. App Fundamentals 1.1 App Components Activities An activity represents a sin... 阅读全文
posted @ 2014-10-23 14:09 Mirrorhanman 阅读(376) 评论(0) 推荐(0)
摘要:1. 什么是Fragment2. 什么时候使用Fragment3. Fragment程序的编写方法4. Fragment的生命周期5. Fragment与Activity之间的交互6. Fragment的回调机制1. 什么是Fragment 同时封装布局和代码的组件2. 什么时候使用Fragmen... 阅读全文
posted @ 2014-10-23 11:12 Mirrorhanman 阅读(155) 评论(0) 推荐(0)
摘要:1. 定制控件的方式2. 带标签的文本编辑框(不带命名空间)3. 带图标的文本框(带命名空间)4. 控件属性验证1. 定制控件的方式 继承其他控件类 Ctrl + 左键 --->EditText 组合方式. 当前控件类从容器类继承, 并将若干个控件添加到当前容器中 绘制控件. 也... 阅读全文
posted @ 2014-10-23 10:46 Mirrorhanman 阅读(153) 评论(0) 推荐(0)
摘要:1. 霓虹灯效果2. 实现屏幕四角和居中摆放控件3. 更复杂的线性布局4. 实现Panel效果1. 霓虹灯效果2. 实现屏幕四角和居中摆放控件 1 6 7 13 19 25 31 36 37 38 3. 更复杂的线性布局4. 实现Panel效果 阅读全文
posted @ 2014-10-22 20:33 Mirrorhanman 阅读(163) 评论(0) 推荐(0)
摘要:1. 学习源代码的目的2. 如何下载源代码3. 在Eclipse中跟踪源代码4. Android源代码的结构1. 学习源代码的目的 理解 Android API 查找 API 高级应用开发(ROM定制)2. 如何下载源代码3. 在Eclipse中跟踪源代码 Ctrl + 鼠标左键 ---> ... 阅读全文
posted @ 2014-10-22 17:19 Mirrorhanman 阅读(143) 评论(0) 推荐(0)
摘要:1 11 12 18 24 32 33 1 package com.example.imageview; 2 3 import java.io.ByteArrayOutputStream; 4 import java.io.File; 5 im... 阅读全文
posted @ 2014-10-20 20:36 Mirrorhanman 阅读(282) 评论(0) 推荐(0)
摘要:实现点击Button选择文件, 在TextView上显示Uri 1 10 11 16 22 23 1 package com.example.filetest; 2 3 import android.app.Activity; 4 import android.content.I... 阅读全文
posted @ 2014-10-17 12:59 Mirrorhanman 阅读(3738) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-10-10 16:39 Mirrorhanman 阅读(152) 评论(0) 推荐(0)
摘要:1. Classes, Superclasses, and Subclasses2. Objects: The Cosmic Superclass3. Generic Array Lists4. Objects wrappers and Autoboxing5. Methods with a Var... 阅读全文
posted @ 2014-10-10 12:01 Mirrorhanman 阅读(226) 评论(0) 推荐(0)