How to open google play store url in android webview -


i'm gonna open google play app url on webview. says

this browser no longer supported. please use google play store app access google play.

i've researched solve issue didn't find solution. there ways open on activity there no way open on webview yet.

i know same message when i'm going access url in normal web browser.

anyhow there solution?

you need change user agent : http://developer.android.com/reference/android/webkit/websettings.html#setuseragentstring(java.lang.string

e.g.

webview.getsettings().setjavascriptenabled(true); webview.getsettings().setuseragentstring("mozilla/5.0 (x11; linux x86_64; rv:10.0) gecko/20100101 firefox/10.0"); // linux desktop mozilla user agent 

then load google play.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -