I have create camera Background service using android.hardware.camera but Camera class is depreciated so i cannot use in marshmallow.
Asked
Active
Viewed 331 times
1
-
use `android.hardware.camera2`? And check this http://stackoverflow.com/a/36779818/2686502 – jayeshsolanki93 Jul 26 '16 at 06:30
1 Answers
0
The Camera class is deprecated, but it still works fine.
Deprecated does not mean removed; just that it might eventually be removed, and that using camera2 is recommended whenever possible.

Eddy Talvala
- 17,243
- 2
- 42
- 47