title: Why won't my BroadcastReceiver call other methods?
body: <p>I have a BroadcastReceiver that can successfully catch a broadcast, but if I try to call another method from it, it won't always work.  Here's my setup:</p>
  
  <pre><code>private class MyReceiver extends BroadcastReceiver {
      @Override
      public void onReceive(Context context, Intent intent) {
          if (working == true) {
              //toast to make sure we got here
              doWork();
          }
      }
  }
  </code></pre>
  
  <p>The toast within the if gets called, but doWork doesn't execute.  Has anyone dealt with a similar issue?</p>