Top "Onactivityresult" questions

Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it.

zxing onActivityResult not called in Fragment only in Activity

I'm having some issue with zxing onActivityResult(). As you can see in the code I did properly invoke new intent …

android android-intent zxing onactivityresult
android reduce file size for camera captured image to be less than 500 kb

My requirement is to upload camera captured image to the server, but it should be less than 500 KB. In case, …

android image filesize android-camera-intent onactivityresult
How to get any File Path ,Name ,Extension from onActivityResult?

My Codes are: 1. File file = new File(Environment.getExternalStorageDirectory(),"myFolder"); Log.d("path", file.toString()); Intent intent = new Intent(Intent.…

android onactivityresult
onActivityResult returns null data for an Image Capture

@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); filePath = getOutputMediaFile(FileColumns.MEDIA_TYPE_IMAGE); File file = new File(filePath); …

android onactivityresult
onActivityResult Intent is null when passing Intent from Adapter

I am facing a strange issue while returning to an Activity with a Result, I am passing an Intent for …

android android-intent onactivityresult
onActivityResult in dialog fragment

I'm taking photo from dialog fragment. And also I need something like startActivityForResult(takePictureIntent, actionCode); @Override public void onActivityResult(int …

android android-dialogfragment start-activity onactivityresult
ACTION_INSTALL_PACKAGE

My app is trying to install an APK. Intent installIntent = new Intent(Intent.ACTION_INSTALL_PACKAGE); installIntent.setData(Uri.fromFile(…

android android-intent android-ui start-activity onactivityresult
Passing onActivityResult in Cordova

Does Cordova have any automatic way to pass onActivityResult to its CordovaPlugin classes? Here's my current file, doing it manually: …

java android cordova onactivityresult
Why doesn't Android crop intent return ActivityResult?

I'm trying to crop an image from the media gallery. I'm able to access the image, start the default crop …

android android-intent android-image onactivityresult android-crop