Index

Symbols

<application> 461

<fragment> 235

<fragment> element 235

<receiver> 440

<service> 461, 474, 481

<uses-permission> 420

Code Reformatting 67

@layout/toolbar_fragment 245

.well-known folder 661

A

AbsoluteLayout 112

ACCESS_COARSE_LOCATION permission 596

ACCESS_FINE_LOCATION permission 596

ACTION_CREATE_DOCUMENT 564

ACTION_CREATE_INTENT 565

ACTION_DOWN 210

ACTION_MOVE 210

ACTION_OPEN_DOCUMENT 559

ACTION_OPEN_DOCUMENT intent 558

ACTION_POINTER_DOWN 210

ACTION_POINTER_UP 210

ACTION_UP 210

ACTION_VIEW 435

Active / Running state 86

Activity 73, 89

adding to a project 169

adding views in Java code 189

class 89

creation 14

Entire Lifetime 93

Foreground Lifetime 93

lifecycle methods 92

lifecycles 83

returning data from 418

state change example 97

state changes 89

states 86

Visible Lifetime 93

ActivityCompat class 601

Activity Lifecycle 85

Activity Manager 72

Activity Stack 85

Actual screen pixels 180

adb

command-line tool 53

list devices 53

restart server 54

ADB

enabling on Android devices 53

Linux configuration 56

macOS configuration 54

overview 53

testing connection 56

Windows configuration 55

addCategory() method 439

addMarker() method 623

addView() method 184

ADD_VOICEMAIL permission 596

Advanced Profiling 675

android

commandline tool 34

exported 461

gestureColor 229

layout_behavior property 403

onClick 237

process 462, 481

uncertainGestureColor 229

Android

Activity 73

architecture 69

events 203

intents 74

onClick Resource 203

runtime 70

SDK Packages 6

android.app 70

Android Architecture Components 251

android.content 70

android.content.Intent 417

android.database 70

Android Debug Bridge. See  ADB

Android Design Support Library 363

Android Development

System Requirements 3

Android Devices

designing for different 111

android.graphics 70

android.hardware 70

android.intent.action 445

android.intent.action.BOOT_COMPLETED 462

android.intent.action.MAIN 435

android.intent.category.LAUNCHER 435

Android Libraries 70

AndroidManifest.xml file 170

android.media 71

Android Monitor tool window 31, 100

Android Native Development Kit 71

android.net 71

android.opengl 71

android.os 71

android.permission.RECORD_AUDIO 605

android.print 71

Android Profiler 675

Android Project

create new 13

android.provider 71

Android SDK Location

identifying 8

Android SDK Manager 6, 7, 9

Android SDK Packages

version requirements 7

Android SDK Tools

command-line access 8

Linux 9

macOS 10

Windows 7 8

Windows 8 9

Android Software Stack 69

Android Storage Access Framework 558

Android Studio

changing theme 51

downloading 3

Editor Window 46

installation 4

Linux installation 5

macOS installation 4

Main Window 45

Menu Bar 46

Navigation Bar 46

Project tool window 47

setup wizard 5

Status Bar 46

Toolbar 46

updating 11

Welcome Screen 45

Windows installation 4

android.text 71

Android tool window 49

android.util 71

android.view 71

android.view.View 114

android.view.ViewGroup 111, 114

Android Virtual Device. See  AVD

overview 27

Android Virtual Device Manager 27

android.webkit 71

android.widget 71

APK analyzer 704

APK file 698

split 708

APK File

analyzing 704

APK Signing 736

APK Wizard dialog 696

App Architecture

modern 251

AppBar

anatomy of 401

appbar_scrolling_view_behavior 403

App Bundles 693

creating 698

overview 693

revisions 703

uploading 700

AppCompatActivity class 90

Application

stopping 31

Application Context 75

Application Framework 71

Application Manifest 75

Application Resources 75

App Link

Adding Intent Filter 668

Assistant 663

Digital Assets Link file 661

Intent Filter Handling 668

Intent Filters 659

Intent Handling 660

Testing 671

tutorial 663

URL Mapping 665

website association 672

App Link Assistant 663

