Android Question How know app is installed?

darabon

Active Member
Hi,
We could check the installed application by calling it (create an intent with the app package name and start it)
But after API 30, We cannot use it
I need to detect the installed app but how?
My way was after open APK file if the user be 30 seconds out of the app and return to the app, that means the user installed the app
And if the user returns to the app quickly, that is meaning the user has cheated
Is it a good way?
 

Serge Bertet

Active Member
Licensed User
Maybe? (never used)
B4X:
Private pe As PhoneEvents

Private Sub pe_PackageAdded(Package As String, Intent As Intent)
End Sub
 
Upvote 0
Top