Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Android 9 Development Cookbook - Third Edition

You're reading from  Android 9 Development Cookbook - Third Edition

Product type Book
Published in Oct 2018
Publisher Packt
ISBN-13 9781788991216
Pages 464 pages
Edition 3rd Edition
Languages
Author (1):
Rick Boyer Rick Boyer
Profile icon Rick Boyer

Table of Contents (24) Chapters

Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Preface
Activities Layouts Views, Widgets, and Styles Menus and Action Mode Fragments Home Screen Widgets, Search, and the System UI Data Storage Alerts and Notifications Using the Touchscreen and Sensors Graphics and Animation A First Look at OpenGL ES Multimedia Telephony, Networks, and the Web Location and Using Geofencing Getting Your App Ready for the Play Store Getting Started with Kotlin Other Books You May Enjoy Index

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. Although 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:http://developer.android.com/sdk/index.html.

You have been reading a chapter from
Android 9 Development Cookbook - Third Edition
Published in: Oct 2018 Publisher: Packt ISBN-13: 9781788991216
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime}