title: "android.provider.Telephony.SMS_RECEIVED" not working on my device (HTC Wildfire) - how to debug?
body: <p>I face really frustrating problem.</p>
  
  <p>I created SMS receiver as most online and book's tutorials say.</p>
  
  <p>AndroidManifest.xml:</p>
  
  <pre><code>&lt;uses-sdk android:minSdkVersion="8" /&gt;
  &lt;uses-permission android:name="android.permission.RECEIVE_SMS" /&gt;
  
  &lt;application android:name="roboguice.application.RoboApplication"
               android:icon="@drawable/icon"
               android:label="@string/app_name"
               android:debuggable="true" &gt;    
  
      &lt;!-- ... other stuffs here ... --&gt;
  
      &lt;receiver android:name=".receivers.SmsReceiver"&gt; 
          &lt;intent-filter&gt;
              &lt;action android:name="android.provider.Telephony.SMS_RECEIVED" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>SmsReceiver.java:</p>
  
  <pre><code>public class SmsReceiver extends BroadcastReceiver {
  
      public static final String TAG = "SmsReceiver";
  
      @Override
      public void onReceive(Context context, Intent intent) {
          Log.d(TAG, "SMS received!");
          Toast.makeText(context, "SMS received.", Toast.LENGTH_LONG).show();
      }
  }
  </code></pre>
  
  <p><strong>While it works correctly on Emulator (Android 2.2) it doesn't work on my HTC Wildfire</strong> (Android 2.2.1, not rooted).</p>
  
  <p>The main problem is that I'm new into Android deveopment and I have completely no idea how to debug it.</p>
  
  <p>Can I find out something usefull with LogCat logs sendt from my HTC device while it receives SMS message? Why is my device different!?</p>