Sample codes below are from Vdopia Sample App. The high level flow looks like below.
AdListActivity → AdPartnersListActivity → MediaActivity
AdListActivity - This is where we load the ad
MediaActivity - This is where we show the ad
Copyright Vdopia, Inc. DBA Chocolate All Right Reserved.