DevStore首页 > DEV资源 > 服务评测下载 > 点金广告安卓版服务评测

点金广告安卓版服务评测

查看服务>>
DevStore编辑 尚丽洁 | 2014-07-20 11:15    浏览量(5506)    纠错    评论(2)    点金广告平台服务详情>>

服务评测作者

  • 24 能力值
  • 4 源码
  • 8 评测
  • 0 资料

评测目录

集成测试

评测环境

测试环境:

测试对象

点金广告有积分、无积分SDK

是否免费

免费

支持系统

Android、IOS

测试系统

Android

测试手机

华为荣耀3C

系统版本

4.2.2

手机网络

2G/3G/wifi

测试方法

使用渠道提供的测试Demo进行功能性测试

测试时长

3小时

测试难度

简单

基本参数:

如何收费

免费

支持平台

iOS、Android

集成难度

简单

稳定性

稳定

广告形式

推广墙、横幅广告条

支持语言

中文

投放类型

地区、时间段、兴趣、终端类别

点击率

1%-3%

填充率

90%

支持设备

iPhone/Android

计价方式

CPC、CPA、CPS

扣量程度

不扣

打款日期

暂无


集成过程

客户端集成

下载点击广告SDK,分为有积分、无积分两种,但集成方式是完全一样。

点金广告

打开其中一个,有如下目录:

点金广告

demo文件下存放测试项目

doc文件夹存放开发文档

lib文件夹存放需要引入的jar包

readme.txt是sdk相关说明

导入测试项目:

点金广告

点金广告

我们接入SDK的时候,只需要把dianjin.jar包放入Android项目中libs文件夹下即可:

点金广告

配置AndroidManifest.xml

-添加权限:

<uses-permissionandroid:name="android.permission.INTERNET"/>
<uses-permissionandroid:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permissionandroid:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permissionandroid:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permissionandroid:name="android.permission.READ_PHONE_STATE"/>
<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permissionandroid:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permissionandroid:name="android.permission.GET_TASKS"/>

-配置相关的Activity和Service

<!--dianjin start -->
<activity
android:name="com.bodong.dianjinweb.downloadmanager.DianJinDownloadManager"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask"
android:theme="@android:style/Theme.Black.NoTitleBar"/>
<activity
android:name="com.bodong.dianjinweb.web.DianjinWebAcitivity"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask"
android:theme="@android:style/Theme.Black.NoTitleBar"/>
 
<serviceandroid:name="com.bodong.dianjinweb.service.DianJinService">
</service>
<!--dianjin end -->

初始化SDK

DianJinPlatform.initialize(this, 1010,
                "eb3de875023ff1db2077c13888a637a6", 1001);

打开广告墙

DianJinPlatform.showOfferWall(MainActivity.this);

展示横幅banner

-在布局文件定义

<com.bodong.dianjinweb.banner.DianJinBanner
android:id="@+id/dianJinBaaner1"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</com.bodong.dianjinweb.banner.DianJinBanner>

-代码中启用

banner.startBanner();

显示悬浮框

DianJinPlatform.showFloatView(MainActivity.this);

隐藏悬浮框

DianJinPlatform.hideFloatView(MainActivity.this);

主要功能

推广墙

点金精品软件墙是一种通过植入广告SDK,用户点击和下载精品墙上的软件,给开发者带动收益的一个广告模式。

点金广告

横幅广告(分为mini型广告和普通型)

点金广告平台支持横幅广告,可以通过XML和代码形式集成,用户点击Banner中的广告产品用户同样可以获得奖励,而开发者也会从中得到收益。
点金广告

无积分

无积分广告跟积分广告是类似的,区别在是否有统计积分的方法。
点金广告

功能特色

悬浮框

悬浮框是点金的一个特色,在应用程序界面上显示一个点金手,比较炫。用户可以选择显示悬浮框和隐藏悬浮框,主要看用户个人的喜好。
点金广告

DEMO展示

AndroidManifest.xml

