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. MySQL学习11 - MySQL创建用户和授权

    权限管理 权限管理 我们知道我们的最高权限管理者是root用户,它拥有着最高的权限操作.包括select.update.delete.update.grant等操作.那么一般情况在公司之后DBA工程师 ...

  2. 推送提交(git push)

    当需要同别人共享某个分支上的工作成果时,就要把它推送到一个具有写权限的远程仓库.你的本地分支并不会自动同步到远程仓库,必须要显式地推送那些你想要与别人共享的分支.这样一来,你可以使用私有分支做一些不想 ...

  3. window C/C++ 简单的IDE编译器

    C-Free 官网链接: http://www.programarts.com/cfree_ch/download.htm

  4. 安卓触控一体机的逆袭之路_追逐品质_支持APP软件安卓

    显示性能参数 接口:RGB信号 分辨率:1024*600 比例16:9 显示尺寸(A.A.):222.72*(W)*125.28(H)mm 外围尺寸:235.0(W)*143.0(H)*4.5(T)m ...

  5. 关于typecho0.9代码高亮与数学公式支持

    闲来无事,搭了一个博客,记录一下自己的学习生活,博客模板取自原来typecho官方博客,稍加修改,改了一下涂装,不得不说插件支持有一些问题,目前大多数插件已经同步更新到typecho1.0版本,新插件 ...

  6. vue中数据添加完成以后,数据回显

    1.格式 <FormItem label="奖品领取类型:" prop="getType" > <RadioGroup v-model=&qu ...

  7. oracle Data Modeler 使用教程

    由于 powerdesigner 的版权问题.公司要求集体换成 oracle Data Modeler .免费版就够用,哈哈.这有很详细的入门教程,看一看吧: 官方正版教程 ,特详细,只是英文的,也只 ...

  8. TLS详解

    TLS加密通信, 开始使用协商的秘钥进行加密通信 1.服务器也可以要求验证客户端,即实现双向的验证, 2.会话缓存握手过程,为了建立握手的速度,减少协议带来的性能方面的降低和资源方面的消耗,TLS协议 ...

  9. 在做zabbix分布式监控时遇到的各种坑

    因为公司在用zabbix的时候需要用到zabbix-proxy,所以今天就在三台虚拟机上做了测试: 环境:zabbix-server端:centos6.8 上面安装了zabbix-server.zab ...

  10. Ubuntu18.04,安装Redis配置远程连接访问和简单使用Redis

    前言 Redis是常用基于内存的Key-Value数据库,比Memcache更先进,支持多种数据结构,高效,快速.用Redis可以很轻松解决高并发的数据访问问题:作为实时监控信号处理也非常不错. 环境 ...