The com.android.vending.INSTALL_REFERRER intent is used for google
analytics:
http://code.google.com/mobile/analytics/docs/android/

I have put that intent into an app as following:

<receiver android:name="com.mycompany.MyReceiver"
android:exported="true">
  <intent-filter>
    <action android:name="com.android.vending.INSTALL_REFERRER" />
  </intent-filter>
</receiver>

to do custom referrer tracking.  Yes, I am triggering my own handler,
not the google analytics handler.

public class MyReceiver extends BroadcastReceiver {
        public void onReceive(Context context, Intent intent) {
                try {
                        String referrer =
URLDecoder.decode(intent.getStringExtra("referrer"));
.
.
.


 This worked several months ago quite effectively and I was getting
events after installing from the market.  But it stopped working
sometime lately.  Does anyone know if something changed in the market
etc?

Thanks,
Mark

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to