Skip to content

Source code for a custom camera activity and modifiable wrapper around android camera 2 API to simplify usage. It supports flash, returns a picture bitmap which can be saved as JPEG/Bitmap.

License

mmobin789/Android-Custom-Camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Custom Camera

📷

Source code for a custom camera activity and modifiable wrapper around android camera 2 API to simplify usage. It supports flash, returns a picture bitmap which can be saved as JPEG/Bitmap.

Features

  • Easy to use.
  • Supports flash,photo capture and saving to storage by default.
  • Save as JPEG/PNG. (Default JPEG)
  • Set Image Quality. (Default Max)
  • Set Image save path/directory. (Default Pictures directory)
  • Its not a fixed dependency to be included in your project to increase redundancy.
  • Its flexible to be converted in any library/SDK or modular form as per your requirement.
  • Modifications/Enhancements can be made as required.
  • Highly optimized and clean code.
  • No Obfuscation Required (Proguard/Dexguard).
  • It would be a part of your project while not implying any 3rd-party involvement.

Limitations

  • Camera2 API can cause device-specific issues.
  • May require handling for specific devices.
  • Tested on Lollipop, Oreo and Pie.

How to use ?

Just clone the project in Android Studio and run it.

For details read more on medium.

Usage in Live Android Apps

📷 HideBox

About

Source code for a custom camera activity and modifiable wrapper around android camera 2 API to simplify usage. It supports flash, returns a picture bitmap which can be saved as JPEG/Bitmap.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages