title: BroadcastReceiver not catching the INSTALL_REFERRER broadcast
body: <p>i created an app that has a BroadcastReceiver that catches a <code>INSTALL_REFERRER</code> broadcast.</p>
  
  <p>When I'm installing the app with eclipse and creating a broadcast with adb I see that all work fine, the LogCat is displaying all that it should be.
  But when I'm installing the app from the play store nothing is showing on the logcat.
  If I understand correctly, the play store app should create a broadcast witch the app that is being installed supposed to catch, right?</p>
  
  <p>Thats basicly what im doing:</p>
  
  <pre><code>public class SDK_Referrer extends BroadcastReceiver
  {
      public void onReceive(Context context, Intent intent)
      {
          if (intent.getAction().equals("com.android.vending.INSTALL_REFERRER"))
          {
              String referrer = intent.getStringExtra("referrer");
              if (!(referrer == null || referrer.length() == 0))
              {
                  // extracting the relevant data to Map
                  Log.d("SAMPLE", "Generating Ymid from referrel");
                  Map&lt;String, String&gt; referralmap = 
                      createHashMapFromQueryString(referrer);
                  Log.d("SAMPLE", "Ymid is: " + referralmap.get("ymid"));
              }
          }
      }
  }
  </code></pre>
  
  <p>i only want to send someting to a server when the app is being installed.
  Thanks!</p>