-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Get photo from camera #3
Comments
Thanks for sharing your valuable thoughts I will implement it ASA I'm free. |
yes we need it, it's useful |
@Androbito @cempo will be available on Sunday Inshallah |
@cempo @Androbito Feature is available now with version 1.4.0 |
Thank you for the update. I'm getting gradle error: |
@cempo try with com.github.atwa:filepicker:1.0.4 instead of Android-FilePicker |
Already working. Thanks It would be great to have file with name which include extension like ".jpg" or ".jpeg". What do you think? |
Would be great to have ability to take photo from camera using this library
val cameraIntent = Intent(MediaStore.ACTION_IMAGE_CAPTURE).apply {
addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION)
putExtra(MediaStore.EXTRA_OUTPUT, outputUri)
}
And interface like:
fun pickImageFromCamera(outputUri: Uri, onImagePicked: (Pair<Bitmap?, File?>?) -> Unit)
The text was updated successfully, but these errors were encountered: