title: Enable GeoLocation On Webview
body: <p>Good Evening. I'm on making Tracking Application on Android using Webview. i got problem because the system all works well beside the location.</p>
  
  <p>in manifest i got this permission settings already</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET"&gt;&lt;/uses-permission&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"&gt;&lt;/uses-permission&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"&gt;&lt;/uses-permission&gt;
  </code></pre>
  
  <p>and in mainactivity.java i got this</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
  public WebView webView;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      requestWindowFeature(Window.FEATURE_NO_TITLE);
      setContentView(R.layout.activity_main);
  
      webView = (WebView)findViewById(R.id.webView);
      WebSettings webSettings = webView.getSettings();
      webSettings.setJavaScriptEnabled(true);
      webView.loadUrl("https://www.primaniagatracking.com/slogin.php");
      webView.setWebViewClient(new WebViewClient());
  }}
  </code></pre>
  
  <p>i don't know what missing to make it works may be by always appearing ask permission or something. need big help. thanks. i've searched some template regarding the enable permission but got to much error. </p>