Hi there, here the code for checking if update-try canceled or not...
Private Sub SendInstallIntent As ResumableSub
Dim i As Intent
If Phone.SdkVersion >= 24 Then
File.Copy(File.DirInternal, FileToInstall, Starter.Provider.SharedFolder, FileToInstall)
i.Initialize("android.intent.action.INSTALL_PACKAGE", Starter.Provider.GetFileUri(FileToInstall))
i.Flags = Bit.Or(i.Flags, 1) 'FLAG_GRANT_READ_URI_PERMISSION
Else
i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirInternal, FileToInstall))
i.SetType("application/vnd.android.package-archive")
End If
Try
StartActivityForResult(i)
Wait For ion_Event (MethodName As String, Args() As Object)
Return 1
Catch
Return -1
End Try
End Sub