Android Question detecting first launch of updated app?

Discussion in 'Android Questions' started by Dave O, Feb 5, 2015.

  1. Dave O

    Dave O Active Member Licensed 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?

  2. NJDude

    NJDude Expert Licensed User

    You need to create your own flag.
  3. Troberg

    Troberg Well-Known Member Licensed User

    Something like (pseudocode):

    If Version_Written_To_File <> CurrentVersion
    End If
    Dave O likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice