Index
A
- Action Bar
- Search icon, adding to / Adding Search to the Action Bar, How to do it..., How it works...
- setting, as overlay / Setting the Action Bar as an overlay
- activity
- declaring / Declaring an activity, How to do it..., How it works...
- starting, with intent object / Starting a new activity with an intent object, How it works..., There's more...
- switching between / Switching between activities, How to do it..., How it works...
- data, passing / Passing data to another activity, How it works...
- result, returning / Returning a result from an activity, There's more...
- state, saving / Saving an activity's state, How to do it..., There's more..., See also
- life cycle / Understanding the activity life cycle, How to do it..., There's more...
- alarms
- scheduling / How to schedule an alarm, How it works...
- canceling / Cancel the alarm
- repeating / Repeating alarm
- AlertDialog
- message box, displaying / Displaying a message box with AlertDialog, How to do it..., There's more...
- icon, adding / Add an icon
- list, using / Using a list
- custom layout / Custom layout
- Android 6.0 Runtime Permission Model / The Android 6.0 Runtime Permission Model, How to do it..., There's more...
- Android Manifest
- about / How it works...
- OpenGL ES, declaring / Declaring OpenGL in the Android Manifest
- Android N
- external storage, accessing with scoped directories / Accessing external storage with scoped directories in Android N, There's more...
- Android project
- creating, with Kotlin / How to create an Android project with Kotlin, How it works..., See also
- Android Sensor Framework
- about / Listing available sensors – an introductionto the Android Sensor Framework
- reference link / See also
- events, using / Reading sensor data – using Android Sensor Framework events, There's more...
- animated image (GIF/WebP)
- displaying, with ImageDecoder library / Displaying animated image (GIF/WebP) with the new ImageDecoder library, Getting ready, How it works...
- animation resources
- reference link / See also
- app full-screen
- displaying / Showing your app full-screen, Getting ready, How to do it..., How it works...
- Application Not Responding (ANR) / Accessing data in the background using a Loader, How it works..., Using the AsyncTask for background work
- App Widget Design Guidelines
- reference link / See also
- AsyncTask
- using, for background work / Using the AsyncTask for background work, How it works...
- parameter types / Parameter types
- canceling / Canceling the task
- audio
- playing, with MediaPlayer / Playing audio with MediaPlayer, How to do it..., How it works...
- AudioManager
- used, for checking hardware type / Checking the hardware type
B
- background work
- AsyncTask, using / Using the AsyncTask for background work
- button state
- showing, with graphics / Using graphics to show button state, How to do it..., There's more...
C
- cache folder
- using / Caching files
- Camera2 API
- used, for taking picture / Taking a picture using the Camera2 API, How to do it..., How it works..., There's more...
- camera preview, setting up / Setting up the camera preview
- image, capturing / Capturing the image
- camera View
- applying, while drawing / Applying the projection and camera view while drawing, How it works...
- card flip animation
- creating, with Fragment / Creating a Card Flip Animation with Fragments, How to do it..., How it works...
- circle image
- creating, with ImageDecoder / Creating a circle image with the new ImageDecoder, How to do it..., There's more...
- click events
- listening for / Listening for click and long-press events, There's more...
- compass
- creating, with sensor data / Creating a Compass using sensor data and RotateAnimation, How to do it..., There's more...
- creating, with RotateAnimation / Creating a Compass using sensor data and RotateAnimation, How to do it..., There's more...
- connection type
- contextual action bar (CAB) / Creating a floating context menu
- contextual action mode
- enabling, for view / Enabling Contextual Action Mode for a view, How to do it..., There's more...
- contextual batch mode
- using, with RecyclerView / Using Contextual Batch Mode with RecyclerView, Getting ready, How it works...
- custom component
- creating / Creating a custom component, How it works...
- custom layout
- used, for creating Toast / Creating a Toast with a custom layout, Getting ready, How to do it..., How it works...
D
- data
- passing, to activity / Passing data to another activity, How it works...
- passing, between Fragment / Passing data between Fragments, How to do it..., How it works..., There's more...
- storing / Storing simple data, How to do it..., There's more...
- accessing, in background with Loader / Accessing data in the background using a Loader, How it works...
- default camera app
- used, for taking photo / Taking a photo with the default camera app, How it works...
- default video app
- calling / Calling the default video app
- designated folders
- using, for screen-specific resources / Using designated folders for screen-specific resources
- device boot
- notification, receiving / Receiving notification of device boot, There's more...
- device location
- obtaining / How to get the device location, How to do it..., There's more..., See also
- device orientation
- reading / Reading device orientation, How to do it...
- current device rotation, obtaining / Getting current device rotation
- drawable animation / Introduction
E
- emulator
- used, for setting mock location / Mock locations
- environment sensors / Environment sensors
- existing SMS messages
- reading / Reading existing SMS messages
- external storage
- text file, reading to / Read and write a text file to external storage, How it works...
- text file, writing to / Read and write a text file to external storage, How it works...
- public folders, obtaining / Getting public folders
- available space, checking / Checking available space
- file, deleting / Deleting a file
- directories, working with / Working with directories
- files, preventing from being included in galleries / Preventing files from being included in galleries
- accessing, with scoped directories in Android N / Accessing external storage with scoped directories in Android N, There's more...
F
- Flashlight
- creating, with Heads-Up Notification / Making a Flashlight with a Heads-Up Notification, Getting ready, How to do it..., How it works...
- floating context menu
- creating / Creating a floating context menu
- Fragment
- creating / Creating and using a Fragment, How it works...
- using / Creating and using a Fragment, There's more...
- callbacks / Creating and using a Fragment
- adding, during runtime / Adding and removing Fragments during runtime, How it works...
- data, passing between / Passing data between Fragments, How to do it..., How it works..., There's more...
- used, for creating card flip animation / Creating a Card Flip Animation with Fragments, How to do it..., How it works...
- Fragment back stack
- handling / Handling the Fragment back stack, There's more...
G
- Geofence
- creating / Creating and monitoring a Geofence, How to do it..., There's more...
- monitoring / Creating and monitoring a Geofence, How to do it..., There's more...
- gestures
- recognizing / Recognizing tap and other common gestures, How it works...
- GLSurfaceView
- shapes, drawing / Drawing shapes on GLSurfaceView, Getting ready, How it works...
- GLSurfaceView.Renderer class
- creating / Creating an OpenGL rendered class
- GoogleApiClient OnConnectionFailedListener
- reported problems, resolving / Resolving problems reported with theGoogleApiClient OnConnectionFailedListener, How to do it..., There's more...
- Google sign-in
- graphics
- using, to show button state / Using graphics to show button state, How to do it..., There's more...
- GridLayout / Creating tables – TableLayout and GridLayout, How to do it..., There's more...
H
- hardware media controls
- responding to / Responding to hardware media controls in your app, How it works...
- Heads-Up Notification
- Flashlight, creating / Making a Flashlight with a Heads-Up Notification, Getting ready, How to do it..., How it works...
- Home screen
- shortcut, creating on / Creating a shortcut on the Home screen, Getting ready, How to do it...
- Home screen widget
I
- ImageDecoder library
- used, for displaying animated image (GIF/WebP) / Displaying animated image (GIF/WebP) with the new ImageDecoder library, Getting ready, How it works...
- used, for creating circle image / Creating a circle image with the new ImageDecoder, How to do it..., There's more...
- images
- Immersive Mode / Showing your app full-screen
- inheritance / There's more...
- intent object
- used, for starting activity / Starting a new activity with an intent object, How it works..., There's more...
- internal storage
- text file, reading to / Read and write a text file to internal storage, How it works...
- text file, writing to / Read and write a text file to internal storage, How it works...
K
- Kotlin
- need for / Introduction
- used, for creating Android project / How to create an Android project with Kotlin, How it works..., See also
- Toast, creating / Creating a Toast in Kotlin, How it works...
- runtime permission / Runtime permission in Kotlin, How it works...
L
- layout
- about / Introduction
- defining / Defining and inflating a layout, How it works...
- inflating / Defining and inflating a layout, How it works...
- properties, changing during runtime / Changing layout properties during runtime, How it works...
- widget, inserting / Inserting a widget into a layout, How to do it..., How it works...
- limitations, Android Transition Framework
- SurfaceView / A transition animation – defining scenes and applying a transition
- TextView / A transition animation – defining scenes and applying a transition
- AdapterView / A transition animation – defining scenes and applying a transition
- TextureView / A transition animation – defining scenes and applying a transition
- LinearLayout
- using / Using LinearLayout, How it works..., There's more...
- Loader
- used, for accessing data in background / Accessing data in the background using a Loader, How it works...
- long-press events
- listening for / Listening for click and long-press events, There's more...
M
- MediaPlayer
- used, for playing audio / Playing audio with MediaPlayer, How to do it..., How it works...
- used, for playing music in background / Playing music in the background
- hardware volume keys, used for controlling app's audio volume / Using hardware volume keys to control your app's audio volume
- Media Player Notification
- menu items
- using, to launch an activity / Using a menu item to launch an activity
- grouping / Grouping menu items
- modifying, during runtime / Modifying menus and menu items during runtime, There's more...
- menus
- modifying, during runtime / Modifying menus and menu items during runtime, There's more...
- message box
- displaying, with AlertDialog / Displaying a message box with AlertDialog, How to do it..., There's more...
- mock locations
- setting / Mock locations
- motion sensors / Motion sensors
- multi-touch gestures
- used, for pinch-to-zoom / Pinch-to-zoom with multi-touch gestures, Getting ready, How it works...
- multipart messages
- sending / Multipart messages
N
- network state changes
- monitoring / Monitoring network state changes
- Notifications
- using, for lights / Lights, Action, and Sound Redux using Notifications, How to do it..., How it works..., There's more...
- using, for actions / Lights, Action, and Sound Redux using Notifications, How to do it..., How it works..., There's more...
- using, for Sound Redux / Lights, Action, and Sound Redux using Notifications, How to do it..., How it works..., There's more...
- button, adding with addAction() / Adding a button to the notification using addAction()
- expanded notifications / Expanded notifications
- lock screen notifications / Lock screen notifications
- with Direct Reply / Notifications with Direct Reply, How to do it..., How it works...
O
- online status
- OpenGL ES environment
- setting up / Setting up the OpenGL ES environment, How it works...
- OpenGL Shading Language (GLSL) / Drawing shapes on GLSurfaceView
- OpenGL SurfaceView class
- creating, by extending GLSurfaceView / Extending the GLSurfaceView class
- Open Graphics Library for Embedded Systems (OpenGL ES)
- about / Introduction
- declaring, in Android Manifest / Declaring OpenGL in the Android Manifest
- setRenderMode() option / The render mode
- options menu
- creating / Creating an options menu, Getting ready, There's more...
- submenus, creating / Creating submenus
P
- persistent activity data
- storing / Storing persistent activity data, There's more...
- preference file, using / Using more than one preference file
- phone call
- making / How to make a phone call, How it works...
- events, monitoring / Monitoring phone call events, There's more...
- phone number blocking API / Phone number blocking API, How to do it..., There's more...
- photo
- taking, with default camera app / Taking a photo with the default camera app, How it works...
- picture
- taking, with Camera2 API / Taking a picture using the Camera2 API, How to do it..., How it works..., There's more...
- pinch-to-zoom
- with multi-touch gestures / Pinch-to-zoom with multi-touch gestures, Getting ready, How it works...
- pop-up menu
- creating / Creating a pop-up menu, How to do it...
- position sensors / Position sensors
- progress dialog
- displaying / Displaying a progress dialog, Getting ready, How to do it..., How it works...
- projection
- applying, while drawing / Applying the projection and camera view while drawing, How it works...
- property animation / Introduction
- Protocol Data Unit (PDU)
- reference link / See also
R
- RecyclerView
- replacing, with ListView / RecyclerView replaces ListView, How to do it..., There’s more…
- contextual batch mode, using / Using Contextual Batch Mode with RecyclerView, Getting ready, How it works...
- RelativeLayout
- using / Using RelativeLayout, There's more...
- RemoteViews
- reference / See also
- Request Code / There's more...
- resource files
- including, in project / Including resource files in your project, How to do it..., There's more...
- RotateAnimation
- used, for creating compass / Creating a Compass using sensor data and RotateAnimation, How to do it..., There's more...
S
- scenes
- scoped directories
- used, for accessing external storage in Android N / Accessing external storage with scoped directories in Android N, There's more...
- screen-specific resources
- designated folders, using / Using designated folders for screen-specific resources
- Search icon
- adding, to Action Bar / Adding Search to the Action Bar, How to do it..., How it works...
- sensor data
- reading / Reading sensor data – using Android Sensor Framework events, There's more...
- used, for creating compass / Creating a Compass using sensor data and RotateAnimation, How to do it..., There's more...
- sensors
- listing / Listing available sensors – an introductionto the Android Sensor Framework, Getting ready
- environment sensors / Environment sensors
- position sensors / Position sensors
- motion sensors / Motion sensors
- setRenderMode() option / The render mode
- shapes
- drawing, on GLSurfaceView / Drawing shapes on GLSurfaceView, Getting ready, How it works...
- shortcut
- creating, on Home screen / Creating a shortcut on the Home screen, Getting ready, How to do it...
- removing / There's more...
- slideshow
- creating, with ViewPager / Creating a slideshow with ViewPager, How to do it..., There's more...
- SMS messages
- sending / How to send SMS (text) messages, How to do it..., There's more...
- delivery status notification / Delivery status notification
- receiving / Receiving SMS messages, How to do it..., There's more...
- SoundBible.com
- references / Getting ready
- sound effects
- playing, with SoundPool / Playing sound effects with SoundPool, How to do it..., How it works...
- SoundPool
- used, for playing sound effects / Playing sound effects with SoundPool, How to do it..., How it works...
- speech recognition
- SQLite database
- creating / Creating and using an SQLite database, How to do it..., How it works...
- using / Creating and using an SQLite database, How to do it..., How it works...
- upgrading / Upgrading a database
- Sticky Immersion / Sticky Immersion
- Storage Access Framework (SAF)
- reference link / See also
- style
- applying, to View / Applying a style to a View, There's more...
- turning, into theme / Turning a style into a theme, How to do it..., There's more...
- Swipe-to-Refresh gesture / Swipe-to-Refresh, How to do it..., There's more...
- System UI
- dimming / Dimming the System UI
T
- TableLayout / Creating tables – TableLayout and GridLayout, How to do it..., There's more...
- tables
- tap
- recognizing / Recognizing tap and other common gestures, How it works...
- text file
- reading, to internal storage / Read and write a text file to internal storage, How it works...
- writing, to internal storage / Read and write a text file to internal storage, How it works...
- reading, to external storage / Read and write a text file to external storage, How it works...
- writing, to external storage / Read and write a text file to external storage, How it works...
- theme
- selecting, based on Android version / Selecting a theme based on the Android version, How to do it..., How it works...
- Toast
- creating, with custom layout / Creating a Toast with a custom layout, Getting ready, How to do it..., How it works...
- transition animation
- applying / A transition animation – defining scenes and applying a transition, How to do it..., There's more...
- used, for creating zoom animation / Creating a Zoom Animation with a Custom Transition, How to do it..., How it works...
- translucent system bars / Translucent system bars
- triangle
- moving, with rotation / Moving the triangle with rotation, How to do it...
- rotating, with user input / Rotating the triangle with user input, How to do it..., There's more...
- types, Menu API
- options menu / Introduction
- action bar / Introduction
- ContextualMode / Introduction
- pop-up menu / Introduction
U
- user input
- used, for rotating triangle / Rotating the triangle with user input, How to do it..., There's more...
- users
- alerting, lights used / Lights, Action, and Sound – getting the user's attention!, How to do it..., How it works...
- alerting, action used / Lights, Action, and Sound – getting the user's attention!, How to do it..., How it works...
- alerting, Sound Redux used / Lights, Action, and Sound – getting the user's attention!, How to do it..., How it works...
V
- View
- style, applying / Applying a style to a View, There's more...
- view animation / Introduction
- ViewPager
- used, for creating slideshow / Creating a slideshow with ViewPager, How to do it..., There's more...
- used, for creating setup wizard / Creating a Setup Wizard
W
- web page
- displaying / Displaying a web page in your application, How it works...
- navigation, controlling / Controlling page navigation
- JavaScript, enabling / How to enable JavaScript
- built-in zoom, enabling / Enable built-in zoom
- widget
- inserting, into layout / Inserting a widget into a layout, How to do it..., How it works...
- creating, at runtime / Creating a widget at runtime, There's more...
Z
- zoom animation
- creating, with transition animation / Creating a Zoom Animation with a Custom Transition, How to do it..., How it works...
- default duration, obtaining / Getting the default animation duration