Skip to content

Instantly share code, notes, and snippets.

@aaustin
Created October 23, 2015 23:12
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 aaustin/4b7253033d39fa495a3f to your computer and use it in GitHub Desktop.
Save aaustin/4b7253033d39fa495a3f to your computer and use it in GitHub Desktop.
@Override
public void onReceive(Context context, Intent intent) {
String rawReferrerString = intent.getStringExtra("referrer");
if(rawReferrerString != null) {
Log.i("MyApp", "Received the following intent " + rawReferrerString);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment