Created
June 17, 2019 17:15
-
-
Save eric-romero/d659537d05df01be5d2a13b0e1000e41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Flag the current activity to skip background check upon pause | |
activity.getIntent().putExtra(BackgroundJobService.SKIP_BG_CHECK, true); | |
// Launch the Camera app to take a picture | |
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); | |
activity.startActivityForResult(intent, ActivityRequests.TAKE_PICTURE_REQUEST); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment