0

I'm making this app and in one of the activities I need to show some content from the internet.For that,I need to use a webview.

Using webviews in Android

31st Oct 2020, 2:05 PM
John Ngala
5 Answers
+ 3
Yes you need to use webview to display any content from the internet. Which language did you choose? Java or kotlin? You can just search on Google for (Java or Kotlin) setup code for webview. This is Google's own documentation for webview- https://developer.android.com/guide/webapps/webview
31st Oct 2020, 2:14 PM
Vatsal Sharma
Vatsal Sharma - avatar
+ 2
Incase if you're trying to release your app, playstore policy won't allow it. Apps only loaded with webview are not allowed. so it's ok if this is your personal project.
1st Nov 2020, 12:11 PM
0_O-[MĂ€gĂĄr_SĂĄm_ÄkĂ _NĂŒllpÞïntĂȘr_ÈxĂ«cĂ©ptïön]~~
0_O-[MĂ€gĂĄr_SĂĄm_ÄkĂ _NĂŒllpÞïntĂȘr_ÈxĂ«cĂ©ptïön]~~ - avatar
+ 1
Ok, Um... I don't think that you can do that. Webview is just for showing the content of the website. I don't think you can change the properties of the viewed webpage.
1st Nov 2020, 7:22 AM
Vatsal Sharma
Vatsal Sharma - avatar
+ 1
May I know if this website is yours, that is do you have the code for it and do you own the domain name?
1st Nov 2020, 7:24 AM
Vatsal Sharma
Vatsal Sharma - avatar
0
Hey. I'm using Java. I had gone through the documentation earlier and it didn't seem to have what I want. The question is whether I can control the look of the website that I call inside the webview. That is,is there a way I can change the background color to match the color of my app so that the website feels it's part of my app
31st Oct 2020, 5:01 PM
John Ngala