Skip to content

Commit

Permalink
update version v2.0.6
Browse files Browse the repository at this point in the history
Improve performance.
Fix Bug.
  • Loading branch information
baishixian committed Feb 13, 2017
1 parent 6d304fa commit 81dc1e0
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 5 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

- [Getting Started with SuntengMobSDK](https://github.com/shunfei/suntengMob-sdk-android/blob/master/docs/Getting_Started.md)


## Download

[SuntengMob-sdk-Android-Release](https://github.com/shunfei/suntengMob-sdk-android/releases)
Expand All @@ -13,21 +12,33 @@

[Sample Apk](https://raw.githubusercontent.com/shunfei/suntengMob-sdk-android/master/sample/MobSample.apk)


## Change Log

02/13/2017 - [v2.0.6](https://github.com/shunfei/suntengMob-sdk-android/releases/tag/v2.0.6)

* Improve performance.
* Fix Bug.

01/12/2017 - v2.0.5

* Update API.
* New support FileProvider.
* Improve Sample

12/07/2016 - v2.0.4

* New support Native Ad.
* New support Https.
* some bugs fixes.

11/09/2016 - v2.0.3

* Update API.
* New support Security verification
* New support Android 7.0.
* bugs fixes.
* bugs fixes.

## 效果展示

**Sample App下载**
[Sample Apk](https://raw.githubusercontent.com/shunfei/suntengMob-sdk-android/master/sample/MobSample.apk)
17 changes: 16 additions & 1 deletion docs/Getting_Started.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SuntengMob SDK V2.0.5
# SuntengMob SDK V2.0.6
### 一、导入sdk
将sdk解压后的libs目录下的jar文件导入到工程指定的libs目录
### 二、配置AndroidManifest.xml文件
Expand Down Expand Up @@ -98,6 +98,13 @@
//当用户点击关闭广告或在广告界面按下back键
Toast.makeText(getApplicationContext(),"插屏关闭",Toast.LENGTH_SHORT).show();
}
@Override
public void onAdDisplayFail(Ad ad, String msg) {
//当广告过期了会回调
Toast.makeText(getApplicationContext(), "插屏展示失败,广告过期了,请重新请求",Toast.LENGTH_SHORT).show();
}
});
}

Expand Down Expand Up @@ -173,6 +180,14 @@
//当开屏广告关闭时会回调
Toast.makeText(getApplicationContext(), "开屏关闭",Toast.LENGTH_SHORT).show();
}
@Override
public void onAdDisplayFail(Ad ad, String msg) {
//当广告过期了会回调
Toast.makeText(getApplicationContext(), "开屏展示失败,广告过期了,请重新请求",Toast.LENGTH_SHORT).show();
}
});
}
> *SplashManager.getIns().loadAd(placementId, listener)*方法中第一个参数为广告位id,第二个参数是用来监听广告竞价是否成功的回调。
Expand Down
2 changes: 1 addition & 1 deletion sample/Mob-sample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ dependencies {
compile 'com.android.support:design:24.2.1'
compile 'com.android.support:cardview-v7:24.0.+'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile files('libs/suntengMob-2.0.5.jar')
compile files('libs/suntengMob-2.0.6.jar')
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,12 @@ public void onAdClosed(Ad ad) {
//当开屏广告关闭时会回调
Toast.makeText(getApplicationContext(), "开屏关闭",Toast.LENGTH_SHORT).show();
}

@Override
public void onAdDisplayFail(Ad ad, String msg) {
//当广告过期了会回调
Toast.makeText(getApplicationContext(), "开屏展示失败,广告过期了,请重新请求",Toast.LENGTH_SHORT).show();
}
});
}

Expand Down Expand Up @@ -316,6 +322,12 @@ public void onAdClosed(Ad ad) {
//当用户点击关闭广告或在广告界面按下back键
Toast.makeText(getApplicationContext(),"插屏关闭",Toast.LENGTH_SHORT).show();
}

@Override
public void onAdDisplayFail(Ad ad, String msg) {
//当广告过期了会回调
Toast.makeText(getApplicationContext(), "插屏展示失败,广告过期了,请重新请求",Toast.LENGTH_SHORT).show();
}
});
}

Expand Down
Binary file modified sample/MobSample.apk
Binary file not shown.
Binary file not shown.

0 comments on commit 81dc1e0

Please sign in to comment.