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.
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.
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
Post a Comment