Android Question detecting first launch of updated app?

Dave O

Well-Known Member
Licensed User
Longtime User
Hi all,

When I update my app with new features (e.g. change the versionCode), I'd like to auto-show a "what's new" dialog, so the user can see what's changed.

Does Android (or B4A) have any way of detecting the first launch of an updated app, or do I need to store my own flag somewhere and do the checking in Activity_Create?

Just wondering if I need to roll my own code or if there's a standard way of doing this?

Thanks!
 

Troberg

Well-Known Member
Licensed User
Longtime User
Something like (pseudocode):

B4X:
If Version_Written_To_File <> CurrentVersion
  DoVersionUpdateStuff()
  WriteCurrentVersionToFile()
End If
 
Upvote 0
Top