Try to understand "Calling startActivity from outside of an Activity context"
<p>Need help in understanding this exception:</p>

<pre><code>   system_log_all 11-14 11:52:28.540 E/AndroidRuntime(31615): FATAL EXCEPTION: main
system_log_all 11-14 11:52:28.540 E/AndroidRuntime(31615): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
system_log_all 11-14 11:52:28.540 E/AndroidRuntime(31615):  at android.app.ContextImpl.startActivity(ContextImpl.java:689)
system_log_all 11-14 11:52:28.540 E/AndroidRuntime(31615):  at android.content.ContextWrapper.startActivity(ContextWrapper.java:258)
system_log_all 11-14 11:52:28.540 E/AndroidRuntime(31615):  at android.content.ContextWrapper.startActivity(ContextWrapper.java:258)
</code></pre>

<p>What is the meaning from 'outside of an Activity  context'? I don't think I call 'startActivity' from 'Application' Context, so what does it mean by outside of an activity Context?</p>

<p>Thank you.</p>
