You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 16, 2025. It is now read-only.
ImagePicker.create(this)
.returnMode(ReturnMode.ALL) // set whether pick and / or camera action should return immediate result or not.
.toolbarImageTitle("Select Profile picture") // image selection title
.toolbarArrowColor(Color.WHITE) // Toolbar 'up' arrow color
.includeVideo(false) // Show video on image picker
.single() // single mode
.showCamera(true) // show camera or not (true by default)
.imageDirectory("Camera") // directory name for captured image ("Camera" folder by default)
.enableLog(false) // disabling log
.theme(R.style.PurpleToolbar)
.start()
Expected Behavior
Steps:
1. For first should ask permission
2.Then should open camera
CODE
ImagePicker.create(this)
.returnMode(ReturnMode.ALL) // set whether pick and / or camera action should return immediate result or not.
.toolbarImageTitle("Select Profile picture") // image selection title
.toolbarArrowColor(Color.WHITE) // Toolbar 'up' arrow color
.includeVideo(false) // Show video on image picker
.single() // single mode
.showCamera(true) // show camera or not (true by default)
.imageDirectory("Camera") // directory name for captured image ("Camera" folder by default)
.enableLog(false) // disabling log
.theme(R.style.PurpleToolbar)
.start()
Expected Behavior
Actual Behavior
Steps to Reproduce the Problem