5、二、App Components(應用程式組件):0、概述

來源:互聯網
上載者:User

標籤:android   style   blog   http   color   使用   os   io   

二、App Components(應用程式組件)

0、概述

?

App Components

Android‘s application framework lets you create rich and innovative apps using a set of reusable components. This section explains how you can build the components that define the building blocks of your app and how to connect them together using intents.

INTENTS AND INTENT FILTERS?

應用程式組件

Android應用程式架構能夠可以讓您使用一組可重用的組件建立豐富和創新應用。本節將介紹如何使用這些組件構建您的應用程式的模組,以及如何使用Intent將它們串連在一起。

意圖和意圖過濾器?

?

BLOG ARTICLES(部落格文章)

Using 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.

使用DialogFragments

在這篇文章中,我將展示如何通過Support V4庫(為了向後相容Honeycomb之前的版本)使用DialogFragments,以顯示一個簡單的編輯對話方塊,並使用介面的結果返回到調用活動。

Fragments For All

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.

用於所有版本的Fragment

如今我們已經發布了一個靜態庫公開相同的Fragment API(以及新的LoaderManager和其他的類),以便於Android 1.6或者更高的版本可以使用Fragment來建立相容平板的使用者介面。

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線程幹盡量少的事情。應該讓比較耗時的操作都在其他線程完成。

?

TRAINING(實驗)

Managing the Activity Lifecycle

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.

管理Activity的生命週期

這個課程中,每個Activity執行個體接收重要的生命週期回調方法,以及如何使用它們讓你的活動完成使用者期望的結果,並且當你的活動並不需要他們的時候,釋放系統資源。

Building a Dynamic UI with Fragments

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構建動態UI

這個課程向你展示了如何使用Fragment建立一個動態使用者介面,並且針對不同的裝置螢幕尺寸最佳化了你的應用的使用者體驗,並且支援所有裝置啟動並執行版本,甚至更古老的Android 1.6。

Sharing Content

This class covers some common ways you can send and receive content between applications using Intent APIs and the ActionProvider object.

分享內容

這個課程涵蓋了你在兩個應用程式中使用Intent APIs和ActionProvider對象發送或者接收內容所有方法。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.