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. manacher最长回文子串

    https://www.luogu.org/blog/codesonic/manacheralgorithm 先放上洛谷的链接,毕竟讲的真好 两道例题 luogu4555 SP7586 inline ...

  2. 支付宝沙箱测试-ALI40247

    支付宝快速接入文档 测试支付宝APP支付时碰到ALI40247问题 前提:服务端采用沙箱测试. 关于沙箱 如何接入沙箱 沙箱环境是开放平台提供给开发者调试接口的环境,具体操作步骤见沙箱接入指南. Ap ...

  3. setLocale(java.util.Locale), setCharacterEncoding(java.lang.String),setContentType(java.lang.String type)

    对于setCharacterEncoding(java.lang.String),这个方法是javax.servlet.ServletRequest和javax.servlet.ServletResp ...

  4. Q查询条件

    e. Q查询 ``` def search(self, query_list): query = self.request.GET.get('query', '') # 获取query的值 # Q(Q ...

  5. 开启Apache的server status监测

    从httpd.conf 打开 status_module#LoadModule status_module modules/mod_status.so修改成LoadModule status_modu ...

  6. 百度杯”CTF比赛 2017 二月场 没错!就是文件包含漏洞。

    题目源码: 文件包含漏洞的话,看一下 你么可以使用php://input 伪协议,执行代码(参考了大佬WP)这里使用了POSTMAN, 目录下还有一个dle345aae.php文件,呢么用cat命令打 ...

  7. Windows安装redis并将redis设置成服务

    Redis 作为一种缓存工具,主要用于解决高并发的问题,在分布式系统中有着极其广泛的应用,Redis 本身是应用于 Linux/Unix 平台的(部署在服务器上边),官方并没有提供 Windows 平 ...

  8. 考勤输入导入OA平台与考勤统计报表导出功能源代码

    注:以某某公司为例,每日签到时间为8点整   每日签退时间为17点30分 规则:公司签到签退时间在OA平台中可以视实际情况调整,当天有请假并通过工作流审批通过为有效,当天因公外出并通过工作流审批通过为 ...

  9. 将一个整数M分成N个整数 要求每个都在区间【minV, maxV】之间

    将一个整数M分成N个整数 要求每个都在区间[minV, maxV]之间,怎么分比较快捷???? 说明: N是>=1且<=9的数,分割的数据只要符合[minV, maxV]区间即可,可以是等 ...

  10. ubuntu 16.04 安装 vscode

    ubuntu 安装 vscode sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt ...