2013-04-05 106 views
-5

我正嘗試將開源的android應用程序改編爲我自己的項目,並且我需要刪除android廣告。我試圖刪除它們,但我不知道如何和我總是在這裏和那裏得到錯誤。有沒有簡單的方法來做到這一點?如何從源代碼中刪除Android廣告(admob)

謝謝。

回答

0

試試吧....

http://stackoverflow.com/questions/4549401/correctly-disable-admob-ads 
http://stackoverflow.com/questions/13323097/in-app-purchase-remove-ads 

請上述鏈接它會幫助你。從您的應用程序下面的代碼

刪除

AdView adView = (AdView) this.findViewById(R.id.adView); 
adView.loadAd(new AdRequest()); 

<xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" 
    android:id="@+id/adView" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    ads:adSize="BANNER" 
    ads:adUnitId="a1513ffd4f3e17c" /> 
+0

這些鏈接顯示如何在應用程序中禁用它們,給的選項能或禁用。我只想在沒有它們的情況下重新編譯應用程序。我想我將不得不刪除清單中的東西,但我不知道 – user2182013 2013-04-05 10:34:16

+0

@ user2182013究竟如何:現在檢查答案 – 2013-04-05 10:46:28

+0

@ user2182013:會發生什麼? – 2013-04-08 05:59:50

相關問題