How to tell if accessing from mobile or desktop

I’ve owned a blog which has adsense on that website and I want to show that site using webview.
Is there any way to hide adsense on my website if users access the website through my application?
(Because I’ve heard showing adsense through webview is not allowed and application should use only admob.)

You heard wrong maybe.
If you are already showing adsense ads through your website then there is no need of adding admob ads in your app.
Also its not allowed to display admob ads in this situation I think

Oh sorry, i typed wrong.
I mean

Because I’ve heard showing adsense through webview is not allowed and application should use only admob

Still my answer remains the same as above. Below are some replies to other topics that may help you…

In short if you have Adsense enabled on your blog then there is no need of Admob.
And hence there is also no need to detect if the user is on mobile or desktop :slightly_smiling_face:

No you can’t hide adsense ads from your blog. You can disable adsense ads if you want to hide them. And as @Vaibhav said there is no need to put admob ads if you already have adsense ads running…

Happy Koding