:white_square_button: [Android Library] Read QR codes using google's mobile vision api, but without the hassle
371
stars
108
forks
source link
Possible to handle a granted camera permission without restarting the activity? #54
Open
Dima-369 opened 6 years ago
Currently, the sample app calls
restartActivity()
inonPermissionGranted()
on granting the camera permission.Is it instead possible to handle this without re-inflating the
SurfaceView
or restarting the activity?Using the
QREader.Builder
plusinitAndStart()
inonPermissionGranted()
does not work on and still displays a black screen.