Android Question How to detect in code if app is new install or update?

Discussion in 'Android Questions' started by trueboss323, May 17, 2015.

  1. trueboss323

    trueboss323 Active Member Licensed User

    How to detect in code if app is a new install or update?
    Thank you
  2. Erel

    Erel Administrator Staff Member Licensed User

    Create a file in File.DirInternal when your app starts (File.WriteString). If it already exists then you know that your app has already run on this device.
  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