App Links 659

overview 659

Apply Changes 197

Apply Changes and Restart Activity 197

Apply Code Changes 197

fallback settings 199

options 197

Run App 197

tutorial 199

Architecture Components 251

ART 70

assetlinks.json 661

Attribute Keyframes 330

Audio

supported formats 603

Audio Playback 603

Audio Recording 603

Autoconnect Mode 144

AVD

command-line creation 28, 34

configuration files 36

creation 28

overview 27

renaming 36

running an application 29

starting 29

Startup size and orientation 29

B

Background Process 84

Barriers 138

adding 156

constrained views 138

Base APK file 708

Baseline Alignment 137

beginTransaction() method 236

Binding Expressions 275

one-way 275

two-way 276

BIND_JOB_SERVICE permission 462

bindService() method 460, 471, 476

Biometric Authentication 685

callbacks 689

overview 685

tutorial 685

Biometric Prompt 691

BitmapFactory 560

black activity 14

Blank template 115

Blueprint view 143

BODY_SENSORS permission 596

Bottom Up 679

Bound Service 459, 460, 471

adding to a project 472

Implementing the Binder 472

Interaction options 471

BoundService class 473

Broadcast Intent 439

example 442

overview 74, 439

sending 442

Sticky 441

Broadcast Receiver 439

adding to manifest file 444

creation 443

overview 74, 440

BroadcastReceiver class 440

BroadcastReceiver superclass 443

BufferedReader object 571

Build Variants 736

Build Variants tool window 49

Bundle class 106

Bundled Notifications 494

C

Calendar permissions 596

Call Chart 680

CALL_PHONE permission 596

CAMERA permission 596

Camera permissions 596

CameraUpdateFactory class

methods 624

CancellationSignal 690

Canvas class 654

CardView

example 383

layout file 381

responding to selection of 389

CardView class 381

CATEGORY_OPENABLE 558

C/C++ Libraries 71

Chain bias 164

chain head 136

chains 136

Chains

creation of 161

Chain style

changing 163

chain styles 136

CharSequence 107

CheckBox 111

checkSelfPermission() method 600

Circle class 613

Code completion 62

Code Editor

basics 59

Code completion 62

Code Generation 64

Code Reformatting 67

Document Tabs 60

Editing area 60

Gutter Area 60

Live Templates 68

Splitting 61

Statement Completion 63

Status Bar 61

Code Generation 64

code samples

download 1

CollapsingToolbarLayout

example 404

introduction 404

parallax mode 404

pin mode 404

setting scrim color 407

setting title 407

with image 404

Color class 655

COLOR_MODE_COLOR 630, 650

COLOR_MODE_MONOCHROME 630, 650

com.android.application 711

com.android.dynamic-feature 711

Common Gestures 217

detection 217

Component tree 17

Configuration APK file 708

Constraint Bias 135

adjusting 148

ConstraintLayout

advantages of 141

Availability 142

Barriers 138

Baseline Alignment 137

chain bias 164

chain head 136

chains 136

chain styles 136

Constraint Bias 135

Constraints 133

conversion to 160

convert to MotionLayout 337

deleting constraints 148

guidelines 154

Guidelines 138

manual constraint manipulation 145

Margins 134, 149

Opposing Constraints 134, 150

overview of 133

Packed chain 137, 164

ratios 141, 165

Spread chain 136

Spread inside 163

Spread inside chain 136

tutorial 169

using in Android Studio 143

Weighted chain 136, 164

Widget Dimensions 137, 152

Widget Group Alignment 159

ConstraintLayout chains

creation of 161

in layout editor 161

ConstraintLayout Chain style

changing 163

Constraints

deleting 148

ConstraintSet

addToHorizontalChain() method 186

addToVerticalChain() method 186

alignment constraints 185

apply to layout 184

applyTo() method 184

centerHorizontally() method 185

centerVertically() method 185

chains 185

clear() method 186

clone() method 185

connect() method 184

connect to parent 184

constraint bias 185

copying constraints 185

create 184

create connection 184

createHorizontalChain() method 185

createVerticalChain() method 185

guidelines 186

