Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Camera sample app for Surface Duo

This sample and accompanying blog post show how to code your app to handle difference camera scenarios including:

  • Ensuring a good user experience when your app is orientation-locked (to portrait or landscape)
  • Rotating the camera feed as the device rotates
  • Adjusting the camera feed aspect ratio to fit each device posture

Surface Duo camera app sample showing a rose

If you prefer to use the newer CameraX library, visit the Android camera-samples repo.

Related links