Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Android Studio Cookbook

You're reading from   Android Studio Cookbook Design, test, and debug your apps using Android Studio

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781785286186
Length 232 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Mike van Drongelen Mike van Drongelen
Author Profile Icon Mike van Drongelen
Mike van Drongelen
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Introduction

As a developer, you can just launch an intent, grab the data, and do with it whatever you want.

Things become a little bit more complicated if you want to handle image or video capturing yourself. So, why would someone want to do that in the first place? It gives us more flexibility in the way the camera is being previewed, filtered, or handled.

With Android Lollipop onwards, the old Camera API that we had been using has been replaced with the Camera2 API, which has turned out to be a huge improvement. Unfortunately, some orientation issues remain, mostly due to the large fragmentation of Android hardware and software. On some devices, captured images seem to be rotated 90 degrees. Why is that? You will find out in the last recipe in this chapter.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image