alhazmy13 / MediaPicker

Media Picker is an Android Libary that lets you to select multiple images or video
alhazmy13.net
Apache License 2.0
268 stars 86 forks source link

onActivityResult is not called #76

Open maizer999 opened 6 years ago

maizer999 commented 6 years ago

I try today to upload video to server using MediaPicker framework i use "net.alhazmy13.MediaPicker:libary:2.4.0" but the onActivityResult is not called i checked the permission it is granted i dont know what is the issue

addImageDialog.findViewById(R.id.btnUploadVideo).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { new VideoPicker.Builder(getActivity()) .mode(VideoPicker.Mode.CAMERA_AND_GALLERY) .directory(VideoPicker.Directory.DEFAULT) .extension(VideoPicker.Extension.MP4) .enableDebuggingMode(true) .build(); } });

goswamiji0 commented 6 years ago

i also facing this problem

alhazmy13 commented 6 years ago

Can you please test the last Version 2.4.4 This issue should be fixed

KishanViramgama commented 6 years ago

Using fragment get the result main activity onActivityResult method.

RofieSagara commented 6 years ago

Can you please make public imageConfig in Builder, so i can call startActivityForResult() in fragment.

basith0304 commented 5 years ago

Can you please make public imageConfig in Builder, so i can call startActivityForResult() in fragment.

Cloud you please elaborate this .? what you are saying .