I am trying to port a website to an Android Tablet using KitKat 4.4.
WebView vendWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = vendWebView.getSettings();
// Enable JavaScript
webSettings.setJavaScriptEnabled(true);
vendWebView.setWebViewClient(new WebViewClient());
vendWebView.loadUrl("https://xxxxxxx.xxxxxx.com/");
The website works on a Chrome browser but not all of the HTML works on the Android Chrome web browser. Should the website be portable from the Chrome PC browser to the Android browser.
Thanks
The specific HTML that is not working on the Android browser but works on a PC Chrome browser is -
<div id="quick-keys" class="sell">
<div id="menu" class="quick-key-menu">
<ul></ul>
</div>
<div id="list">
<ul></ul>
</div>
<div id="pages">
<ul></ul>
<a href="#prev" id="page-previous"><i class="icon-quick-keys-pagination-previous"></i></a>
<a href="#next" id="page-next"><i class="icon-quick-keys-pagination-next"></i></a>
</div>
<div id="quick-key-default">
<div class="quick-key-menu">
<ul>
<li style="width: 516px;">
<a href="/setup/quick_keys">Quick Keys</a> </li>
</ul>
</div>
<div class="striped-box">
<a href="/setup/quick_keys" class="btn btn--primary btn--large btn--well quick-key-call-to-action" alt="Set up your Quick Keys">Set Up Quick Keys</a>
<p>Quick Keys let you configure a grid of buttons <br />to quickly add products to a sale.</p>
</div>
</div>
</div>
</div>