Tap for Tap has made their own UPDATED wrapper and they have promised to keep it updated.
Tap for Tap has upgraded their SDK.
They have added Appwall and Interstitials. They have also changed from using a key for each of your apps to one key for all your apps.
So a new wrapper is needed and here it is.
Instructions:
Sign up with Tap for Tap (if not already signed up)
Download the SDK from Tap for Tap.
Copy TapForTap.jar to your Libraries folder.
Download the attached wrapper.
Copy MaxTapForTap.xml and MaxTapForTap.jar to your Libraries folder.
Check MaxTapForTap in your libraries tab.
Add the following to your app:
and add the following in the Manifest editor:
'Tap4Tap
----
--------------------------------------------------
Thanks goes to Magicuser68 and Erel :sign0188:
--------------------------------------------------
Wrapper udated with TapForTap SDK 2.02
18 JAN 2013 Updated to work with TapForTap SDK.2.1.1
Tap for Tap has upgraded their SDK.
They have added Appwall and Interstitials. They have also changed from using a key for each of your apps to one key for all your apps.
So a new wrapper is needed and here it is.
Instructions:
Sign up with Tap for Tap (if not already signed up)
Download the SDK from Tap for Tap.
Copy TapForTap.jar to your Libraries folder.
Download the attached wrapper.
Copy MaxTapForTap.xml and MaxTapForTap.jar to your Libraries folder.
Check MaxTapForTap in your libraries tab.
Add the following to your app:
B4X:
Sub Globals
Dim AdTap as TapForTap
End Sub
Sub Activity_Create(FirstTime As Boolean)
adtap.Initialize("Adtap", "Your Tap for Tap ID")
Activity.AddView(adtap, 50%x-160dip, 0, 320dip, 50dip) '(for banners only!)
adtap.LoadInterstitial '(for interstitials)
adtap.LoadAds '(for banners)
adtap.LoadAppWall '(for appwalls)
End Sub
Sub Activity_Pause (UserClosed As Boolean)
If UserClosed=True Then
adtap.StopLoadingAds
adTap.StopEventListener
End If
End Sub
Sub adtap_receivead
'Do something
End Sub
Sub adtap_failedtoreceivead
'Do something
End Sub
Sub adtap_tapad
'Do something
End Sub
and add the following in the Manifest editor:
'Tap4Tap
B4X:
AddApplicationText(
<activity android:name="com.tapfortap.TapForTapActivity"/>
)
--------------------------------------------------
Thanks goes to Magicuser68 and Erel :sign0188:
--------------------------------------------------
Wrapper udated with TapForTap SDK 2.02
18 JAN 2013 Updated to work with TapForTap SDK.2.1.1
Attachments
Last edited: