I have a Xamarin forms Android app that is running without problems. It consists of a foreground app that is used for configuration purposes and a background thread that listens for events. Everything works great and as expected.
I was asked to add an enhancement. When the background thread receives a specific event, I need to launch another app installed on the device. I have coded this, and it works... sort of. The external app is only launched if the main thread is in the foreground. What I need to do is either find a way of starting a NEW intent that launches the app from the background thread, or to have the background thread push the main thread back into the foreground? Either way will work, the second method is a workaround... but the app currently works under those conditions.
Any other