Soru & Cevap

Admob cok activity

30.11.2014 - 08:18

Birden fazla activity olunca admob kodlarını nereye ekliyoruz

10 Görüntülenme

3 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

picture-16986-1419455985.png
AndroDevTurk
02.01.2015 - 08:37

bendede burdaki ads lerde hep sorun alıyorum

 ads:adSize="BANNER"
 ads:adUnitId="ca-app-pub-4535080675448133*******" />

geleceği yazanların kendi anlattıkları sayfadan baktım herşey aynı oda olmadı :(

picture-9626-1398797004.jpg
bakiabaci
01.12.2014 - 12:26

MErhaba Kutay Şeşen,

Xml kodlarını Activity için tanımladığınız layouta ekleyiniz ve Class'a gerekli kodları eklerseniz işlemlerinizi baraşıyla tamamlamış olursunuz.

İyi çalışmalar.

Kutay Şeşen
01.12.2014 - 07:09
Bu kez düzgün ekledim fakat böyle hata veriyor 12-01 19:08:02.757: W/ApplicationPackageManager(14456): getCSCPackageItemText() 12-01 19:08:02.762: I/PersonaManager(14456): getPersonaService() name persona_policy 12-01 19:08:02.822: D/dalvikvm(14456): GC_FOR_ALLOC freed 83K, 8% free 16915K/18224K, paused 20ms, total 20ms 12-01 19:08:02.847: I/dalvikvm-heap(14456): Grow heap (frag case) to 24.570MB for 7191504-byte allocation 12-01 19:08:02.857: D/dalvikvm(14456): GC_FOR_ALLOC freed <1K, 6% free 23938K/25248K, paused 11ms, total 11ms 12-01 19:08:03.027: I/(14456): PLATFORM VERSION : JB-MR-2 12-01 19:08:03.042: D/mali_winsys(14456): new_window_surface returns 0x3000 12-01 19:08:03.082: D/OpenGLRenderer(14456): Enabling debug mode 0 12-01 19:08:03.092: D/ProgressBar(14456): updateDrawableBounds: left = 0 12-01 19:08:03.092: D/ProgressBar(14456): updateDrawableBounds: top = 0 12-01 19:08:03.092: D/ProgressBar(14456): updateDrawableBounds: right = 48 12-01 19:08:03.092: D/ProgressBar(14456): updateDrawableBounds: bottom = 48 12-01 19:08:03.217: I/System.out(14456): Thread-7633(HTTPLog):isShipBuild true 12-01 19:08:03.217: I/System.out(14456): Thread-7633(HTTPLog):SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false 12-01 19:08:03.902: W/ApplicationPackageManager(14456): getCSCPackageItemText() 12-01 19:08:03.912: E/MoreInfoHPW_ViewGroup(14456): Parent view is not a TextView 12-01 19:08:03.932: D/AbsListView(14456): Get MotionRecognitionManager 12-01 19:08:03.947: I/MemoryCache(14456): MemoryCache will use up to 32.0MB 12-01 19:08:03.947: D/AbsListView(14456): onVisibilityChanged() is called, visibility : 4 12-01 19:08:03.947: D/AbsListView(14456): unregisterIRListener() is called 12-01 19:08:03.952: D/AbsListView(14456): onVisibilityChanged() is called, visibility : 0 12-01 19:08:03.952: D/AbsListView(14456): unregisterIRListener() is called 12-01 19:08:03.957: D/AbsListView(14456): unregisterIRListener() is called 12-01 19:08:03.962: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:03.962: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:03.962: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:03.962: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:03.962: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:03.962: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:03.962: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:03.962: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:03.962: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:03.962: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:03.962: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:03.962: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:03.967: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:03.967: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:03.967: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:03.967: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:03.967: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:03.967: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:03.967: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:03.967: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:03.967: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:03.967: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:03.967: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:03.967: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:03.967: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:03.967: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:03.967: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:03.967: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:03.967: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:03.967: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:03.967: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:03.967: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:03.967: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:03.967: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:03.972: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:03.972: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:03.972: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:03.972: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:03.972: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:03.972: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:03.972: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:03.972: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:03.972: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:03.972: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:03.972: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:03.972: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:03.972: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:03.972: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:03.992: D/mali_winsys(14456): new_window_surface returns 0x3000 12-01 19:08:04.012: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.012: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.012: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.012: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.012: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.012: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.012: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.012: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.012: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.012: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.012: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.012: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.012: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.012: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.012: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.012: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.012: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.017: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.017: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.017: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.017: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.017: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.017: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.017: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.017: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.017: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.017: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.017: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.017: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.017: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.017: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.017: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.017: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.017: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.017: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.017: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.017: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.017: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.017: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.017: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.017: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.017: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.022: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.022: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.022: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.022: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.022: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.022: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.022: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.022: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.022: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.027: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.027: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.027: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.027: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.027: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.027: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.027: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.027: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.027: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.027: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.027: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.027: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.027: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.027: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.027: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.027: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.027: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.027: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.027: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.027: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.027: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.027: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.032: D/AbsListView(14456): unregisterIRListener() is called 12-01 19:08:04.047: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.047: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.047: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.047: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.047: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.047: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.047: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.047: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.047: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.052: W/System.err(14456): at java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.052: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.052: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.052: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.052: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.052: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.052: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.052: W/System.err(14456): java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.052: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.052: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.052: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.052: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.052: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.052: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.052: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.052: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.052: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.052: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.052: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.052: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.052: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.052: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.052: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.052: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.052: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.052: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.057: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.057: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.057: D/AbsListView(14456): unregisterIRListener() is called 12-01 19:08:04.082: D/AbsListView(14456): unregisterIRListener() is called 12-01 19:08:04.092: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.092: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.092: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.092: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.092: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.092: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.092: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.092: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.092: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.092: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.092: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.092: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.092: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.092: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.092: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.092: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.092: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.092: W/System.err(14456): at java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.092: W/System.err(14456): com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.092: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.092: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.092: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.092: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.092: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.092: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.092: W/System.err(14456): java.net.MalformedURLException: Protocol not found: 12-01 19:08:04.097: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.097: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.097: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.097: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.097: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.097: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.097: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.097: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.097: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.097: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.097: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.097: W/System.err(14456): at java.net.URL.(URL.java:176) 12-01 19:08:04.097: W/System.err(14456): at java.net.URL.(URL.java:125) 12-01 19:08:04.097: W/System.err(14456): at com.td.rssreader.image.ImageLoader.getBitmap(ImageLoader.java:68) 12-01 19:08:04.097: W/System.err(14456): at com.td.rssreader.image.ImageLoader.access$0(ImageLoader.java:57) 12-01 19:08:04.097: W/System.err(14456): at com.td.rssreader.image.ImageLoader$PhotosLoader.run(ImageLoader.java:148) 12-01 19:08:04.097: W/System.err(14456): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 12-01 19:08:04.097: W/System.err(14456): at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-01 19:08:04.097: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-01 19:08:04.097: W/System.err(14456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-01 19:08:04.097: W/System.err(14456): at java.lang.Thread.run(Thread.java:841) 12-01 19:08:04.097: I/MemoryCache(14456): cache size=0 length=1 12-01 19:08:04.097: D/AbsListView(14456): unregisterIRListener() is called 12-01 19:08:04.662: D/AbsListView(14456): unregisterIRListener() is called 12-01 19:08:04.662: W/ApplicationPackageManager(14456): getCSCPackageItemText() 12-01 19:08:04.672: E/MoreInfoHPW_ViewGroup(14456): Parent view is not a TextView 12-01 19:08:04.712: V/WebViewChromium(14456): Binding Chromium to the main looper Looper (main, tid 1) {4286aa80} 12-01 19:08:04.717: I/chromium(14456): [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0 12-01 19:08:04.717: I/BrowserProcessMain(14456): Initializing chromium process, renderers=0 12-01 19:08:04.732: W/chromium(14456): [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation 12-01 19:08:04.737: W/ApplicationPackageManager(14456): getCSCPackageItemText() 12-01 19:08:04.782: D/AndroidRuntime(14456): Shutting down VM 12-01 19:08:04.782: W/dalvikvm(14456): threadid=1: thread exiting with uncaught exception (group=0x416cbc08) 12-01 19:08:04.787: E/AndroidRuntime(14456): FATAL EXCEPTION: main 12-01 19:08:04.787: E/AndroidRuntime(14456): Process: com.ilginc, PID: 14456 12-01 19:08:04.787: E/AndroidRuntime(14456): java.lang.IllegalStateException: A required meta-data tag in your app's AndroidManifest.xml does not exist. You must have the following declaration within the element: 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.google.android.gms.common.GooglePlayServicesUtil.E(Unknown Source) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.google.android.gms.internal.au.a(Unknown Source) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.google.android.gms.internal.bh.bi(Unknown Source) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.google.android.gms.internal.bh.a(Unknown Source) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.google.android.gms.ads.AdView.loadAd(Unknown Source) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.winterstore.DetailFragment.onActivityCreated(DetailFragment.java:54) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:892) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1083) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:635) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1431) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:431) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.support.v4.app.FragmentStatePagerAdapter.finishUpdate(FragmentStatePagerAdapter.java:160) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.support.v4.view.ViewPager.populate(ViewPager.java:895) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.support.v4.view.ViewPager.populate(ViewPager.java:772) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1234) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.View.measure(View.java:17396) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:719) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:455) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.View.measure(View.java:17396) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5365) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.View.measure(View.java:17396) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5365) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:382) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.View.measure(View.java:17396) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5365) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2505) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.View.measure(View.java:17396) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2175) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1316) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1513) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1200) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6401) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.Choreographer.doCallbacks(Choreographer.java:603) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.Choreographer.doFrame(Choreographer.java:573) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.os.Handler.handleCallback(Handler.java:733) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.os.Handler.dispatchMessage(Handler.java:95) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.os.Looper.loop(Looper.java:157) 12-01 19:08:04.787: E/AndroidRuntime(14456): at android.app.ActivityThread.main(ActivityThread.java:5335) 12-01 19:08:04.787: E/AndroidRuntime(14456): at java.lang.reflect.Method.invokeNative(Native Method) 12-01 19:08:04.787: E/AndroidRuntime(14456): at java.lang.reflect.Method.invoke(Method.java:515) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265) 12-01 19:08:04.787: E/AndroidRuntime(14456): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) 12-01 19:08:04.787: E/AndroidRuntime(14456): at dalvik.system.NativeStart.main(Native Method)
Profile picture for user kutayeen
kutayeen
30.11.2014 - 09:46

 

Xml'li

<com.google.android.gms.ads.AdView
        android:id="@+id/adMob"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        ads:adSize="BANNER"
        ads:adUnitId="ca-app-pub-4535080675448133*******" />

Sorumu biraz değiştiriyorum buraya nasıl admob kodları ekleyebilirm

 

Activity;

package com.winterstore;

import android.app.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import android.webkit.WebSettings;
import android.webkit.WebSettings.LayoutAlgorithm;
import android.webkit.WebSettings.PluginState;
import android.webkit.WebSettings.TextSize;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;

import com.google.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import com.ilginc.R;
import com.td.rssreader.parser.RSSFeed;

 

@SuppressWarnings("unused")
public class DetailFragment extends Fragment {

    private int fPos;
    RSSFeed fFeed;

    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        fFeed = (RSSFeed)getArguments().getSerializable("feed");
        fPos = getArguments().getInt("pos");
        
    }

    @SuppressWarnings("deprecation")
    
    
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.detail_fragment, container, false);
        // Initializr views
        TextView title = (TextView)view.findViewById(R.id.title);
        WebView desc = (WebView)view.findViewById(R.id.desc);
        // Enable the vertical fading edge (by default it is disabled)
        ScrollView sv = (ScrollView)view.findViewById(R.id.sv);
        sv.setVerticalFadingEdgeEnabled(true);
        // Set webview properties
        WebSettings ws = desc.getSettings();
        
        ws.setPluginState(PluginState.ON);
        ws.setJavaScriptEnabled(true);
       
        ws.setUseWideViewPort(true);
        ws.setDefaultFontSize(25);
        ws.setMinimumFontSize(10);
        ws.setLoadWithOverviewMode(true);
        ws.setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
        ws.setBuiltInZoomControls(false);
        ws.setUserAgentString("Mozilla/5.0 (Linux; U; Android 2.0; en-us; Droid Build/ESD20) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17");
        // Set the views
        title.setText(fFeed.getItem(fPos).getTitle());
        desc.loadDataWithBaseURL("http://www.androidcentral.com/", fFeed.getItem(fPos)
                .getDescription(), "text/html", "UTF-8", null);
        return view;
    }
}