question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Camera deprecated on Android for API 21 and higher

See original GitHub issue

android.hardware.Camera is deprecated. You should upgrade to android.hardware.Camera2 for API Level 21 and higher

Explained here

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
brittonkcommented, Feb 1, 2018

@HartHerbert Have you made any progress on the video stuff with this plugin?

1reaction
hobbydevscommented, Jul 16, 2017

@jrm0695 if you clone the project, you only update your on repo, not this repo. to change the original repo you have to create a pull request from your repo to the original one.

@westonganger I am not making PR’s because I’m making some big changes to the plugin (like video function and other stuff) and may the community of this plugin wont like it (like saving images on filesystem than base64)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android camera android.hardware.Camera deprecated
Some phones (for example Samsung Galaxy S6) could be above api level 21 but still may not support Camera2 api. CameraCharacteristics ...
Read more >
November 2022 deprecated camera methods removal for ...
In November 2022, Google Play Services for AR will remove deprecated methods related to NDK camera images and metadata. Apps using these methods...
Read more >
Camera | Android Developers
Added in API level 1. public void applyToCanvas (Canvas canvas). Computes the matrix corresponding to the current transformation and applies it to the ......
Read more >
Camera API | Android Developers
Note: This page describes the Camera class, which has been deprecated. ... Both CameraX and Camera2 work on Android 5.0 (API level 21)...
Read more >
Control the camera | Android Developers
Both CameraX and Camera2 support Android 5.0 (API level 21) and higher. Directly controlling a device camera requires a lot more code than ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found