Book Image

Mastering OpenCV Android Application Programming

Book Image

Mastering OpenCV Android Application Programming

Overview of this book

Table of Contents (16 chapters)
Mastering OpenCV Android Application Programming
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
6
Working with Image Alignment and Stitching
Index

Troubleshooting errors


This section talks about different possible errors that developers face while building an Android application, such as permission errors, and how to use Logcat to debug the code.

Permission errors

Every application in the Android ecosystem needs the user's permission to perform any critical operations involving user data, such as using the Internet or the camera, just to name a few. To ensure this, the application developers (in this case, us) have to request the user for permissions to perform any critical operations. Developers do this at the time of building the application by declaring all the required permissions in the Android project (more details on this will be explained in the following pages). While installing an application from the Play Store or otherwise, the user is prompted to grant or deny the permissions that the application requires.

Only when the user has granted all the permissions, the application can be installed on the mobile. This way, the user...