Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding custom html code to Android Webview

I am rendering website which is not mine and has a lot of server side scripts(so I cannot save it as html page to use). I want to make my android webview to execute these html code as well.

<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">

Is there any way to inject it ?

like image 870
Stay Strong Avatar asked Oct 30 '22 14:10

Stay Strong


1 Answers

You cannot call load url that contains html code. See DOM Manipulation here.

like image 125
Farhad Mammadli Avatar answered Nov 03 '22 00:11

Farhad Mammadli