0

I know that Launcher.OpenAsync("app") can launch another app in the foreground. Is this acceptable from an app that is in a background state across the platforms?

Marc George
  • 134
  • 1
  • 18
  • 1
    I’d be a little surprise if it worked, but it should be easy enough to test – Jason May 30 '23 at 00:05
  • If it doesn’t work, then maybe [bring app to front programmatically](https://stackoverflow.com/q/12074980/199364), then launch the ither app? – ToolmakerSteve May 30 '23 at 00:40
  • From my testing, the app is not launched from the backgrounded code. – Marc George May 31 '23 at 21:06
  • Hi @MarcGeorge, what do you mean by words `from the backgrounded code`? Could you please post more code snippets? – Jessie Zhang -MSFT Jun 06 '23 at 05:42
  • That varies per OS, but the basic concept is a state of app where it has no UI, is not visually present at the moment(minimized) or not on the top stack of apps, i.e., doesn't have focus. In my project, I have a separate set of classes that operate entirely independently from the main app when those states are encountered. – Marc George Jun 07 '23 at 00:25

0 Answers0