pro android 4 笔记
文章平均质量分 78
demibug
asdf
展开
-
AndroidPro4_006_Fragments
# Ensure that there’s a default constructor for your fragment class. When the system restores a fragment, it calls the default constructor (with no arguments) and then restores this bundle of arg转载 2013-03-26 23:23:51 · 635 阅读 · 0 评论 -
AndroidPro4_001_Resources
# Resource-Reference Syntax\ Structure:@[package:]type/name.\ Type is one of the resource-type in R.java: drawable, layout, id, String, attr, plurals, string-array.\ If don't specify packa转载 2013-03-26 23:14:16 · 866 阅读 · 0 评论 -
AndroidPro4_002_Content Providers
# Android use Content Providers for abstracting data into services.# Android has built-in content providers. These SQLite database typically have an extension of .db and are accessible only from t转载 2013-03-26 23:19:16 · 952 阅读 · 0 评论 -
AndroidPro4_004_UI_and_Controls
# Build UI Layout object can contain any type of view - even other layouts. setContentView(R.layout.main); TextView nameValue = (TextView)findViewById(R.id.nameValue); nameValue.转载 2013-03-26 23:21:40 · 818 阅读 · 0 评论 -
AndroidPro4_003_Intents
# Intents are called to invoke components.# The components include activity( UI components ), services( background code ), broadcast receivers( respond to broadcast message ), and content provider(转载 2013-03-26 23:20:48 · 676 阅读 · 0 评论 -
AndroidPro4_005_Menus
# A menu item carries the following attributes: Name: A string title Menu item ID: An integer Group ID: An integer representing which group this item should be part of Sort转载 2013-03-26 23:22:14 · 582 阅读 · 0 评论