-
-
Save SupersonicGist/08217d2c0479c83456ef to your computer and use it in GitHub Desktop.
SDK 6 Android sdk init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Import the Supersonic Class | |
import com.supersonic.mediationsdk.sdk.Supersonic; | |
import com.supersonic.mediationsdk.sdk.SupersonicFactory; | |
public class YourActivity extends Activity | |
{ | |
//Declare the Supersonic Mediation Agent | |
private Supersonic mMediationAgent; | |
//For example, add the following inside “onCreate()” method: | |
public void onCreate(Bundle savedInstanceState) | |
{ | |
super.onCreate(savedInstanceState); | |
//Get the mediation publisher instance | |
mMediationAgent = SupersonicFactory.getInstance(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment