Programmatically clear browser cache/history

前端 未结 2 1044
没有蜡笔的小新
没有蜡笔的小新 2020-12-06 23:16

During my activity I\'m sending an intent to the browser in order to display a webpage :


    Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://ww         


        
2条回答
  •  被撕碎了的回忆
    2020-12-06 23:59

    Yes... and if you must assert more control on the client side rather than fixing it at the server, you'll need to display the content with a webview inside your application where you have full control, rather than delegating to the browser (which is a separate application running under a separate user id and separate security context that you can't mess with).

提交回复
热议问题