removeFromHorizontalChain() method 186

removeFromVerticalChain() method 186

removing constraints 186

rotation 187

scaling 186

setGuidelineBegin() method 186

setGuidelineEnd() method 186

setGuidelinePercent() method 186

setHorizonalBias() method 185

setRotationX() method 187

setRotationY() method 187

setScaleX() method 186

setScaleY() method 186

setTransformPivot() method 187

setTransformPivotX() method 187

setTransformPivotY() method 187

setVerticalBias() method 185

sizing constraints 185

tutorial 189

view IDs 191

ConstraintSet class 183, 184

ConstraintSet.PARENT_ID 184

Constraint Sets 184

ConstraintSets

configuring 326

Contacts permissions 596

container view 111

Content Provider 72

overview 75

Context class 75

CoordinatorLayout 112, 401, 403

CPU Profiler 678

createPrintDocumentAdapter() method 645

Custom Attribute 327

Custom Document Printing 633, 645

Custom Gesture

recognition 223

Custom Print Adapter

implementation 647

Custom Print Adapters 645

Cycle Editor 355

Cycle Keyframe 335

Cycle Keyframes

overview 351

D

dangerous permissions 595

list of 596

Dark Theme 31

enable on device 31

Data Access Object (DAO) 524

Data Access Objects (DAO) 528

Database Inspector 531, 555

live updates 556

SQL query 556

Database Rows 518

Database Schema 517

Database Tables 517

Data binding

binding expressions 275

Data Binding 254

binding classes 274

enabling 281

event and listener binding 276

key components 271

overview 271

tutorial 279

with LiveData 254

DDMS 31

Debugging

enabling on device 53

deltaRelative 331

Density-independent pixels 179

Density Independent Pixels

converting to pixels 194

Developer Signature 614

Device Definition

custom 128

Digital Asset Link file 672

Digital Assets Link file 661

Direct Reply Input 505

Direct Reply Notification 499

document provider 557

dp 179

Dynamic Delivery 710

Dynamic Feature APK 708

Dynamic Feature Module

architecture 707

overview 707

removal 733

tutorial 717

Dynamic Feature Modules

deferred installation 713

handling of large 715

Dynamic Feature Support

adding to project 717

Dynamic State 91

saving 105

E

Empty Process 85

Empty template 115

Emulator

battery simulation 40

cellular configuration 40

configuring fingerprints 42

creation 28

directional pad 40

extended control options 39

Extended controls 39

fingerprint 40

location configuration 39

phone settings 40

resize 39

rotate 38

Screen Record 40

Snapshots 40

starting 29

take screenshot 38

toolbar 37

toolbar options 37

Virtual Sensors 40

zoom 38

enabling ADB support 53

Energy Profiler 684

Event Handling 203

example 204

Event Listener 206

Event Listeners 204

Event Log tool window 49

Events

consuming 207

explicit

intent 74

explicit intent 417

Explicit Intent 417

Extended Control

options 39

F

Favorites tool window 49

Files

switching between 60

findPointerIndex() method 210

findViewById() 77

Fingerprint

emulation 42

Fingerprint authentication

device configuration 686

permission 686

steps to implement 685

Fingerprint Authentication

overview 685

tutorial 685

FLAG_INCLUDE_STOPPED_PACKAGES 439

Flame Chart 680

flexible space area 401

floating action button 14, 116, 363

changing appearance of 367

margins 364

overview of 363

removing 117

sizes 364

Foldable Devices 94

multi-resume 94

Foldable Emulator 510

Foldables 509

Foreground Process 84

Forward-geocoding 617

Fragment

creation 233

event handling 237

XML file 233, 234

FragmentActivity class 90

Fragment Communication 238

Fragments 233

adding in code 236

duplicating 372

example 241

overview 233

FragmentStateAdapter class 369, 375

createFragment() 375

getItemCount() 375

FrameLayout 112

G

Geocoder class 616

Geocoder object 617

Geocoding 616

Gesture Builder Application 223

building and running 224

Gesture Detector class 217

GestureDetectorCompat 220

instance creation 220

GestureDetectorCompat class 217

