Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Episode 13: Android Notifications #11

Open
moreli opened this issue Nov 25, 2011 · 0 comments
Open

Episode 13: Android Notifications #11

moreli opened this issue Nov 25, 2011 · 0 comments

Comments

@moreli
Copy link

moreli commented Nov 25, 2011

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant