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:

DonManfred

Expert
Licensed User
Longtime User
and how did you do it?:D
B4X:
'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
Top