GestureDetector.OnDoubleTapListener 217, 218

GestureDetector.OnGestureListener 218

GestureLibrary 223

GestureLibrary class 223

GestureOverlayView 223

configuring color 229

configuring multiple strokes 229

GestureOverlayView class 223

GesturePerformedListener 223

Gestures

interception of 229

Gestures File

creation 224

extract from SD card 225

loading into application 226

GET_ACCOUNTS permission 596

getAction() method 445

getFromLocation() method 617

getId() method 184

getIntent() method 418

getPointerCount() method 210

getPointerId() method 210

getService() method 476

GNU/Linux 70

Google Cloud Print 628

Google Drive 558

printing to 628

GoogleMap 613

map types 620

GoogleMap.MAP_TYPE_HYBRID 621

GoogleMap.MAP_TYPE_NONE 620

GoogleMap.MAP_TYPE_NORMAL 621

GoogleMap.MAP_TYPE_SATELLITE 621

GoogleMap.MAP_TYPE_TERRAIN 621

Google Maps 613

Google Maps Android API 613

Controlling the Map Camera 624

developer signature 614

displaying controls 621

gesture handling 622

Map Markers 623

overview 613

Google Play Developer Console 694

Gradle

APK signing settings 740

Build Variants 736

command line tasks 741

dependencies 735

Manifest Entries 736

overview 735

sensible defaults 735

Gradle Build File

top level 736

Gradle Build Files

module level 738

Gradle tool window 49

GridLayout 112

GridLayoutManager 379

H

Handler class 480

HP Print Services Plugin 627

HTML printing 631

HTML Printing

example 635

I

IBinder 460, 473

IBinder object 471, 479, 481

Image Printing 630

implicit

intent 74

implicit intent 417

Implicit Intent 419

Implicit Intents

example 431

in 179

In-Memory Database 531

Instant Dynamic Feature Module 708

Intent 74

explicit 74

implicit 74

Intent Availability

checking for 421

Intent.CATEGORY_OPENABLE 565

intent filters 417

Intent Filters 420

App Link 659

intent resolution 420

Intents 417

overview 417

Intent Service 459

IntentService class 459, 462

Intent URL 433

J

Java Native Interface 71

Jetpack 251

overview 251

JobIntentService 459, 463, 464, 466

BIND_JOB_SERVICE permission 462

onHandleWork() method 459

K

KeyAttribute 330

Keyboard Shortcuts 50

KeyCycle 335, 351

Cycle Editor 355

tutorial 351

Keyframe 343

Keyframes 330

KeyFrameSet 360

KeyPosition 331

deltaRelative 331

parentRelative 331

pathRelative 332

Keystore File

creation 696

KeyTimeCycle 335, 351

KeyTrigger 335

Killed state 86

L

launcher activity 170

layout_collapseMode

parallax 406

pin 406

layout_constraintDimentionRatio 166

layout_constraintHorizontal_bias 164

layout_constraintVertical_bias 164

layout editor

ConstraintLayout chains 161

Layout Editor 16, 169

Autoconnect Mode 144

code mode 122

Component Tree 120

design mode 119

device screen 119

example project 169

Inference Mode 145

palette 119

properties panel 120

Sample Data 128

Setting Properties 123

toolbar 120

user interface design 171

view conversion 127

Layout Editor Tool

changing orientation 16

overview 119

Layout Managers 111

LayoutResultCallback object 651

Layouts 111

layout_scrollFlags

enterAlwaysCollapsed mode 403

enterAlways mode 403

exitUntilCollapsed mode 403

scroll mode 403

Layout Validation 130

libc 71

Lifecycle

awareness 293

components 254

owners 293

states and events 295

tutorial 297

Lifecycle-Aware Components 293

Lifecycle Methods 92

Lifecycle Observer 297

creating a 297

Lifecycle Owner

creating a 300

Lifecycles

modern 254

LinearLayout 112

LinearLayoutManager 379

LinearLayoutManager layout 388

Linux Kernel 70

list devices 53

LiveData 252, 265

adding to ViewModel 265

observer 267

tutorial 265

Live Templates 68

Local Bound Service 471

