Last active
March 18, 2017 01:01
-
-
Save sreejithraman/075b49427c69ab775d36b092a86d410a 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
@Override | |
public void onActivityResult(int requestCode, int resultCode, Intent data) { // note that data will be null | |
if (resultCode == Activity.RESULT_OK) { | |
if (requestCode == REQUEST_CODE_CAMERA) { | |
// imageFile will have the photo in it so do whatever you want with it | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment