CSCI 370 - Debugging Android Applications

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

Android Studio Debugger

enables you to debug apps running on the emulator or an Android device.

2
New cards

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

3
New cards

Android Profiler

tools that provide real-time data to help you to understand how your app uses CPC, memory, network, and battery resources

4
New cards

device explrorer

allows you to view, copy, and delete files on an android device

5
New cards

android debug bridge (adb)

a command line tool located in the platform-tools directory

6
New cards

adb shell

create a Linux command-line shell, use exit to exit the shell

7
New cards

adb shell mkdir /sdcard/app_bkup

single command to create a shell, make a directory, and exit

8
New cards

adb push VSwithKeyboard.apk /sdcard/app_bkup/


copy a file to the device

9
New cards

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

10
New cards

toast examples

volume control, brief message saying that your settings have been saved

11
New cards

creating a toast message

usually by calling one of the static methods, uses the parameter context “this”

12
New cards

Where do toast messages usually appear?

at the bottom of the screen

13
New cards

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.

14
New cards

snackbar.make()

static method to create snackbar object

15
New cards

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

16
New cards

LogCat

where developers can view log messages in Android Studio