简体   繁体   中英

Using the camera inside an Android app

I want to create an Android app which uses a camera, but I don't want the app to redirect to the default camera app on the device.

I want a custom-made camera app specifically for the app. How do I implement it?

Look into this tutorial http://www.airpair.com/android/android-camera-surface-view-fragment

Link 2

you can use SurfaceView Fragment.

Here is a nice tutorial to accomplish it.

Camera Integration with Surface View

You can make your custom changes on the SurfaceView according to your requirements.

I used https://github.com/commonsguy/cwac-camera to get custom camera done.

The library @commonsware made, great library with great documentation and support.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM