[英]Android - WebView moveTaskToBack to go back to the previous page
Is it possible to use the soft button to go back to previous web page? 是否可以使用软键返回上一个网页?
I know that when we use the android's normal internet App, the button is functioning properly. 我知道,当我们使用android的普通Internet应用程序时,该按钮将正常运行。
However when I implement a simple app arranged WebView for the web surfing purpose, the soft button only works as a app shutting down operation not going to previous web page. 但是,当我实现一个简单的应用程序安排用于Web浏览的WebView时,软按钮仅用作应用程序关闭操作,而不会转到上一个网页。
哦,有个函数叫goBack();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.