Android - How to open the Hangout app from a Hangout URL displayed in the webview? -


i made android app displaying website in webview.
webpage has many links google hangouts url (https://talkgadget.google.com/hangouts/_/g23uuqx.......) in there people in call.

enter image description here

when link clicked on desktop's browser, url gets opened in new tab , user able join google hangout call.

when link clicked on mobile's browser, hangout app get's opened , user able join call. how can have same effect when link clicked in webview?

when open hangout url in mobile app(webview), opens google play webpage in app(webview) , asks me install hangout have installed.

enter image description here

instead of going google play store within webview of app,

(when google hangouts app installed on android phone)
1) how open hangout app app has hangout urls of form(https://talkgadget.google.com/hangouts/_/g23uuqx.......) in webview of app?

(when google hangouts app not installed on android phone)
2) how open google playstore app , inform user install google hangout app in order join call?

kindly help. thanks.

you can use webviewclient.shouldoverrideurlloading catch these links , start appropriate activity. example of how launch google play app way described here: allow 'market://' links inside webview open google play store


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -