All snippets tagged with camera

Page 1 of 1

Record video widget

Profile picture widget

This is a widget for showing a profile avatar, along with an edit button which lunches the camera. If there’s no photo to be loaded a placeholder consisting of an x amount of characters from the user’s name is going to be shown.

Read more…

Take a picture using the default camera

Camera2 implementation in an extendable Fragment

If you’re going to add a custom camera to your app, use these snippets to do it right. This recipe uses the Camera2 APIs, and hides all the weird code required for setting up a viewfinder and taking pictures.

Read more…

Barcode scanner using Google Vision