behzad razzaqi
behzad razzaqi

Reputation: 1511

How to pass value to web view web page in android studio?

I beginner in android studio and want to write simple application to open bank web site and fill the textbox with my value,on bank web site have a some text box to fill my data,for example this site:
enter link description here


and i want fill it automatic with my parameter.How can i do this?thanks.

Upvotes: 0

Views: 779

Answers (1)

Mohammed Imran N
Mohammed Imran N

Reputation: 1319

String javascript="javascript: document.getElementById('msg').innerHTML='your text';"; 
webview.loadUrl(javascript);

Use this method on onPageFinished

Upvotes: 1

Related Questions