您的位置:首页 > 移动开发 > Android开发

使用组件构建Android应用程序

2013-06-27 15:14 573 查看
原文链接:http://android.eoe.cn/topic/android_sdk

应用程序组件

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线程做做少的工作.然后潜在的可能是应用挂起的耗时任务应该在其他线程中处理
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: