1

I searched a lot and posting this question for android library which is similar like Instagram posting. I got one library here is the link https://github.com/luoyiqi/MediaPickerInstagram but this library not fully done. Please some one suggest me the library which has capture photo,capture video and pick media from Gallery.

Thanks advance

3

1 Answer 1

2

Late for the answer

I am using this library. Hope it will work for you.

//------------------------Camera(do not change)--------------------------------------------------------------
implementation "androidx.camera:camera-core:1.0.0-beta06"
implementation "androidx.camera:camera-camera2:1.0.0-beta06"
implementation "androidx.camera:camera-lifecycle:1.0.0-beta06"
implementation "androidx.camera:camera-view:1.0.0-alpha13"
implementation "androidx.camera:camera-extensions:1.0.0-alpha13"

Don't forget to add these dependencies and never change them

13
  • Hi, I am facing errors using this library, could you provide your code on how you implemented this successfully, please?
    – M Umer
    Jan 14, 2022 at 16:41
  • What kind of error you are facing? I never faced any. I copy all the code related to it which is present in the sample project of that library. But it also works normally. Jan 14, 2022 at 16:49
  • Have you added all the camerax libraries to your project? When I add a camera2 library to implement CameraXConfig.Provider in my Application it gives me an error of camera core class not found and when I add all the camerax libraries it doesn't compile and shows duplicate values when I remove the library that causes the duplicate error, it gives me other errors. I am wasting hours and hours figuring out. Could you please help me? I would really appreciate it. I am a newbie to android programming.
    – M Umer
    Jan 15, 2022 at 14:14
  • 1
    I edited my answer. Jan 17, 2022 at 2:39
  • Thank you so much, I really appreciate it. Let me give it a try.
    – M Umer
    Jan 17, 2022 at 6:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.