Questions tagged [android-webview-javascript]

24 questions
0
votes
2 answers

I'm making a webView for my app, but everytime when I try launch links like (whatsaap, twitter, viber) then whatsaap link work properly

only whtatsaap work but not twitter or viber. Also when I click other links on my app it open in browser not in app. Also When I remove twitter or viber linking code then then it open in app, but as soon as I app twitter linking code it again open…
0
votes
1 answer

I cant use java script on flutter

My JavaScript code is not working. I want to make a WebView application via flutter. but I want to remove some sections or customize some properties using JavaScript on flutter. I also removed header and footer but I cant customize container…
user19196093
0
votes
2 answers

Android webview with parameters not working as expected

I am calling the javascript function from the android app with two parameters. first one is the boolean and the second one is a string value. But it's not behaving as expected. Please let me know if anything wrong with my…
0
votes
1 answer

Webpage is showing for 2 seconds before Activity

I am loading a web app from my android application. In the initial load of URL, it will redirect to the login page and after login, it will move to the web app home screen. But the expected behaviour is to redirect it to Native Homescreeb after…
0
votes
0 answers

How do i retrieve response from chrome browser to android app

I had opened google chrome from my android app. It's working fine, but now I want to get the response URL from the chrome browser. And go back to the app after retrieving from that response. What to do for getting that response?? val intent =…
sri
  • 105
  • 9
0
votes
1 answer

can webview start an activity onReceivedError?

I am trying to start an activity (Errorpage) when webview failed to load content.But there is no error during the build, but the app closes, while inernet is off. It was supposed to launh the Errorpage activity. import…
0
votes
0 answers

android webview javascript bridge, why passed in string got resolved to the div element

In webview code it calls into the loaded javascript, passing in the string for the html div element id `"module_1",
: my_web_view.evaluateJavascript( "javascript:sendHtmlMarkerLocation("module_1");",…
lannyf
  • 9,865
  • 12
  • 70
  • 152
0
votes
1 answer

Update content in WebView on loading start in runtime

I need add same content on webview after loading start. For example, if I have web page: I need get but must be loaded before Do you have any ideas?
Nikolay
  • 344
  • 1
  • 15
-1
votes
1 answer

Android Studio web view error: "Uncaught SyntaxError: Unexpected token )"

I have a web view application in Android Studio. The application works normally on the computer, namely chrome. But I get the following error in web view. What could be the problem? Thanks. $.post( "https://xxxxxx", { …
1
2