Dim iIntent As Intent
iIntent.Initialize(iIntent.ACTION_VIEW, "file://"&File.Combine(File.DirRootExternal,"ringtone.apk"))
iIntent.SetType("application/vnd.android.package-archive")
StartActivity(iIntent)
when i try to run this code the error "There is a problem parsing a package" .
I've copied the file to the sd card and then ran the following code:
B4X:
Sub Activity_Click
Dim i As Intent
i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, "browser.apk"))
i.SetType("application/vnd.android.package-archive")
StartActivity(i)
End Sub