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. linxu上安装mongodb3.6实战

    根据linux 版本到官网下载对应mongodb版本 查看服务器版本:cat /proc/version 查看linux发行版本:cat /etc/redhat-release 我用的阿里云服务器,对 ...

  2. 大受喜欢安卓触控一体机连接云端数据化管理提供例程DEMO

    1.首先,安卓系统坚持了它的开放性,为消费者和开发者同时留出了空间.这是安卓能够快速成长的关键因素.在安卓之前,没有任何一个智能操作系统的开源程度能够像安卓一样.免费开源的安卓系统节约了版权费用. 2 ...

  3. 移动端雪碧图sprite的实现

    移动端适配的时候,通常是用rem作为长宽单位,因此,在不同的设备下,元素的实际宽高(px)是不一样的,如果是单张图片作为为背景图片的时候,最为方便,只要设置背景图片的属性background-size ...

  4. HG奋斗赛A[20190428]

    T1 很简单,判断这个字符串有多少个不同的字符,让后用k减一减 注意: 1.如果不同字符数大于k,不要输出负数 2.变量名别打错 上代码 #include <cstdio> #includ ...

  5. 2018-2019-2 网络对抗技术 20165237 Exp3 免杀原理与实践

    2018-2019-2 网络对抗技术 20165237 Exp3 免杀原理与实践 一.实践目标 1.1 正确使用msf编码器,msfvenom生成如jar之类的其他文件,veil-evasion,加壳 ...

  6. Python自动化中的元素定位xpath(二)

    1.Xpath元素定位 1)ele = b.find_element_by_xpath(‘/html/body/from/input[1]’) 2)Ele = b.find_element_by_xp ...

  7. Python3的保留字

    Python3的保留字 false none true and 表示条件的并列,并且条件全部成立 as assert break class continue def del elif else ex ...

  8. SpringSecurity的配置分析

    在分析SpringSecurity前,基于多年前使用SpringSecurity和近年来使用Shiro的经验, SpringSecurity这些年在发展和SpringBoot整合之后,也逃不出以下的一 ...

  9. kibana转码显示

    $('.truncate-by-height').each((i, dom) => { $(dom).html(decodeURIComponent($(dom).html())) })

  10. 防盗链之URL参数签名

    一.概述 传统的 IP 禁用.referer 防盗链.User-Agent 防盗链.地区访问控制等防盗链措施已经无法完全满足用户要求,所以开发出URL参数签名方式来防盗链 二.实现 Token防盗链是 ...