Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag

$
0
0

Hey all,

I am just working through the Hello MultiScreen tutorial on the docs, and I am receiving the following error:

Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?

I have tried the example source code posted with the tutorial and it also gives me this error, and a quick Google search turns up not much to do with Xamarin specifically, and it is mainly more from background services trying to launch activities. Has anyone come across this before?


Viewing all articles
Browse latest Browse all 204402

Trending Articles