Closed alapputatunda closed 4 years ago
I have updated the library.use the latest version
implementation 'com.github.a914-gowtham:Android-video-trimmer:1.4.0'.
Use this snippet to Open Trimming Activity
TrimVideo.activity(String.valueOf(videoUri)) .start(this);
Getting Result from your Activity
@Override public void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == TrimVideo.VIDEO_TRIMMER_REQ_CODE && data != null) { Uri uri = Uri.parse(TrimVideo.getTrimmedVideoPath(data)); Log.d(TAG,"Trimmed path:: "+uri); } }
I've updated the Readme for the latest version.take a look at that for using customization
I am getting an unresolved reference "import com.gowtham.library.utils.TrimVideo" on main activity. I have tried the latest version as well as 1.7.0 - 1.7.1 and 1.4.0 as well and build all of them successfully but cant import the TrimVideo in my main activity. Is it something that I am not doing correctly?
Why I am getting this while building my project? Please help me!