In my b4a app after clicking a certain button it checks or schoolmaster maestro is already installed, if not, it asks whether it must be installed, if so, it is being installed ans started.
Here's my B4a code, can anyone tell me what a similar code must be in B4i :
Here's my B4a code, can anyone tell me what a similar code must be in B4i :
B4X:
If VerbindenMetInternet = "Ja" Then
Try
StartApp = pm.GetApplicationIntent ("nl.schoolmaster.amaestro")
StartActivity (StartApp)
Catch
WifiAntwoord = Msgbox2("Installeren?", "Maestro app niet geïnstalleerd!", "Ja", "", "Nee", LoadBitmap (File.DirAssets, "maestrologo.png"))
If WifiAntwoord = DialogResponse.Positive Then
InstalleerApp.Initialize(InstalleerApp.ACTION_VIEW,"market://details?id=nl.schoolmaster.amaestro")
StartActivity(InstalleerApp)
End If
End Try
End If
Last edited: