Forging-Titanium
Forging-Titanium copied to clipboard
Episode 13: Android Notifications
The code throws the following error: startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK and essentially starts the app again. I'm trying to use the notification to get back from a background audio app, and it starts the app again, causing to have two audio streams play on top of each other.
Tried various configurations options, but the error remains. Any idea how to set it up to run in a single context?