Reputation: 36
I am trying to transfer data between my two apps by using content provider. Under Android 13, content provider transfer data between two apps. But, In Android 13, cursor object is null in content resolver.so I'm asking for help. reference codes this
<queries>
<package android:name="com.example.otherapp" />
</queries>
when I added other application package name query in my application, It is OK.
Upvotes: 0
Views: 102
Reputation: 311
The Granular media permissions for Apps targeting Android 13 may help you:
If your app targets Android 13 or higher and needs to access media files that other apps have created, you must request one or more of the following granular media permissions instead of the READ_EXTERNAL_STORAGE permission:
Also refer to: Storage Permission in Android 13
Upvotes: 0