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. Technocup 2019 - Elimination Round 1

    http://codeforces.com/contest/1030 B. Vasya and Cornfield 判断点是否在矩形内(包括边界) 把每条边转化为一个不等式 public static ...

  2. mysql的The user specified as a definer (”@’%') does not exist 的解决办法

    两种可能: 1.用户权限不够 赋给用户所有权限试试 mysql> grant all privileges on *.* to root@"%" identified by ...

  3. django --视图装饰器

  4. 简单文本悬浮div提示效果

    <html> <head> <script src="jquery-1.9.1.min.js" type="text/javascript& ...

  5. 推荐.Net、C# 逆向反编译四大工具利器

    转自:https://blog.csdn.net/kongwei521/article/details/54927689 在项目开发过程中,估计也有人和我遇到过同样的经历:运行环境出现了重大Bug亟需 ...

  6. L1-Day8

    1.他就是我昨天见的那个人. [我的翻译]He is a man who I saw him yestorday. [标准答案]He is the man (who(m) /that) I saw y ...

  7. [转]在static代码块或static变量的初始化过程中使用ServiceManager提供的api的陷阱

    一. 案例 1.源码: /** @hide */ private TelephonyManager(int slotId) { mContext = null; mSlotId = slotId; i ...

  8. Java并发编程之美之并发编程线程基础

    什么是线程 进程是代码在数据集合上的一次运行活动,是系统进行资源分配和调度的基本单位,线程则是进程的一个执行路径,一个进程至少有一个线程,进程的多个线程共享进程的资源. java启动main函数其实就 ...

  9. [经验交流] k8s mount 文件到容器目录

    docker 的 volume 可以 mount 单个文件(比如单个配置文件)到容器目录.同时保留原目录的内容.放到 k8s 中,结果却变成了这样:k8s 的 volume 把文件mount 到容器目 ...

  10. 使用Mac下的sequel Pro链接数据库时提示错误(已解决)

    使用Mac下的sequel Pro链接数据库时,出现如下问题: ? 1 MySQL said: Authentication plugin 'caching_sha2_password' cannot ...