Audience Manager 設定

您可傳送訊號並從 Audience Manager 中擷取訪客區段。

設定應用程式內容

(必要) 只要主要活動的 onCreate() 方法中包含 setContext() 方法,就必須呼叫後者。

以下是此方法的範例程式碼:

@Override 
public void onCreate(Bundle savedInstanceState) { 
  super.onCreate(savedInstanceState); 
  setContentView(R.layout.main); 
  Config.setContext(this.getApplicationContext()); 
}

如果您已在實施 Analytics 或 Target 時新增此方法呼叫,便不需要再次新增。

本頁內容

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now