I am sorry, but I don't get how to use code in https://www.b4x.com/android/forum/t...om-your-app-with-file-provider.70458/#content to create any other type of intent.
I want to create an intent to set device wallpaper on Android 7
Current code:
Can anyone post the correct code?
I want to create an intent to set device wallpaper on Android 7
Current code:
B4X:
Dim i As Intent
Dim URII As String
URII = "file://" & File.DirRootExternal&"/WallDrox/Wallpapers/"&strpathextender&"/" & "wall1.png"
i.Initialize("android.intent.action.ATTACH_DATA", URII)
i.SetType("image/*")
StartActivity(i)
Can anyone post the correct code?