<?xmlversion="1.0"encoding="utf-8"?>
<manifestxmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.dianjinwebreward"
android:versionCode="1"
android:versionName="1.0">
 
<uses-permissionandroid:name="android.permission.INTERNET"/>
<uses-permissionandroid:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permissionandroid:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permissionandroid:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permissionandroid:name="android.permission.READ_PHONE_STATE"/>
<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permissionandroid:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permissionandroid:name="android.permission.GET_TASKS"/>
 
<uses-sdkandroid:minSdkVersion="7"/>
 
<application
android:allowBackup="true"
android:icon="@drawable/dianjin_logo"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
android:name="com.example.dianjinwebreward.MainActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Black.NoTitleBar">
<intent-filter>
<actionandroid:name="android.intent.action.MAIN"/>
 
<categoryandroid:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
 
<!--dianjin start -->
<activity
android:name="com.bodong.dianjinweb.downloadmanager.DianJinDownloadManager"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask"
android:theme="@android:style/Theme.Black.NoTitleBar"/>
<activity
android:name="com.bodong.dianjinweb.web.DianjinWebAcitivity"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask"
android:theme="@android:style/Theme.Black.NoTitleBar"/>
 
<serviceandroid:name="com.bodong.dianjinweb.service.DianJinService">
</service>
<!--dianjin end -->
 
</application>
 
</manifest>

MainActivity.java

packagecom.example.dianjinwebreward;
 
importandroid.app.Activity;
importandroid.app.AlertDialog;
importandroid.content.DialogInterface;
importandroid.os.Bundle;
importandroid.view.KeyEvent;
importandroid.view.View;
importandroid.widget.TextView;
importandroid.widget.Toast;
 
importcom.bodong.dianjinweb.DianJinPlatform;
importcom.bodong.dianjinweb.banner.DianJinBanner;
importcom.bodong.dianjinweb.listener.AppActiveListener;
importcom.bodong.dianjinweb.listener.ChannelListener;
importcom.bodong.dianjinweb.listener.ConsumeListener;
 
public class MainActivity extends Activity {
 
         privateTextViewmBalanceTextView;
         privateTextViewmChannelTextView;
 
         @Override
         protected void onCreate(Bundle savedInstanceState) {
                   super.onCreate(savedInstanceState);
                   /** 调用点金方法前需要先初始化 */
                   // DianJinPlatform.initialize(this, 1010,
                   // "eb3de875023ff1db2077c13888a637a6");
                   DianJinPlatform.initialize(this, 1010,
                                     "eb3de875023ff1db2077c13888a637a6", 1001);
                   setContentView(R.layout.activity_main);
                   initView();
                   DianJinPlatform.requestChannelEnable(getApplicationContext(),
                                     newChannelListener() {
 
                                               @Override
                                               public void onSuccess(boolean enable) {
                                                        mChannelTextView.setVisibility(View.VISIBLE);
                                                        mChannelTextView.setText("在线参数,是否在该渠道显示广告=" + enable);
                                               }
 
                                               @Override
                                               public void onError(interrorCode, String errorMessage) {
                                                        mChannelTextView.setVisibility(View.GONE);
                                                        Toast.makeText(getApplicationContext(),
                                                                           "在线参数获取失败,请检查网络!", Toast.LENGTH_SHORT).show();
                                               }
                                     });
 
                   DianJinPlatform.setAppActivedListener(new AppActiveListener() {
 
                            @Override
                            public void onSuccess(long reward) {
                                     Toast.makeText(MainActivity.this, "激活成功,奖励金额为:" + reward,
                                                        Toast.LENGTH_SHORT).show();
                            }
 
                            @Override
                            public void onError(interrorCode, String errorMessage) {
                                     switch (errorCode) {
                                     case DianJinPlatform.DIANJIN_NET_ERROR:// 网络不稳定
                                               Toast.makeText(MainActivity.this, errorMessage,
                                                                 Toast.LENGTH_SHORT).show();
                                               break;
                                     case DianJinPlatform.DIANJIN_DUPLICATE_ACTIVATION:// 重复激活
                                               Toast.makeText(MainActivity.this, errorMessage,
                                                                 Toast.LENGTH_SHORT).show();
                                               break;
 
                                     case DianJinPlatform.DIANJIN_ADVERTSING_EXPIRED:// 应用已下架
                                               Toast.makeText(MainActivity.this, errorMessage,
                                                                 Toast.LENGTH_SHORT).show();
                                               break;
 
                                     case DianJinPlatform.DIANJIN_ACTIVATION_FAILURE:// 激活失败
                                               Toast.makeText(MainActivity.this, errorMessage,
                                                                 Toast.LENGTH_SHORT).show();
                                               break;
 
                                     default:
                                               break;
                                     }
                            }
                   });
         }
 
