Android Toast works in emulator but not on my device
<p>I use this code in several places in my app:</p>

<pre><code>Toast.makeText(getApplicationContext(), "toast", Toast.LENGTH_SHORT).show();
</code></pre>

<p>When running in the emulator they almost always show.  The only times they don't show is when I'm debugging and take a long time to step through the code.</p>

<p>When I install the app on my device none of the Toasts work.  I didn't notice at first but I realized that I've never once seen them popup on my device.  Is that how Toasts work?</p>

<p>Edit:
I have tried these two alternatives:
Toast.makeText(this, "toast", Toast.LENGTH_SHORT).show();
Toast.makeText(ActivityName.this, "toast", Toast.LENGTH_SHORT).show();</p>

<p>Neither of these work.  All toasts work in the emulator (2.2, 2.3, 4.1) but none work on my device (Galaxy Nexus 4.1).</p>
