Comments (3)
Hi! Can you please give more concrete details? What stuck means? And also what phone/api versions did you experience it with?
from fotoapparat.
you can see gif file,phone version is android 5.0.2
from fotoapparat.
Sorry for slow reply.
I looked into the issue and it seems that the root cause is that we are using Camera1 API by default since it is generally faster, less complicated and more reliable. You can switch to Camera2 API, which will fix that particular problem.
Here is how you can do it. When you prepare your Fotoapparat
instance, just provide cameraProvider
parameter like that.
.cameraProvider(v2(context))
from fotoapparat.
Related Issues (20)
- Camera front and back issue
- Kotlin 1.4 update breaks the library's critical functionality HOT 4
- With Kotlin's 1.4+ update the Fotoapparat's build() function crashes with error: HOT 3
- How to get bitmap image after takepicture ? HOT 1
- Crash On Vivo y20i on setPreviewCallback HOT 1
- I have implemented updateConfiguration but the screen is not refreshing.
- JCenter to be sunset on 2020-05-01 HOT 8
- How to change ratio to 1:1 in preview and photo result? and is it posibble to force UI preview camera scaletype fixXY?
- Is there possible disable audio and screen blink when calls methos takePicture()?
- Como se agrega fotoapparat, ahora que se ha quitado jcenter
- Not able to take picture
- Repeatedly calling fotoapparat.takePicture() causes app to crash
- The difference between preview and result obtained.
- CameraView not working HOT 1
- Is the Camera2 API used? HOT 1
- `takePicture()` freezes on API 33. HOT 6
- Android Studio Electric Eel problems. HOT 7
- DEX error after updating Gradle and Kotlin version HOT 1
- adding implementation 'io.fotoapparat:fotoapparat:2.7.0' doenst work HOT 1
- CameraView was not found in the project or the libraries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fotoapparat.