         @Override
         protected void onResume() {
                   mBalanceTextView.setText("当前余额:"
                                     + DianJinPlatform.getBalance(MainActivity.this));
                   super.onResume();
         }
 
         @Override
         publicbooleanonKeyDown(intkeyCode, KeyEvent event) {
                   if (keyCode == KeyEvent.KEYCODE_BACK) {
                            newAlertDialog.Builder(MainActivity.this)
                                               .setTitle("点金Demo")
                                               .setMessage("是否确认退出点金有积分DEMO?")
                                               .setCancelable(false)
                                               .setPositiveButton("确定",
                                                                 newDialogInterface.OnClickListener() {
                                                                           public void onClick(DialogInterface dialog,
                                                                                             int id) {
                                                                                    /* * 销毁广告 */
                                                                                    DianJinPlatform.destory(MainActivity.this);
                                                                                    MainActivity.this.finish();
                                                                           }
                                                                 })
                                               .setNegativeButton("取消",
                                                                 newDialogInterface.OnClickListener() {
                                                                           public void onClick(DialogInterface dialog,
                                                                                             int id) {
                                                                                    dialog.cancel();
                                                                           }
                                                                 }).show();
                   }
                   return true;
         }
 
         private void initView() {
                   // LinearLayoutmainLayout = (LinearLayout)findViewById(R.id.main);
                   /** java代码方式添加DianJinBanner */
                   // mainLayout.addView(new DianJinBanner(MainActivity.this));
 
                   /** java代码方式添加DianJinBanner */
                   // mainLayout.addView(new DianJinMiniBanner(MainActivity.this));
 
                   findViewById(R.id.btn_web).setOnClickListener(
                                     newView.OnClickListener() {
                                               @Override
                                               public void onClick(View v) {
                                                        /** 打开广告墙 */
                                                        DianJinPlatform.showOfferWall(MainActivity.this);
                                               }
                                     });
 
                   mBalanceTextView = (TextView) findViewById(R.id.balance);
                   mBalanceTextView.setText("当前余额:"
                                     + DianJinPlatform.getBalance(MainActivity.this));
                   findViewById(R.id.add).setOnClickListener(new View.OnClickListener() {
                            @Override
                            public void onClick(View v) {
                                     /** 增加余额 */
                                     DianJinPlatform.addReward(MainActivity.this, 10);
                                     mBalanceTextView.setText("当前余额:"
                                                        + DianJinPlatform.getBalance(MainActivity.this));
                            }
                   });
 
                   findViewById(R.id.reduce).setOnClickListener(
                                     newView.OnClickListener() {
                                               @Override
                                               public void onClick(View v) {
                                                        /** 消费余额 */
                                                        DianJinPlatform.consume(MainActivity.this, 10,
                                                                           newConsumeListener() {
 
                                                                                    @Override
                                                                                    public void onSuccess() {
                                                                                             mBalanceTextView.setText("当前余额:"
                                                                                                                + DianJinPlatform
                                                                                                                                   .getBalance(MainActivity.this));
                                                                                    }
 
                                                                                    @Override
                                                                                    public void onError(interrorCode,
                                                                                                       String errorMessage) {
                                                                                             switch (errorCode) {
                                                                                             case DianJinPlatform.DIANJIN_ERROR_ILLEGAL_CONSUNE:// 非法的消费金额
                                                                                                       Toast.makeText(MainActivity.this,
                                                                                                                         errorMessage,
                                                                                                                         Toast.LENGTH_SHORT).show();
                                                                                                       break;
                                                                                             case DianJinPlatform.DIANJIN_ERROR_BALANCE_NO_ENOUGH:// 余额不足
                                                                                                       Toast.makeText(MainActivity.this,
                                                                                                                         errorMessage,
                                                                                                                         Toast.LENGTH_SHORT).show();
                                                                                             default:
                                                                                                       break;
                                                                                             }
                                                                                    }
                                                                           });
 
                                               }
                                     });
 
                   findViewById(R.id.btn_show_float).setOnClickListener(
                                     newView.OnClickListener() {
 
                                               @Override
                                               public void onClick(View v) {
                                                        /** 显示悬浮框 */
                                                        DianJinPlatform.showFloatView(MainActivity.this);
                                               }
                                     });
 
                   findViewById(R.id.btn_hide_float).setOnClickListener(
                                     newView.OnClickListener() {
 
                                               @Override
                                               public void onClick(View v) {
                                                        /** 隐藏悬浮框 */
                                                        DianJinPlatform.hideFloatView(MainActivity.this);
                                               }
                                     });
 
                   finalDianJinBanner banner = (DianJinBanner) findViewById(R.id.dianJinBaaner1);
 
                   findViewById(R.id.btn_show_banner).setOnClickListener(
                                     newView.OnClickListener() {
                                               @Override
                                               public void onClick(View v) {
                                                        banner.startBanner();
                                               }
                                     });
                   mChannelTextView = (TextView) findViewById(R.id.channel_shielded);
         }
 
}

