OceanLabs / FacebookPhotoPicker-Android

An Android photo picker that allows users to log in a select photos from Facebook. https://www.kite.ly
MIT License
6 stars 3 forks source link

How can I return just one picture ? #6

Open lucksjb opened 7 years ago

lucksjb commented 7 years ago

Hi, my name is Luciano, and I try to use this class, but I need permit that user select just one picture. Is this possible ?

is possible configure theme to the FacebookPhotoPickerActivity ?

tnx advanced

ghost commented 7 years ago

Hi Luciano,

Thanks for your message. The current up-to-date version of the Facebook Photo Picker is here:

https://github.com/OceanLabs/Android-Print-SDK/tree/master/FacebookPhotoPicker

There is also a library on Maven that you can use. The up-to-date version allows you to specify the maximum number of selectable images:

FacebookPhotoPicker: startPhotoPickerForResult( Fragment fragment, int maxImageCount, int activityRequestCode )

You can set this to 1.

The theme is set in styles.xml:

<style name="Theme.ImagePicker.ActionBar" parent="android:Widget.ActionBar">

homeAsUp|showTitle @color/ip_action_bar_colour

You can redefine the themes to suit your requirements.

Hope this helps

On 13/11/16 02:08, lucksjb wrote:

Hi, my name is Luciano, and I try to use this class, but I need permit that user select just one picture. Is this possible ?

is possible configure theme to the FacebookPhotoPickerActivity ?

tnx advanced

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OceanLabs/FacebookPhotoPicker-Android/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AMWb-lRjKeg5RYp4PFqcggeIRRTlGnRZks5q9nEOgaJpZM4KwlbQ.