- Android Application Development Cookbook(Second Edition)
- Rick Boyer Kyle Mew
- 234字
- 2021-07-09 19:36:18
Introduction
The Android SDK provides a powerful tool to program mobile devices, and the best way to master such a tool is to jump right in. Though you can read this book from beginning to end, as it is a cookbook, it is specifically designed to allow you to jump to specific tasks and get the results immediately.
Activities are the fundamental building block of most Android applications as the activity class provides the interface between the application and screen. Most Android applications will have at least one activity, if not several (but they are not required). A background service application will not necessarily require an activity if there is no user interface.
This chapter explains how to declare and launch activities within an application and how to manage several activities at once by sharing data between them, requesting results from them, and calling one activity from within another.
This chapter also briefly explores the intent object, which is often used in conjunction with activities. Intents can be used to transfer data between activities in your own application, as well as in external applications, such as those included with the Android operating system (a common example would be to use an intent to launch the default web browser).
Note
To begin developing Android applications, head over to the Android Studio page to download the new Android Studio IDE and the Android SDK bundle:
- VMware View Security Essentials
- UML和模式應用(原書第3版)
- 計算機圖形學編程(使用OpenGL和C++)(第2版)
- C++ Builder 6.0下OpenGL編程技術
- Mastering matplotlib
- C語言從入門到精通(第4版)
- 精通Python設計模式(第2版)
- Spring+Spring MVC+MyBatis整合開發實戰
- Java語言程序設計教程
- Learning Modular Java Programming
- Processing創意編程指南
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- Flask Web開發:基于Python的Web應用開發實戰(第2版)
- Penetration Testing with the Bash shell
- Java 9 with JShell