How to add a eula text to app

ZeroSoft

Member
Licensed User
Longtime User
Hi,

I need some help! How can I add a EULA text that appears when I start the application, and when I confirm it is no longer displayed. I tried with the dialog library but no success :-( :sign0161:
Thank you for your response
 

JonPM

Well-Known Member
Licensed User
Longtime User
Use some sort of persistent data (Map)
Then in Activity_Create use an if statement like so:
If Map1.Get("EULA") = 0 then
'put dialog code here'
when user confirms: Map1.Put("EULA","1")
End If

Obviously this isn't the correct syntax (I don't have B4A on here right now). But you get the idea...
 
Upvote 0
Top