example 471

Location Manager 72

Location permission 596

LogCat

enabling 100

filter configuration 101

M

Manifest File

permissions 434

Maps 613

MapView 613

adding to a layout 618

Marker class 613

Master/Detail Flow

creation 410

Object Kind 410

two pane mode 409

match_parent properties 179

Material design 363

MediaController

adding to VideoView instance 577

MediaController class 574

methods 574

MediaPlayer class 603

methods 603

MediaRecorder class 603

methods 604

recording audio 604

Memory Profiler 681

Messenger object 481

Microphone

checking for availability 606

Microphone permissions 596

mm 179

MotionEvent 209, 210, 231

getActionMasked() 210

MotionLayout 325

arc motion 330

Attribute Keyframes 330

ConstraintSets 326

Custom Attribute 346

Custom Attributes 327

Cycle Editor 355

Cycle Keyframes 335

Editor 337

KeyAttribute 330

KeyCycle 351

Keyframes 330

KeyFrameSet 360

KeyPosition 331

KeyTimeCycle 351

KeyTrigger 335

OnClick 329, 342

OnSwipe 329

overview 325

Position Keyframes 331

previewing animation 341

starting animation 328

Trigger Keyframe 335

Tutorial 337

MotionScene

ConstraintSets 326

Custom Attributes 327

file 326

overview 325

transition 326

moveCamera() method 624

Multiple Touches

handling 210

multi-resume 94

Multi-Touch

example 210

Multi-touch Event Handling 209

Multi-Window

attributes 513

Multi-Window Mode

detecting 514

entering 511

launching activity into 515

Multi-Window Notifications 514

multi-window support 94

Multi-Window Support

enabling 512

My Location Layer 614

N

Navigation 303

adding destinations 313

overview 303

pass data with safeargs 319

passing arguments 308

safeargs 308

stack 303

tutorial 309

Navigation Action

triggering 307

Navigation Architecture Component 303

Navigation Component

tutorial 309

Navigation Controller

accessing 307

Navigation Graph 306, 310

adding actions 315

creating a 310

Navigation Host 304

declaring 311

Network Profiler 682

normal permissions 595

Notification

adding actions 494

direct reply 499

Direct Reply Input 505

issuing a basic 490

launch activity from a 492

PendingIntent 501

Reply Action 502

updating direct reply 506

Notifications 485

bundled 494

overview 485

Notifications Manager 72

O

Observer

implementing a LiveData 267

onActivityResult() method 419, 428, 564, 565

onAttach() method 238

onBind() method 460, 467, 471, 479

onBindViewHolder() method 387

OnClick 329

onClickListener 204, 206, 208

onClick() method 203

onCreateContextMenuListener 204

onCreate() method 84, 92, 460

on-demand modules 707

onDestroy() method 92, 460

onDoubleTap() method 217

onDown() method 217

onFling() method 217

onFocusChangeListener 204

OnFragmentInteractionListener

implementation 317

onGesturePerformed() method 223

onHandleIntent() method 464

onHandleWork() method 459, 460, 464

onKeyListener 204

onLayoutFailed() method 651

onLayoutFinished() method 651

onLongClickListener 204, 207

onLongClick() method 208

onLongPress() method 217

onMapReady() method 619

onPageFinished() callback 636

onPause() method 92

onReceive() method 84, 440, 441, 443

onRequestPermissionsResult() method 599, 611

onRestart() method 92

onRestoreInstanceState() method 93

onResume() method 84, 92

onSaveInstanceState() method 93

onScaleBegin() method 229

onScaleEnd() method 229

onScale() method 229

onScroll() method 217

OnSeekBarChangeListener 247

onServiceConnected() method 471, 475, 482

onServiceDisconnected() method 471, 475, 482

onShowPress() method 217

onSingleTapUp() method 217

onStartCommand() method 460, 467, 468

onStart() method 92

onStop() method 92

onTouchEvent() method 217, 229

onTouchListener 204, 209

onTouch() method 209

openFileDescriptor() method 558, 559

P

Package Explorer 15

Package Manager 72

PackageManager class 606

PackageManager.FEATURE_MICROPHONE 606

