1/15
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Android Studio Debugger
enables you to debug apps running on the emulator or an Android device.
Features of Android Studio Debugger
Select a device to debug your app on, View the system log, Set breakpoints in your code, Examine variables and evaluate expressions at run time, Run the debugging tools from the Android SDK, Capture screenshots and videos of your ap
Android Profiler
tools that provide real-time data to help you to understand how your app uses CPC, memory, network, and battery resources
device explrorer
allows you to view, copy, and delete files on an android device
android debug bridge (adb)
a command line tool located in the platform-tools directory
adb shell
create a Linux command-line shell, use exit to exit the shell
adb shell mkdir /sdcard/app_bkup
single command to create a shell, make a directory, and exit
adb push VSwithKeyboard.apk /sdcard/app_bkup/
copy a file to the device
Toast
class in package android.widget that can be used to display a brief message to the user, and appears as a floating view over the appliction
toast examples
volume control, brief message saying that your settings have been saved
creating a toast message
usually by calling one of the static methods, uses the parameter context “this”
Where do toast messages usually appear?
at the bottom of the screen
Snackbar
used to display a brief message to the user, and automatically goes away after a short period, ideal for messages that the user doesn’t need to act on, and is newer and provides more features.
snackbar.make()
static method to create snackbar object
log
class that can be used to log messages at runtime, uses a tag system which is a short string indicating the system component from where the message originates
LogCat
where developers can view log messages in Android Studio