Android Question intent Set As "Wallpaper/ect"

Imam

Member
Licensed User
i am error try set as "bbm picture"

B4X:
Sub setAsPicture(PathImg As String)
Dim i As Intent
Dim URII As String
URII = "file://" & File.DirRootExternal & PathImg
i.Initialize("android.intent.action.ATTACH_DATA", URII)
i.SetType("image/*")
StartActivity(i)
End Sub
There is nothing wrong with my code?
 
Top