jjzjj

android - onCreate 在 onActivityResult 之前和之后调用

我尝试按照以下方式打开相机:...privatevoidrunCamera(){StringstorageState=Environment.getExternalStorageState();if(storageState.equals(Environment.MEDIA_MOUNTED)){Intentintent=newIntent(MediaStore.ACTION_IMAGE_CAPTURE);FileimageFile=newFile(Singleton.instanse.mPushFilePath);mImageFileUri=Uri.fromFile(imageFile