Android Question Webview detect language in app and user-agent

asap74

Member
Licensed User
Hi you all.
How can i detect language in my app?
What is the web-agent used by webview?
Thank you very much!
 

drgottjr

Expert
Licensed User
Longtime User
spoken language? written language? programming language?

please refer to the attached image to see one way to see your webview's userAgent. i assume that's what you meant.
 

Attachments

  • capture.png
    capture.png
    32.2 KB · Views: 86
Upvote 0

asap74

Member
Licensed User
Hi and thank you for your answer.
With language i mean the language imposted in my android device. in my chase is italian.
Another question :)
in vwebview i opened a website with an istagram link in a "a href", target='blank'. the webview opened www.istagram.com and it's correct, but there is a way to open the app instead?
When i open in chrome it open the app.
Thank you.
 
Upvote 0

drgottjr

Expert
Licensed User
Longtime User
try to search for a solution before asking others to search instead.
if you had put something like "default language" in the search box, you
would already have found the answer by now...

random questions in a single thread is not the way the forum works.
it makes it difficult for the search engine to work. your second question
has nothing to do with the first. someone who might help you with your
second question would not see it unless they also saw your first question.

please open a new thread for your second question. i'm sorry, i don't
understand it in any case.
 
Upvote 0
Top