Android Question How can I prevent replacement of APP loaded onto device with new version?

Discussion in 'Android Questions' started by TonyVerberne, Mar 23, 2015.

  1. TonyVerberne

    TonyVerberne Member Licensed User

    I have been using B4A bridge to load a test APP onto my device. When I do this the old version is lost even if I load a different APP? Can this be prevented.
  2. JordiCP

    JordiCP Well-Known Member Licensed User

    This probably happens if you have a project based on a previous one. Even if you change the title, the package name is what defines an app in android.

    So, you must change the package name if you want the previous one to remain. Otherwise, any existing apk with the same package name will be replaced.
    TonyVerberne likes this.
  3. DonManfred

    DonManfred Expert Licensed User

    Set a different package name in the 2nd app. Or better: give both other packagename than "B4A.Example". See Build configuration in the IDE
  4. TonyVerberne

    TonyVerberne Member Licensed User

    Thanks very much for your suggestion
  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