0

I use below code but after click, localview visibility have gone

Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE_SECURE);
intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);

startActivityForResult(intent, 2);
Computer Im
  • 85
  • 1
  • 11

1 Answers1

1

No way you can use a camera intent and keep your app working with camera at the same time. Actually, it's not guaranteed that a single app can use both cameras in parallel, but in some devices, e..g. based on Snapdragon 820 chipset, it simply works.

Alex Cohn
  • 56,089
  • 9
  • 113
  • 307