๐Ÿ“ธ Custom camera for Android created for testing, playing and learning
Java
Switch branches/tags
Nothing to show
Latest commit eb0b136 Sep 12, 2017 @davidgatti davidgatti committed on GitHub Update README.md

README.md

dgCam

dgCam is a small custom camera app for Android that i had to do for one of the application that we develop at work. We needed more control over the generated photos. Sadly since Android is so fragmented and there is no standards in anything, we could not rely on the built in camera apps. Every manufacture of Android devices have a different approach to the camera and the worst part is: there is no guarantee that if you send your custom settings to the camera - the software will take them in consideration.

For example:

  1. Samsung device could care less about the resolution that we wanted - it always took the photos at the higher resolution.
  2. HTC devices would crop the photos. So if your device says that you have a a camera with a 5Mpx sensor, in reality the camera will produce a 4,4Mpx photo.

This is why i created the custom camera app. While developing i had to reinvent the wheal many times for different stuff since Google dose not provide basic functionality that Apple dose in its iOS. A good example is the accelerometer. In both system you can get the raw data, but Apple gives you something more. You can get the orientation of the device if this is all what you need. Dowload the dgCam from the Android Market

If you would like to see how this app looks and works, you can dowload it from the Android Market at this URL: https://market.android.com/details?id=pl.gatti.dgcam

What can you find here

  1. How to create a custom camera.
  2. How to apply custom settings.
  3. How to add Exif data to a photo.
  4. How to calculate the orientation of the device based on Earth gravity.
  5. How to rotate a image on a buton based on the orientation of the device.
  6. How to create a layout where you can put elements on top of each other.

Many thx to:

  • Janusz Bossy, for helping me out when i was stuck in something! You are osom! :)

Contribution

  • Fork project
  • Add features
  • Add better comments
  • Write a better README file - sorry, english is not my main language.

The End

If you've enjoyed this article/project, please consider giving it a ๐ŸŒŸ or donate.

  • Donate
  • Star on GitHub
  • Watch on GitHub

Also check out my GitHub account, where I have other articles and apps that you might find interesting.

For Hire ๐Ÿ‘จโ€๐Ÿ’ป

If you'd like me to help you, I'm available for hire. Contact me at job@gatti.pl.

Where to follow

You can follow me on social media ๐Ÿ™๐Ÿ˜‡, at the following locations:

More about me

I donโ€™t only live on GitHub, I try to do many things not to get bored ๐Ÿ™ƒ. To learn more about me, you can visit the following links: