0

我将发布一些小部件(它们只是在主页上显示图像),但我想赚取一些美分,所以我希望插入我的 Airpush 代码。

我能怎么做?

非常感谢!

4

2 回答 2

1

使用以下说明:

按照 url 将 Airpush 集成到小部件中

http://wiki.airpush.com/index.php/Widget_apps

@Override
public void onEnabled(Context context) {
    super.onEnabled(context);
    Airpush airpush = new Airpush(getApplicationContext());
    airpush.startPushNotification(false);
    airpush.startIconAd();

    //Other codes
}
于 2012-12-10T10:41:36.450 回答
0

不可能,airpush 仅适用于主屏幕和主屏幕上的应用程序,抱歉

于 2012-07-13T17:46:11.087 回答