Answers for "contentresolver.insert in fragment"

0

contentresolver.insert in fragment

//kotlin
Uri uri = activity!!.contentResolver.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values)
//or
Uri uri = requiredActivity().contentResolver.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values)
Posted by: Guest on January-04-2021

Browse Popular Code Answers by Language