A Xamarin.Android binding library for ImagePicker library.
A simple library to select images from the gallery and camera.
This project is maintained by Naxam Co.,Ltd.
We specialize in developing mobile applications using Xamarin and native technology stack.
Looking for developers for your project?
![](https://github.com/NAXAM/naxam.github.io/raw/master/assets/img/hire_button.png?raw=true)
Install-Package Naxam.ImagePicker.Droid
- Quick call
ImagePicker.Create(this)
.FolderMode(true) // set folder mode (false by default)
.FolderTitle("Folder") // folder selection title
.ImageTitle("Tap to select") // image selection title
.Single() // single mode
.Multi() // multi mode (default mode)
.Limit(10) // max images can be selected (999 by default)
.ShowCamera(true) // show camera or not (true by default)
.ImageDirectory("Camera") // captured image directory name ("Camera" folder by default)
.Origin(images) // original selected images, used in multi mode
.Start(REQUEST_CODE_PICKER); // start image picker activity with request code
protected override void OnActivityResult(int requestCode, Result resultCode, Android.Content.Intent data)
{
if (resultCode == Result.Ok && requestCode == REQUEST_CODE_PICKER) {
var pickedImages = data.GetParcelableArrayListExtra(ImagePickerActivity.IntentExtraSelectedImages);
Toast.MakeText(this, $"You picked {pickedImages.Count} images", ToastLength.Short)
.Show();
}
}
- @NguyenHoangLam for his library in Java
ImagePicker binding library for Android is released under the MIT license. See LICENSE for details.
Try our showcases to know more about our capabilities.
![](/NAXAM/imagepicker-android-binding/raw/master/art/apple_store.png)
![](/NAXAM/imagepicker-android-binding/raw/master/art/google_store.png)
Contact us if interested.
![](https://github.com/NAXAM/naxam.github.io/raw/master/assets/img/hire_button.png)