Android 9 development cookbook: over 100 recipes and solutions to solve the most common problems faced by Android developers

In this Cookbook, proven, modular recipes take you from the absolute basics to advanced location-based services, security techniques, and performance optimization. You'll learn how to write apps from scratch, ensure interoperability, choose the best solutions for common problems, and avoid deve...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Boyer, Rick 1943- (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Birmingham ; mumbai Packt 2018
Ausgabe:third edition
Schlagworte:
Zusammenfassung:In this Cookbook, proven, modular recipes take you from the absolute basics to advanced location-based services, security techniques, and performance optimization. You'll learn how to write apps from scratch, ensure interoperability, choose the best solutions for common problems, and avoid development pitfalls
Cover -- Title Page -- Copyright and Credits -- Dedication -- About Packt -- Contributors -- Table of Contents -- Preface -- Chapter 1: Activities -- Introduction -- Declaring an activity -- Getting ready -- How to do it... -- How it works... -- Starting a new activity with an intent object -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Switching between activities -- Getting ready -- How to do it... -- How it works... -- See also -- Passing data to another activity -- Getting ready -- How to do it... -- How it works... -- There's more... -- Returning a result from an activity -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Saving an activity's state -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Storing persistent activity data -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using more than one preference file -- See also -- Understanding the activity life cycle -- Getting ready -- How to do it... -- How it works... -- There's more... -- Chapter 2: Layouts -- Introduction -- Defining and inflating a layout -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using RelativeLayout -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using LinearLayout -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating tables - TableLayout and GridLayout -- Getting ready -- How to do it... -- How it works... -- There's more... -- RecyclerView replaces ListView -- Getting ready -- How to do it... -- How it works… -- There's more… -- Changing layout properties during runtime -- Getting ready -- How to do it... -- How it works... -- Chapter 3: Views, Widgets, and Styles -- Introduction
Inserting a widget into a layout -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using graphics to show button state -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using designated folders for screen-specific resources -- See also -- Creating a widget at runtime -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating a custom component -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Applying a style to a View -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Turning a style into a theme -- Getting ready -- How to do it... -- How it works... -- There's more... -- Selecting a theme based on the Android version -- Getting ready -- How to do it... -- How it works... -- There's more... -- Chapter 4: Menus and Action Mode -- Introduction -- Creating an options menu -- Getting ready -- How to do it... -- How it works... -- There's more... -- Using a menu item to launch an activity -- Creating submenus -- Grouping menu items -- See also -- Modifying menus and menu items during runtime -- Getting ready -- How to do it... -- How it works... -- There's more... -- Enabling Contextual Action Mode for a view -- Creating a floating context menu -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using Contextual Batch Mode with RecyclerView -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating a pop-up menu -- Getting ready -- How to do it... -- How it works... -- Chapter 5: Fragments -- Introduction -- Creating and using a Fragment -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Adding and removing Fragments during runtime -- Getting ready -- How to do it
Beschreibung:XIV, 443 Seiten Illustrationen
ISBN:9781788991216

Es ist kein Print-Exemplar vorhanden.

Fernleihe Bestellen Achtung: Nicht im THWS-Bestand!