Building Your First App

Creating an Android Project 介绍如何Android开发环境,具体是:怎么使用Eclipse工具

Create a Project with Eclipse

Create a Project with Command Line Tools

Running Your Application 介绍Android应用程序的运行和模拟器

Run on a Real Device

Run on the Emulator

Building a Simple User Interface 介绍Android应用程序中的基本控件和布局

Create a Linear Layout

Add a Text Field

Add String Resources

Add a Button

Make the Input Box Fill in the Screen Width

Starting Another Activity 介绍Activity之间的交互,包括:Activity的创建和启动,以及数据传递

Respond to the Send Button

Build an Intent

Start the Second Activity

Create the Second Activity

Receive the Intent

Display the Message

Adding the Action Bar

Setting Up the Action Bar  介绍 Action Bar相关的支持包

Support Android 3.0 and Above Only

Support Android 2.1 and Above

Adding Action Buttons 介绍如何在Android应用程序中增加 Action Bar

Specify the Actions in XML

Add the Actions to the Action Bar

Respond to Action Buttons

Add Up Button for Low-level Activities

Styling the Action Bar 介绍如何制作出"别具一格"的Action Bar

Use an Android Theme

Customize the Background

Customize the Text Color

Customize the Tab Indicator

Overlaying the Action Bar 介绍Action Bar的覆盖模式,包括:隐藏/显示

Enable Overlay Mode

For Android 3.0 and higher only

For Android 2.1 and higher

Specify Layout Top-marginSupporting Different Devices

Supporting Different Languages 介绍Android应用程序的国际化

Create Locale Directories and String Files

Use the String Resources

Supporting Different Screens 介绍Android应用程序如何适配不同的屏幕

Create Different Layouts

Create Different Bitmaps

Supporting Different Platform Versions 介绍Android应用程序和SDK相关的版本

Specify Minimum and Target API Levels

Check System Version at Runtime

Use Platform Styles and Themes

Managing the Activity Lifecycle

Starting an Activity 介绍Activity相关的基础知识

Understand the Lifecycle Callbacks

Specify Your App's Launcher Activity

Create a New Instance

Destory the Activity

Pausing and Resuming an Activity 介绍Activity组件的pausing/resuming状态

Pause Your Activity

Resume Your Activity

Stopping and Restarting an Activity 介绍Activity组件的stop/restart状态

Stop Your Activity

Start/Restart Your Activity

Recreating an Activity 介绍销毁和重建Activit实例的行为

Save Your Activity State

Restore Your Activity State

Building a Dynamic UI with Fragments

Creating a Fragment 介绍在Android应用程序中创建Fragment

Create a Fragment Class

Add a Fragment to an Activity using XML

Building a Flexible UI 介绍如何在Activity中使用Fragment

Add a Fragment to an Activity at Runtime

Replace One Fragment with Another

Communicating with Other Fragments 介绍Fragment之间的互动

Define an Interface

Implement the Interface

Deliver a Message to Fragment

Saving Data

Saving Key-Value Sets 介绍在Android中如何存储键值对

Get a Handle to a SharedPreferences

Write to Shared Preferences

Read from Shared Preferences

Saving Files --> Linux file system & Java input/output APIs 介绍Android应用程序中的文件存储系统

Choose Internal or External Storage

Obtain Permissions for External Storage

Sava a File on External Storage

Query Free Space

Delete a File

Saving Data SQL Databases --> android.database.sqlite 介绍Android应用程序中的SQLite数据库

Define a Schema and Contract

Create a Database Using a SQL Helper

Put Information into a Database

Read Information from a Database

Delete Information from a Database

Update a Database

Interacting with other Apps

Sending the User to Another App 介绍从一个应用程序跳转到另一个应用程序

Build an Implicit Intent

Verify There is an App to Receive the Intent

Start an Activity with the Intent

Show a App Chooser

Getting a Result from an Activity 介绍如何从一个应用程序中获取返回值

Start the Activity

Receive the Result

Bonus: Read the contact data

Allowing Other Apps to Start Your Activity 介绍如何让应用程序被其他程序打开

Add an Intent Filter

Handle the Intent in Your Activity

Return a Result

Android Getting Started的更多相关文章

  1. 【原】Android热更新开源项目Tinker源码解析系列之三:so热更新

    本系列将从以下三个方面对Tinker进行源码解析: Android热更新开源项目Tinker源码解析系列之一:Dex热更新 Android热更新开源项目Tinker源码解析系列之二:资源文件热更新 A ...

  2. 配置android sdk 环境

    1:下载adnroid sdk安装包 官方下载地址无法打开,没有vpn,使用下面这个地址下载,地址:http://www.android-studio.org/

  3. Android SwipeRefreshLayout 下拉刷新——Hi_博客 Android App 开发笔记

    以前写下拉刷新 感觉好费劲,要判断ListView是否滚到顶部,还要加载头布局,还要控制 头布局的状态,等等一大堆.感觉麻烦死了.今天学习了SwipeRefreshLayout 的用法,来分享一下,有 ...

  4. Android Studio配置 AndroidAnnotations——Hi_博客 Android App 开发笔记

    以前用Eclicps 用习惯了现在 想学学 用Android Studio 两天的钻研终于 在我电脑上装了一个Android Studio 并完成了AndroidAnnotations 的配置. An ...

  5. Android请求网络共通类——Hi_博客 Android App 开发笔记

    今天 ,来分享一下 ,一个博客App的开发过程,以前也没开发过这种类型App 的经验,求大神们轻点喷. 首先我们要创建一个Andriod 项目 因为要从网络请求数据所以我们先来一个请求网络的共通类. ...

  6. 【原】Android热更新开源项目Tinker源码解析系列之一:Dex热更新

    [原]Android热更新开源项目Tinker源码解析系列之一:Dex热更新 Tinker是微信的第一个开源项目,主要用于安卓应用bug的热修复和功能的迭代. Tinker github地址:http ...

  7. 【原】Android热更新开源项目Tinker源码解析系列之二:资源文件热更新

    上一篇文章介绍了Dex文件的热更新流程,本文将会分析Tinker中对资源文件的热更新流程. 同Dex,资源文件的热更新同样包括三个部分:资源补丁生成,资源补丁合成及资源补丁加载. 本系列将从以下三个方 ...

  8. Android Studio 多个编译环境配置 多渠道打包 APK输出配置

    看完这篇你学到什么: 熟悉gradle的构建配置 熟悉代码构建环境的目录结构,你知道的不仅仅是只有src/main 开发.生成环境等等环境可以任意切换打包 多渠道打包 APK输出文件配置 需求 一般我 ...

  9. JS调用Android、Ios原生控件

    在上一篇博客中已经和大家聊了,关于JS与Android.Ios原生控件之间相互通信的详细代码实现,今天我们一起聊一下JS调用Android.Ios通信的相同点和不同点,以便帮助我们在进行混合式开发时, ...

  10. Android UI体验之全屏沉浸式透明状态栏效果

    前言: Android 4.4之后谷歌提供了沉浸式全屏体验, 在沉浸式全屏模式下, 状态栏. 虚拟按键动态隐藏, 应用可以使用完整的屏幕空间, 按照 Google 的说法, 给用户一种 身临其境 的体 ...

随机推荐

  1. HttpUtility.UrlEncode()关于空格的编码问题

    因为 HttpUtility.UrlEncode 在 Encode 的时候, 将空格转换成加号"+", 在 Decode 的时候将"+"号转为空格, 但是浏览器 ...

  2. C#调用Bartender打印

    BarTender是一款优秀的条形码打印软件,可以支持很多种类型的条形码设计和打印,具体大家可参考他的官网(http://www.seagullscientific.com/aspx/products ...

  3. 上传Jcenter

    将自己封装的库发布分享到Jcenter

  4. TP5架构下链接SQL数据库的一种方法

    1.database设置 2.连接到所需要的表格 *.数据库目录

  5. [转] GloVe公式推导

    from: https://pengfoo.com/post/machine-learning/2017-04-11 GloVe(Global Vectors for Word Representat ...

  6. Python简单爬虫获取岗位招聘人数

    #encoding=utf-8 import selenium import selenium.webdriver import re import time # pip install seleni ...

  7. nginx配置文件,做多个项目代理

    web01: server { listen 9988; server_name www.oldboy.com; access_log logs/www.oldboy.com_access.log m ...

  8. Python——字符串

    p ython——字符串 ①加法 连接两个字符串 ②乘法  复制字符串 python——转义字符 \n 换行 \' 单引号 \'' 双引号 \\ 反斜杠 raw字符串:无视转义字符   转义: 字符串 ...

  9. npm install 操作

    npm init node test.js$ npm install -g cnpm --registry=https://registry.npm.taobao.org (cnpm)npm inst ...

  10. Java Swing 编程 JComboBox 显示不全问题。

    最近在做Java Swing编程一个小例子.然后遇到JComboBox 宽度固定,而下拉列表比较长,导致显示不全的问题. 解决的思路想到两种,1:下拉列表当显示不全的时候,换行显示.2:在下拉列表停几 ...