Skip to content

Instantly share code, notes, and snippets.

@acidjazz
Created February 14, 2013 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acidjazz/4949990 to your computer and use it in GitHub Desktop.
Save acidjazz/4949990 to your computer and use it in GitHub Desktop.
package com.rosetta.receiver;
import android.os.Bundle;
import android.util.Log;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class Receiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
Bundle extras = intent.getExtras();
String referrerString = extras.getString("referrer");
Log.w("TEST", "Referrer is: " + referrerString);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment