Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time

Target configuration

You can deliver targeted content in Android applications.

Set the application context

(Required) The setContext() method must be called once in the onCreate() method of your main activity.

For example:

public void onCreate(Bundle savedInstanceState) { 

If you already added this method call when you implemented Analytics or Audience Management, you do not need to add it again.