-1

enter image description here

When I call the system camera through the above code,the onActivityResult method does not perform on some phones,For example, Samsung S4,That's why.Ask for help

xiehui
  • 3
  • 1

2 Answers2

0

next time please add the source code. its easier that way. and the logcat if some error is there.

but it seems that what you want to achieve is something like Android ACTION_IMAGE_CAPTURE Intent

Community
  • 1
  • 1
Sergio Lima
  • 114
  • 13
0

There are 2 possible solutions:

  • You should try with request code larger than 0.
  • Does your activity contain singleInstance or singleTask launchMode? check this issue .
Community
  • 1
  • 1