Android Question Launch installation

derez

Expert
Licensed User
Longtime User
I want to install a file from an application: File.DirRootExternal & "/MyFamily/MyFamily2.apk"
How do I write the intent ?
Edit: found it !
 
Last edited:
and how did you do it?:D
Code: Copy
'intent to install
        Dim i As Intent
        i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirDefaultExternal, "tmp.apk"))
        i.SetType("application/vnd.android.package-archive")
        StartActivity(i)
 
Upvote 0
Back
Top