• Tutorials
  • Tips & Tricks
  • Applications
  • News

Android Trainee

  • Tutorials
  • Tips & Tricks
  • Applications
  • News
Home  /  Tutorials  /  How to implement HeyZap Ads In Android Application?
20 February 2015

How to implement HeyZap Ads In Android Application?

Written by admin@androidtrainee
Tutorials Advertising Networks, android, android ads, android Advertising Networks, HeyZap Leave a Comment

About :-

A personalized experience

Heyzap machine learning algorithms crunch hundreds of dimensions to personalize the ad experience, optimizing revenue from every appropriate session of your app.

 

Platform :-

  • Adobe Air

    Unity

    Android

    iOS

    Amazon

    Payment Method & Terms :-

    Money earned each month is typically transferred as soon as it clears on the other side of the network. Net-30 plus processing. Oh and yes, we can pay you in Bitcoin (if you’d like).

 

—> Frist Open HeyZap Account And publisherId .

 

After Getting All Information  Start Eclipse And Create New Project.

 

—>  AndroidManifest.xml

 


<!--  IMPORTANT: These permissions are required. -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />

<!-- HEYZAP START -->
<!-- You need these lines in your Android Manifest. Otherwise, your app will crash. -->
<activity android:name="com.heyzap.sdk.ads.HeyzapInterstitialActivity" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
<activity android:name="com.heyzap.sdk.ads.HeyzapVideoActivity" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
<receiver android:name="com.heyzap.sdk.ads.PackageAddedReceiver">
<intent-filter>
<data android:scheme="package"/>
<action android:name="android.intent.action.PACKAGE_ADDED"/>
</intent-filter>
</receiver>
<!-- HEYZAP END -->

 

 

open HeyzapActivity.java file…


public class HeyzapActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

/*** START HERE
*
* You must "start" Heyzap at the beginning of your app's lifecycle.
*/

// This is Heyzap's test publisher ID. For testing, try it with your own publisher ID.
String publisherId = "c715bb27ab0ed8abed0f9081c2f3a934";

HeyzapAds.start(publisherId, this);

/* After you are done, continue creating your activity. */
setContentView(R.layout.activity_heyzap);

 

InterstitialAd.fetch();

InterstitialAd.display(this);

 

VideoAd.fetch();

VideoAd.display(this);

}

 

}

 

—> Run Your Code.

heyzap2 heyzap1

admin@androidtrainee

 Previous Article How to implement mobileCore Ads In Android Application?
Next Article   How to implement AppBrain AppLift Ads In Android Application?

Related Posts

  • Android New Quick Action Animation.

    July 15, 2015
  • Android satellite menu Animation.

    July 15, 2015
  • Android Staggered Grid & List View.

    July 14, 2015

Leave a Reply

Cancel reply

Tags

admob Advertising Networks AerServ Airpush android android ads android Advertising Networks Android App android chart animation Android GridView android L android lollipop androidmapv2 AppBrain AppFlood Appia AppKey Appnext AppOptim Appwiz chart chartview Epom Market google place api GridView Image Loader InMobi LeadBolt location map mapv2 mapv2 api material design Minimob Mobicow MobileCore MobiMicro NativeX Pingjam RevMob StarApplication startapp TapContext touched location Widdit

Count per Day

  • 347Reads yesterday:
  • 463820Total visitors:
  • 40Visitors today:
  • 2413Visitors per month:
  • 0Visitors currently online:
© Copyright 2014. Theme by BloomPixel.
Posting....