I had tested the Appbrain SDK and Inmobi SDK. And I found this common receiver. And I made custom receiver. I thought that when download the app in google market, google market sends 'referer' value to my app. But I haven't received anything. What's problem?
//This is Appbrain's receiver
<receiver android:exported="true" android:name="com.appbrain.ReferrerReceiver" >
    <intent-filter>
        <action android:name="com.android.vending.INSTALL_REFERRER" />
    </intent-filter>
</receiver>
//This is Inmobi's receiver
<receiver android:name="com.inmobi.adtracker.androidsdk.IMAdTrackerInstallRefererReciever" android:exported="true"  >
   <intent-filter>
      <action android:name="com.android.vending.INSTALL_REFERRER" />
      <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
   </intent-filter>
</receiver>
//This is My Custom receiver
<receiver android:name="com.xgame.adproject2.TestReceiver" android:exported="true" >
    <intent-filter>
        <action android:name="com.android.vending.INSTALL_REFERRER" />
    </intent-filter>
</receiver>
// source
public class TestReceiver extends BroadcastReceiver{
    public static final String TAG = "TEST";
    String referrerString = "";
    @Override
    public final void onReceive(Context context, Intent intent) {
        Log.e(TAG, "11111111");
        if(intent.getAction().equals("com.android.vending.INSTALL_REFERRER")) {
           Bundle extras = intent.getExtras();
           referrerString = extras.getString("referrer");
           Log.e(TAG, "REFERRER: " + referrerString);
        }
    }
}
When down the app, I was input this url in android web browser. But after download app, I haven't received referrer value.