toast only in my activity
<p>I've an app that periodically show same toasts also when app goes to background. So when I use other app I see toasts of my app. How allow show toasts only in my activities?</p>

<pre><code>Toast.makeText(getApplicationContext(), "level",
Toast.LENGTH_LONG).show();
</code></pre>
