App Invites for Android

8928b5277aa7234dbca4ff782952343a?s=47 funnelbit
September 30, 2015

App Invites for Android

8928b5277aa7234dbca4ff782952343a?s=128

funnelbit

September 30, 2015
Tweet

Transcript

  1. 13.

    ট଴Λड͚Δ w #SPBEDBTU3FDFJWFS࡞ͬͯ଴ͪߏ͑Δ public class ReferrerReceiver extends BroadcastReceiver {
 @Override


    public void onReceive(Context context, Intent intent) {
 Intent deepLinkIntent = AppInviteReferral .addPlayStoreReferrerToIntent(intent,
 , new Intent(“action_deep_link”)); LocalBroadcastManager .getInstance(context) .sendBroadcast(deepLinkIntent);
 }
 }
  2. 14.

    ট଴Λड͚Δ new BroadcastReceiver() {
 @Override
 public void onReceive(Context context, Intent

    intent) {
 if (AppInviteReferral.hasReferral(intent)) {
 Intent newIntent = new Intent(intent).setClass(MainActivity.this, DeepLinkActivity.class);
 startActivity(newIntent); // ىಈ
 }
 }
 };