How to manage startActivityForResult on Android?
问题 In my activity, I\'m calling a second activity from the main activity by startActivityForResult . In my second activity there are some methods that finish this activity (maybe without result), however, just one of them return a result. For example, from the main activity I call a second one. In this activity I\'m checking some features of handset such as does it have a camera. If it doesn\'t have then I\'ll close this activity. Also, during preparation of MediaRecorder or MediaPlayer if a