Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android 11

Widget Can't Start A Service On Device Boot On Android 11 Until Some Activity Is Launched

val startServiceIntent = TestService.getServiceIntent(context).let { PendingIntent.getService(c… Read more Widget Can't Start A Service On Device Boot On Android 11 Until Some Activity Is Launched

Android 11 Action_open_document_tree: Set Initial Uri To The Documents Folder

using the Scoped Storage model in Android 11 I want to give the user the ability to choose a folder… Read more Android 11 Action_open_document_tree: Set Initial Uri To The Documents Folder

How To Save And Check If The File Exists In Scoped Storage?

Till now, I check whether a file exists or not and if it does not then I save it to the device in E… Read more How To Save And Check If The File Exists In Scoped Storage?

Unexpected Behavior When Documentfile.fromtreeuri() Is Called On Uri Of Subdirectory Documentfile Object

If I call DocumentFile.fromTreeUri() on main directory and I list its content, it returns all Docu… Read more Unexpected Behavior When Documentfile.fromtreeuri() Is Called On Uri Of Subdirectory Documentfile Object