原创 Declare layout

  Your layout is the architecture for the user interface in an Activity. It defines the layout structure and holds all

原创 Create dialogs

  A dialog is usually a small window that appears in front of the current Activity. The underlying Activity loses focus

原创 User Interface

  In an Android application, the user interface is built using View and ViewGroup objects. There are many types of view

原创 android guide

Android applications are written in the Java programming language. The compiled Java code — along with any data and res

原创 Create menus

  Menus are an important part of any application. They provide familiar interfaces that reveal application functions an

原创 Applying styles and themes

  When designing your application, you can use styles and themes to apply uniform formatting to its various screens and

原创 Handling UI events

  On Android, there's more than one way to intercept the events from a user's interaction with your application. When c

原创 Available Resource Types

This page describes the different types of resources that you can externalize from your code and package with your appl

原创 2D Graphics

Android offers a custom 2D graphics library for drawing and animating shapes and images. The android.graphics.drawable

原创 Content Providers

Content providers store and retrieve data and make it accessible to all applications. They're the only way to share dat

原创 App widgets

App Widgets are miniature application views that can be embedded in other applications (such as the Home screen) and re

原创 swt與swing的比較

1. 組件體系:  a) Swing:通過在父組件上動態調用add()和remove()方法,來對組件樹進行動態維護,因此,可以存在沒有父組件的子組件。  b) SWT:通過在構造函數的參數中,指定父組件,因此,不可能存在沒有父組件的

原创 因併發而生 因雲計算而熱:Erlang專家訪談實錄(1)

Erlang並行計算 主持人 : 我們目前談到了很多Erlang在語言特性方面的問題,我們知道Erlang最大的特點是分佈式、並行計算的特性,有人說如果一門語言不能很好地處理並行計算的問題,將來很可能會失去生存的權利,二位對於這個觀點怎麼

原创 Build custom components

  Android offers a sophisticated and powerful componentized model for building your UI, based on the fundamental layout

原创 Binding to data with AdapterView

  The AdapterView is a ViewGroup subclass whose child Views are determined by an Adapter that binds to data of some typ