PackageManager.PERMISSION_DENIED 597

PackageManager.PERMISSION_GRANTED 597

Package Name 14

Packed chain 137, 164

PageRange 652, 653

Paint class 655

parentRelative 331

parent view 113

pathRelative 332

Paused state 86

PdfDocument 633

PdfDocument.Page 645, 652

PendingIntent class 501

Permission

checking for 597

permissions

dangerous 595

normal 595

Persistent State 91

Phone permissions 596

picker 557

Pinch Gesture

detection 229

example 230

Pinch Gesture Recognition 223

Play Core Library 713, 717

Polygon class 613

Polyline class 613

Position Keyframes 331

PrintAttributes 650

PrintDocumentAdapter 633, 645

PrintDocumentInfo 650

Printing

color 630

monochrome 630

Printing framework

architecture 627

Printing Framework 627

Print Job

starting 656

Print Manager 627

PrintManager service 637

PROCESS_OUTGOING_CALLS permission 596

Process States 83

Profiler 675

Bottom Up 679

Call Chart 680

CPU Profiler 678

enable advanced profiling 675

Energy Profiler 684

Flame Chart 680

Instrumented 678

Memory 681

Network 682

Sampled 678

Sessions Panel 677

Top Down 679

ProgressBar 111

proguard-rules.pro file 739

ProGuard Support 736

Project Name 14

Project tool window 15, 49

pt 179

putExtra() method 417, 439

px 180

Q

Quick Documentation 66

R

RadioButton 111

ratios 165

READ_CALENDAR permission 596

READ_CALL_LOG permission 596

READ_CONTACTS permission 596

READ_EXTERNAL_STORAGE permission 597

READ_PHONE_STATE permission 596

READ_SMS permission 596

RECEIVE_MMS permission 596

RECEIVE_SMS permission 596

RECEIVE_WAP_PUSH permission 596

Recent Files Navigation 50

RECORD_AUDIO permission 596

Recording Audio

permission 605

RecyclerView 379

adding to layout file 380

example 383

GridLayoutManager 379

initializing 388

LinearLayoutManager 379

StaggeredGridLayoutManager 379

RecyclerView Adapter

creation of 386

RecyclerView.Adapter 380, 386

getItemCount() method 380

onBindViewHolder() method 380

onCreateViewHolder() method 380

RecyclerView.ViewHolder

getAdapterPosition() method 390

registerReceiver() method 441

RelativeLayout 112

release mode 693

releasePersistableUriPermission() method 561

Release Preparation 693

Remote Bound Service 479

client communication 479

implementation 480

manifest file declaration 481

RemoteInput.Builder() method 501

RemoteInput Object 501

Remote Service

launching and binding 482

sending a message 483

Repository

tutorial 541

Repository Modules 254

requestPermissions() method 599

Resource

string creation 19

Resource File 21

Resource Management 83

Resource Manager 72

result receiver 441

Reverse-geocoding 617

Reverse Geocoding 616

Room

Data Access Object (DAO) 524

entities 524, 525

In-Memory Database 531

Repository 524

Room Database 524

tutorial 541

Room Database Persistence 523

Room Persistence Library 521, 523

root element 111

root view 113

Runtime Permission Requests 595

Run tool window 49

S

safeargs 308, 319

Sample Data 128, 393

tutorial 393

Saved State 253, 287

library dependencies 289

SavedStateHandle 288, 289

contains() method 289

keys() method 289

remove() method 289

Saved State module 287

SavedStateViewModelFactory 288, 289

ScaleGestureDetector class 229

Scale-independent 180

SD Card storage 605

SDK Manager 45

SDK Packages 6

SDK Settings 6

Secure Sockets Layer (SSL) 71

SeekBar 241

sendBroadcast() method 439, 441

sendOrderedBroadcast() method 439, 441

SEND_SMS permission 596

sendStickyBroadcast() method 439

Sensor permissions 596

Service

anatomy 460

launch at system start 462

manifest file entry 461

overview 74

run in separate process 462

starting 465

ServiceConnection class 482

Service Process 84

Service Restart Options 461

Service Tasks

