Built-in Activity/Fragment camera as Instagram

Asked

Viewed 86 times

1

I have an app where sometimes the user needs to take a picture of a receipt during a confirmation process and would like to have the camera inlaid on the same screen at this time (rather than calling Intent for the camera application), regardless of the camera’s Aspect ratio and/or photo (it wouldn’t necessarily need a square preview and photo like Instagram).

What would be a good way to implement this? Some example of implementation would help a lot too. I appreciate the attention from now on.

  • 1

    Renan, your question is very broad, the idea is that you start to do and take any questions. My recommendation is to use a third-party library, implement camera functionality is not trivial, but you can do it by following this tutorial: http://developer.android.com/guide/topics/media/camera.html. In terms of third-party library, You have a variety to choose from: http://android-arsenal.com/tag/141.

  • 1

    The name of this is Surfaceview following the link of an implementation http:/examples.javacodegeeks.com/android/core/surfaceview/android-surfaceview-example/

  • Thanks for the guidelines, I will study the tutorial better and see the third party libraries and elaborate more specific questions next time.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.