WEB开发网
开发学院手机开发Android 开发 如何在 android 程序中加入 admob 广告赚钱 阅读

如何在 android 程序中加入 admob 广告赚钱

 2010-03-01 05:14:00 来源:WEB开发网   
核心提示:<com.admob.android.ads.AdView android:id="@+id/ad" android:layout_width="fill_parent" android:layout_height="wrap_content"
<com.admob.android.ads.AdView
             android:id="@+id/ad"
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             admobsdk:backgroundColor="#000000"
             admobsdk:textColor="#FFFFFF"
             admobsdk:keywords="Android application"
         />
            
     </LinearLayout>

这里好像也没什么需要特别注意的,注意加上xmlns,另外知道这里可以设置一个keywords。


Test Mode
When you start integrating AdMob ads into your application it is recommended to use test mode. This always returns the same ad. Normal ad requests are not deterministic making it harder to be sure the ad view looks like you want (e.g. ad requests can timeout or may not fill).

Once the ad shows up as you expect be sure to turn test mode off to get real ads. Never put your application into the Android Market with test mode enabled.

上一页  1 2 3 4 5 6 7  下一页

Tags:如何 android 程序

编辑录入:coldstar [复制链接] [打 印]
赞助商链接