Forum Xamarin.Forms

Looking for a nice media (Gallery and/or Camera) plug-in to work with XF

N_BauaN_Baua INMember ✭✭✭✭✭

Hi Guys,

I am fairly new to Xamarin (and so to XF).
I have a project which has a requirement to allow the user to update profile photo using camera (and alternatively choose from device photo gallery).

I tried looking at samples here : https://github.com/xamarin/Xamarin.Forms, could you please suggest where can I have some sample/plug-in downloaded which can work under XF (PCL code) and suitable for both Android and iPhone.

I would also like to know if I can integrate some other plug-in (for e.g. https://github.com/sangcomz/FishBun) in PCL project?
I know the above example is specifically for android but there can be other picker.

Thanks.

N Baua

Best Answer

Answers

  • N_BauaN_Baua INMember ✭✭✭✭✭

    Thanks Alessandro,
    I check this before and I forgot to mention that this only works with Target version to API 23 (Android 6.0) – Marshmallow and higher, What can I use for API 21 (Android 5.0) – Lollipop, (Or may be if possible for API 19 (Android 4.4) – Kitkat) onward?

    Can you suggest something which is XF compliant? and if not a sample suggesting use of the same in both Android as well as in iPhone. Thanks again for your inputs.

    Regards,
    N Baua

  • N_BauaN_Baua INMember ✭✭✭✭✭

    @JohnMiller said:
    @N_Baua,

    It might be worth mentioning that Xamarin.Forms requires you to target API 23 or higher. You can still set your minimum supported Android version as low as API 15.

    Using the https://github.com/jamesmontemagno/MediaPlugin for now, still will look for more options which meet my requirements like FishBun plugin or Cordova MultiImageSelector Plugin.

    Thanks for your inputs though.

    Regards,

    N Baua

Sign In or Register to comment.