原创 Android 翻譯:WebView Class Overview

WebView Class Overview A View that displays web pages. This class is the basis upon which you can roll your own we

原创 Android 開發指南 翻譯 User Interface -- Dialogs

User Interface -- Dialogs A dialog is usually a small window that appears in front of the current Activity. The unde

原创 Android 開發指南 翻譯8 Application Resources: Localization (未完......)

Android 開發指南 翻譯8  Application Resources: Localization 應用資源:本地化 Android will run on many devices in many regions. To

原创 Android 開發指南 翻譯11 Application Resources -- Drawable Resources

Application Resources -- Drawable Resources 繪圖資源 A drawable resource is a general concept for a graphic that can

原创 Android 開發指南 翻譯5 Application Resources: Providing Resources

Android 開發指南 翻譯5  Application Resources: Providing Resources 提供資源 You should always externalize application resources

原创 Android 開發指南 翻譯10:Intents and Intent Filters

Android 開發指南 翻譯10:Intents and Intent Filters Three of the core components of an application — activities, servi

原创 Android 開發指南 翻譯4 Application Resources

Application Resources 應用系統資源 You should always externalize resources such as images and strings from your applicati

原创 Android 開發指南 翻譯 User Interfaces -- Action Bar

Action bar 行動條 The action bar is a window feature that identifies the application and user location, and provides us

原创 Android 開發指南 翻譯11 Application Resources -- String Resources

Application Resources--String Resources 字符串資源 A string resource provides text strings for your application with o

原创 Android Handler

public class Handler extends Object java.lang.Object    ↳ android.os.Handler Known Direc

原创 Android 開發指南 翻譯9: Processes and Threads

Android 開發指南 翻譯9: Processes and Threads 進程和線程 When an application component starts and the application does not h

原创 XML的相關知識點

引用自:http://www.w3school.com.cn/xml/index.asp 實體引用 在 XML 中,一些字符擁有特殊的意義。 如果你把字符 "<" 放在 XML 元素中,會發生錯誤,這是因爲解析器會把它當作新元素

原创 Android中圖片與屏幕密度

在drawable中的圖片在不同密度的設備上顯示時,在屏幕上的佔比是不一樣的。 如:160px的圖片,在800x480的屏幕上顯示: 密度是: 160dpi時,佔屏幕的三分之一  (=160px/480px)。 240dpi時,佔屏幕的二

原创 回調註冊的基本方法

回調註冊的基本方法: 一、提供具有回調方法的類 1、定義一個接口,接口中定義回調的調用方法。 2、定義回調類,在該類中提供接口的註冊方法,接口註冊時,講接口實現對象加入回調對象列表,在註冊的事件發生後,調用回調對象列表中的回調方法; 二

原创 JSON 知識點

文章引用自:http://www.w3school.com.cn/json/index.asp JSON:JavaScript 對象表示法(JavaScriptObject Notation)。 JSON 是存儲和交換文本信息的