I have an HTML page that uses local storage to store some data. I am wondering if it is even possible to access data (generated by the web view) outside the web view, for example, from activity.
You can add an object that will be accessible through javascript using WebView.addJavascriptInterface . Then call one of the methods from JavaScript, passing it the stored data. When called, you can access this data from a method called by an object added to the WebView.
Source: https://habr.com/ru/post/1795310/More articles:Suggestions for troubleshooting this Perl DBD :: mysql error message? - mysqlSmarty caching (with dynamic content) - phphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1795307/scan-subversion-repository-for-active-branches&usg=ALkJrhjO8_tAb0QC1QMLtvTETiNYXqvd7QThe task of installing selectedvalue for combobox in xaml - .netDynamically remove an exception on a field in a django model form - django-formsUser Interface Dialog Box. How not to display the dialog until the content is loaded? - jquery-ui-dialogHow can I exclude the declared field in ModelForm in a subclass of the form? - pythonState and ASP.NET MVC3 - asp.net-mvcproblem sending emails using cron job - phpDefense in depth against DRY - validationAll Articles