测试日志

打开推广墙(回调返回的json数据)

点金广告

连接socket日志

点金广告

显示banner

点金广告

遇到问题

导入项目出现以下错误

点金广告

原因是你的ADT没有对应版本的SDK,这里你选择ADT已有的SDK即可。

点金广告

上手难易

点金广告客户端集成简单,只需简单把平台jar复制到项目的libs目录下即可。关于SDK中的API使用也是相对简单的,开发者只要参考SDK提供的开发文档,相信也是很容易集成到项目中去。

开发文档

点金为我们开发者提供了对应平台的SDK开发文档

点金广告


此服务评测版权归DevStore所有,禁止转载,申请升级为 特约评测员 才可进行测评立即申请

声明:DevStore评测内容都是基于专业评测人员/开发者通过真实的测试之后得出的数据,服务版本实时都在更新,所以评测并不一定是此服务的最新版本,但我们会秉承公正专业精准的态度,对开发者负责,同时欢迎大家监督和建议,如对评测内容有异议,请提交纠错,由专业的评测团队再次评测,我们会尽最大努力为大家提供更贴心的服务。

DevStore_全球首家第三方开发者服务商店,最精准的服务对比、最专业的服务评测、最及时的行业动态,为开发者挑选服务提供最全面的参考和专业分析,加入DevStore,从此告别熬夜加班,你也可以这么帅!搜索微信号:DevStore

评论(2)
安卓程序员

安卓程序员 2014-07-22 18:09:19

只有积分墙跟banner,广告形式比较少,不过可以上91跟安卓市场,商务还不错。我之前联系的那个点金陈陈态度还不错Q1627934421
回复(1) 赞(0) 赞(1)
 
  • wwj_748:
    商务确实做得挺不错,跟得比较到位
    回复2014-07-27 16:14:34
aldlq

aldlq 2014-07-21 16:20:43

广告形式不够多,比较单一,点击率也不是很高,唉
回复(1) 赞(0) 赞(1)
 
  • wwj_748:
    回复2014-07-27 16:13:48