Git Product home page Git Product logo

ultimateandroidcameraguide's People

Contributors

rexsaurus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ultimateandroidcameraguide's Issues

Unable to run the app

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.ultimate.camera/com.ultimate.camera.activities.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.ultimate.camera.activities.MainActivity" on path: DexPathList[[zip file "/data/app/com.ultimate.camera-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.ultimate.camera-1, /vendor/lib, /system/lib]]

Black screen flickering when adding the preview

This example saved me a lot of time, thanks for that!

I am just experiencing one issue now, when adding the CameraPreview for the first time the screen goes black for one second. This happens when doing preview.addView(mPreview) in the function safeCameraOpenInView.

For the context I have an activity containing one fragment, this last one is adding the CameraPreview dynamically.

Any clue on that? :)

onpause and onresume

NativeCameraFragment does not release the camera in onpause so other apps can't use the camera when NativeCameraFragment is in the background

Like if I switch to snapchat from this app, snapchat can't start the camera because its locked by NativeCameraFragment

Any idea how to fix?

Preview is always 90 degree off

Thanks for providing the great start sample with camera APIs.

On my Samsung Galaxy S4, preview is always 90 degrees off. It happens in both Landscape and portrait mode.

Any tips would be helpful.

Unsupported Gradle

I cant run the project.

Error:The project is using an unsupported version of the Android Gradle plug-in (0.9.2). The recommended version is 1.2.3.

Square preview of native camera

Hi rex,
Thanks for Camera Guide. I am try to preview of camera in square something like Instagram app but there is problem preview squeezing, I put a constant value in height and width of layout and same as in preview size.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.