使用组件构建Android应用程序
2013-06-27 15:14
573 查看
原文链接:http://android.eoe.cn/topic/android_sdk
通过一组可重用的组件,Android的应用程序框架使您可以创建功能丰富, 充满创新的应用程序,本节将介绍Android应用是如何工作的, 以及教您如何使用组件来构建Android应用程序。
这节课将介绍每个Activty实例含有的重要的生命周期回调方法,使用它们,你可以使你的activty做用户希望activty做的事情。同时,掌握了这些回调方法,当你的activty不需要他们的时候,你可以使他们尽量少的或者不耗费系统资源。
这节课向您介绍怎样使用Fragment来创建一个动态的用户交互界面,怎样优化您的应用,是您的应用支持不同大小的屏幕,这些知识支持android1.6 版本以上的系统
这节课介绍一些使您在使用 Intent Api 和ActionProvider 的应用程序之间可以发送和接受Content的通用方法
这个类包括一些常见的方式,您可以发送和接收使用意向API和ActionProvider的对象的应用程序之间的内容。
* In this post, I’ll show how to use DialogFragments with the v4 support library (for backward compatibility on pre-Honeycomb devices) to show a simple edit dialog and return a result to the calling Activity using an interface. 在本文,我将向您展示怎么通过V4支持库使用DialogFragments(兼容Android 3.0之前的版本)来显示一个简单的编辑对话框并通过一个接口返回结果给之前调用他的Activity.
Fragments For All-通用的Fragments
* Today we’ve released a static library that exposes the same Fragments API (as well as the new LoaderManager and a few other classes) so that applications compatible with Android 1.6 or later can use fragments to create tablet-compatible user interfaces. 今天我们发布了一个静态库,这个库提供了和3.0版本相同的Fragments API(也包括新的LoaderManager和一些其他的类),通过他们,Android 1.6或更高版本可以运行使用fragments 创建的含有 平板级界面的应用.
Multithreading for Performance-多线程展示
* A good practice in creating responsive applications is to make sure your main UI thread does the minimum amount of work. Any potentially long task that may hang your application should be handled in a different thread. 一个好的交换应用需要确保您的主UI线程做做少的工作.然后潜在的可能是应用挂起的耗时任务应该在其他线程中处理
应用程序组件
Android's application framework lets you create extremely rich and innovative apps using a set of reusable components. This section explains how Android apps work and how you use components to build them.通过一组可重用的组件,Android的应用程序框架使您可以创建功能丰富, 充满创新的应用程序,本节将介绍Android应用是如何工作的, 以及教您如何使用组件来构建Android应用程序。
训练
管理Activity的生命周期
This class explains important lifecycle callback methods that each Activity instance receives and how you can use them so your activity does what the user expects and does not consume system resources when your activity doesn't need them.这节课将介绍每个Activty实例含有的重要的生命周期回调方法,使用它们,你可以使你的activty做用户希望activty做的事情。同时,掌握了这些回调方法,当你的activty不需要他们的时候,你可以使他们尽量少的或者不耗费系统资源。
Building a Dynamic UI with Fragments-使用Fragment创建一个动态的UI
This class shows you how to create a dynamic user experience with fragments and optimize your app's user experience for devices with different screen sizes, all while continuing to support devices running versions as old as Android 1.6.这节课向您介绍怎样使用Fragment来创建一个动态的用户交互界面,怎样优化您的应用,是您的应用支持不同大小的屏幕,这些知识支持android1.6 版本以上的系统
Content Provider
This class covers some common ways you can send and receive content between applications using Intent APIs and the ActionProvider object.这节课介绍一些使您在使用 Intent Api 和ActionProvider 的应用程序之间可以发送和接受Content的通用方法
这个类包括一些常见的方式,您可以发送和接收使用意向API和ActionProvider的对象的应用程序之间的内容。
博客文章
Using DialogFragments-使用DialogFragments* In this post, I’ll show how to use DialogFragments with the v4 support library (for backward compatibility on pre-Honeycomb devices) to show a simple edit dialog and return a result to the calling Activity using an interface. 在本文,我将向您展示怎么通过V4支持库使用DialogFragments(兼容Android 3.0之前的版本)来显示一个简单的编辑对话框并通过一个接口返回结果给之前调用他的Activity.
Fragments For All-通用的Fragments
* Today we’ve released a static library that exposes the same Fragments API (as well as the new LoaderManager and a few other classes) so that applications compatible with Android 1.6 or later can use fragments to create tablet-compatible user interfaces. 今天我们发布了一个静态库,这个库提供了和3.0版本相同的Fragments API(也包括新的LoaderManager和一些其他的类),通过他们,Android 1.6或更高版本可以运行使用fragments 创建的含有 平板级界面的应用.
Multithreading for Performance-多线程展示
* A good practice in creating responsive applications is to make sure your main UI thread does the minimum amount of work. Any potentially long task that may hang your application should be handled in a different thread. 一个好的交换应用需要确保您的主UI线程做做少的工作.然后潜在的可能是应用挂起的耗时任务应该在其他线程中处理
相关文章推荐
- 使用组件构建Android应用程序
- 使用组件构建Android应用程序
- iOS_使用 Eclipse PhoneGap 构建 Android 应用程序入门
- 使用 Eclipse PhoneGap 构建 Android 应用程序入门
- 开源组件NanUI - 使用HTML/CSS/JS来构建.Net Winform应用程序界面
- 开源组件NanUI一周年 - 使用HTML/CSS/JS来构建.Net Winform应用程序界面
- redis实战读后感(六)-使用Reids构建应用程序组件
- 使用redis构建应用程序组件
- 开源组件NanUI一周年 - 使用HTML/CSS/JS来构建.Net Winform应用程序界面
- 使用 Eclipse PhoneGap 构建 Android 应用程序入门
- Android应用程序四大组件之使用AIDL如何实现跨进程调用Service
- redis实战笔记(6)-第6章 使用 Redis构建应用程序组件
- React学习(四):使用组件构建应用程序
- 使用 Bluemix 和 AppScan Mobile Analyzer 服务构建一个 Android 应用程序安全测试工具
- ubuntu 下使用 Python 和 SL4A 的 Android 应用程序构建您自己的android开发环境
- 使用 Eclipse PhoneGap 构建 Android 应用程序入门
- 使用 Eclipse PhoneGap 构建 Android 应用程序入门
- Android应用程序四大组件之使用AIDL如何实现跨进程调用Service
- 使用ArcGIS API for Flex构建Android和iOS移动地图应用程序
- 关于Android架构组件,Android Architecture Components,使用AAC构建项目