From the course: Writing Secure Code for Android by Infosec
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Activity: Handling exceptions, logging and printing, part 1
From the course: Writing Secure Code for Android by Infosec
Activity: Handling exceptions, logging and printing, part 1
- [Instructor] Exception Handling, Printing, and Logging. Activity, handling exceptions, logging and printing. If you go into your course files, into course seven, into Handling Errors, Logging and Printing, we not only have the app, but we also have a snippets file. And you can see here that we have several snippets and we will use them in just a moment. So, go ahead and open an existing project and browse for that app and start it up. ErrorsLoggingPrinting. (computer mouse clicking) This is an under the hood app, meaning that there's no interactive stuff for a user. And you'll see what we mean by that in just a moment when we compile it. Or you can sneak a peek and look into Res and look in layout if you want, and look in the activity main. The only thing we really need here is to import Android util log. Otherwise we use the usual stuff here. I talk about how exception handling lets you create an app that can resolve or handle exceptions because there'll be plenty of times where if…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
System integrity8m 26s
-
(Locked)
Application integrity11m 28s
-
(Locked)
Understanding risks of embedding third-party code8m 16s
-
(Locked)
Activity: Working with external code6m 58s
-
(Locked)
Exception handling, part 16m 52s
-
(Locked)
Exception handling, part 27m 8s
-
(Locked)
Printing and logging, part 18m 53s
-
(Locked)
Printing and logging, part 29m 39s
-
(Locked)
Activity: Handling exceptions, logging and printing, part 113m 2s
-
(Locked)
Activity: Handling exceptions, logging and printing, part 211m 46s
-
(Locked)
Testing types, part 113m 57s
-
(Locked)
Testing types, part 23m 9s
-
(Locked)
Tamper protection10m 2s
-
(Locked)
Activity: Reverse engineering an Android app8m 32s
-
(Locked)
Root detection8m 45s
-
(Locked)
Social engineering6m 39s
-
(Locked)
New vulnerability research2m 36s
-
(Locked)
Secure Android coding roundup5m 19s
-
(Locked)
-