Differentiating between resuming from within the app and from without

Looking to figure out if there’s a way to take different actions if:

  • the app is resumed when returning from a ‘child’ activity (say, the gallery)
  • the app is resumed when returning from an external activity

Thanks,

Joel