Android Question end app

Discussion in 'Android Questions' started by MarkusR, Jun 5, 2018.

  1. MarkusR

    MarkusR Well-Known Member Licensed User

    me saw that if me using Activity.Finish in main Activity and click then at the app icon again
    the Activity will created again and all variables here are still there with used values before i closed the activity.

    Sub Process_Globals
    'These global variables will be declared once when the application starts.
        'These variables can be accessed from all modules.
    how can i end the app correct and free this process for a clean start?
  2. Star-Dust

    Star-Dust Expert Licensed User

    SDK 16+
    Dim jo As JavaObject
    MarkusR likes this.
  3. MarkusR

    MarkusR Well-Known Member Licensed User

    thank you.
    i read it finished all Activitys, does it clear this Process_Globals too?
    i will test later.
    walterf25 likes this.
  4. walterf25

    walterf25 Well-Known Member Licensed User

    You can also reset all variables before you close the Activity.

    MarkusR 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