I am trying to launch camera in fragment but onActivityResult in fragment doesn\'t resolve RESULT_OK. What should i do?
I am launching camera using:
publ
Alternatively you can add import static android.app.Activity.RESULT_OK; and use it in your case like if (requestCode == CAMERA_REQUEST_CODE && resultCode == RESULT_OK) {..}
import static android.app.Activity.RESULT_OK;
if (requestCode == CAMERA_REQUEST_CODE && resultCode == RESULT_OK) {..}