1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Activity starter help


Last Updated:

  1. -ebby-

    -ebby- Well-Known Member This Topic's Starter

    Joined:
    Mar 3, 2010
    Messages:
    61
    Likes Received:
    35
    I am trying to have my app open another app but the way i am opening it it keeps reopening over and over. Is there a way to start an activity only if it is not already started or at the front of the screen?
     

    Advertisement
  2. blundell

    blundell Well-Known Member

    Joined:
    Apr 23, 2010
    Messages:
    125
    Likes Received:
    17
    You could have a look at setting the Activitys Flags

    Basically you want to see if the Activity is already on the stack and just move it to the front if it is

    Activitys And Tasks

    Idea for a flag
     

Share This Page

Loading...