in new thread 469

setAudioEncoder() method 604

setAudioSource() method 604

setBackgroundColor() 184

setCompassEnabled() method 622

setContentView() method 183, 189

setId() method 184

setMyLocationButtonEnabled() method 622

setOnClickListener() method 203, 206

setOnDoubleTapListener() method 217, 220

setOutputFile() method 604

setOutputFormat() method 604

setResult() method 419

setRotateGesturesEnabled() method 623

setScrollGesturesEnabled() method 622

setText() method 108

setTiltGesturesEnabled() method 622

setTransition() 335

setVideoSource() method 604

setZoomControlsEnabled() method 622

shouldOverrideUrlLoading() method 636

shouldShowRequestPermissionRationale() method 601

SimpleOnScaleGestureListener 229

SimpleOnScaleGestureListener class 231

SMS permissions 596

Snackbar 363, 364, 365

overview of 364

Snapshots

emulator 41

sp 180

Space class 112

split APK files 708

SplitCompatApplication 712

SplitInstallManager 713

Spread chain 136

Spread inside 163

Spread inside chain 136

SQL 518

SQLite 517

AVD command-line use 519

Columns and Data Types 517

overview 518

Primary keys 518

StaggeredGridLayoutManager 379

startActivityForResult() method 419, 428

startActivity() method 417

Started Service 459

example 463

startForeground() method 84

START_NOT_STICKY 461

START_REDELIVER_INTENT 461

startService() method 459

START_STICKY 461

State

restoring 108

State Change

handling 87

Statement Completion 63

status bar 401

Sticky Broadcast Intents 441

Stopped state 86

stopSelf() method 459

stopService() method 459

Storage Access Framework 557

ACTION_CREATE_DOCUMENT 558

ACTION_OPEN_DOCUMENT 558

deleting a file 561

example 563

file creation 564

file filtering 558

file reading 560

file writing 560

intents 558

MIME Types 559

Persistent Access 561

picker 557

Storage permissions 597

StringBuilder object 571

strings.xml file 23

Structured Query Language 518

Structure tool window 49

SupportMapFragment class 613

Switcher 50

System Broadcasts 445

system requirements 3

T

tab bar 401

TabLayout 369

adding to layout 372

app

tabGravity property 377

tabMode property 377

example 370

fixed mode 376

getItem() method 369

overview 369

scrollable mode 377

TabLayoutMediator class 376

TableLayout 112, 533

TableRow 533

Telephony Manager 72

Templates

blank vs. empty 115

Terminal tool window 49

Time Cycle Keyframes 335

TODO tool window 49

toolbar 401

ToolbarListener 238

tools

layout 235

tool window bars 47

Tool Windows 47

Top Down 679

Touch Actions 210

Touch Event Listener

implementation 211

Touch Events

intercepting 209

Touch handling 209

U

UiSettings class 613

unbindService() method 460

unregisterReceiver() method 441

URL Mapping 665

USB debugging

enabling 54

USE_BIOMETRIC 686

user interface state 91

USE_SIP permission 596

V

Video Playback 573

VideoView class 573

methods 573

supported formats 573

view bindings 77

enabling 78

using 78

View class

setting properties 190

view conversion 127

ViewGroup 111

View Groups 111

View Hierarchy 113

ViewHolder class 380

sample implementation 387

ViewModel

adding LiveData 265

data access 263

fragment association 261

overview 252

saved state 287

Saved State 253, 287

tutorial 257

ViewModelProvider 261

ViewModel Saved State 287

ViewPager2 class 369

Views 111

Java creation 183

View System 72

Virtual Device Configuration dialog 28

Virtual Sensors 40

Visible Process 84

W

WebViewClient 631, 636

WebView view 433

Weighted chain 136, 164

Widget Dimensions 137

Widget Group Alignment 159

Widgets palette 172

wrap_content properties 182

WRITE_CALENDAR permission 596

WRITE_CALL_LOG permission 596

WRITE_CONTACTS permission 596

WRITE_EXTERNAL_STORAGE permission 597

X

XML Layout File

manual creation 179

vs. Java Code 183

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.131.168