Saturday, 6 February 2016

Adbuddiz Ads in Android Studio



For HTML Tutorial Click this link step by step guide HTML Tutorial

For Startapp ads tutorial Click this link Startapp Ads in Android Studio

My Son Latest apps Click this link Android Programming and Kids app 


Adbuddiz ads in Android Studio:- 
1) build gradle(Module app)
  android { ... }
   dependencies {
      compile 'com.purplebrain.adbuddiz.sdk:AdBuddiz-Java:3.+'
   }
   repositories {
      maven {
         url 'http://repository.adbuddiz.com/maven'
      }
   }
Update Android Manifest.xml add theses lines 
 Ad Permission
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
 Adbuddiz Activity
  <application ...>
     ...
     <activity android:name="com.purplebrain.adbuddiz.sdk.AdBuddizActivity" 
               android:theme="@android:style/Theme.Translucent" />
   </application> 
Add these line in Main Activity.java
AdBuddiz.setPublisherKey("Your Publisher Key");
AdBuddiz.setLogLevel(AdBuddizLogLevel.Info);
AdBuddiz.cacheAds(this);
AdBuddiz.showAd(this); 
For Video tutorial of adbuddiz click this link Adbuddiz ads in android studio 
You also learn C tutorial step by step guide 
www.javatpoint.info 
 
 

No comments:

Post a Comment