- 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:
- The Complete Rust Programming Reference Guide
- Vue.js設(shè)計(jì)與實(shí)現(xiàn)
- MySQL數(shù)據(jù)庫(kù)管理實(shí)戰(zhàn)
- Visual Basic程序設(shè)計(jì)教程
- NLTK基礎(chǔ)教程:用NLTK和Python庫(kù)構(gòu)建機(jī)器學(xué)習(xí)應(yīng)用
- 軟件測(cè)試項(xiàng)目實(shí)戰(zhàn)之性能測(cè)試篇
- PySide GUI Application Development(Second Edition)
- Bootstrap 4:Responsive Web Design
- Getting Started with Laravel 4
- Teaching with Google Classroom
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- HTML5開發(fā)精要與實(shí)例詳解
- 計(jì)算思維與Python編程
- AngularJS Web Application Development Cookbook
- C/C++語言程序開發(fā)參考手冊(cè)