Forging-Titanium icon indicating copy to clipboard operation
Forging-Titanium copied to clipboard

Episode 13: Android Notifications

Open moreli opened this issue 14 years ago • 0 comments

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?

moreli avatar Nov 25 '11 03:11 moreli