title: Android Download Manager get link from HTML and start downloading
body: <p>is there a way to ask Android Download Manager to get the link from  and start download immediately.</p>
  
  <p>Example HTML page</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Thank You&lt;/title&gt;
  &lt;meta http-equiv="Content-Type" content="text/html;charset=utf-8"&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;a href="http://domain.com/file.dat" title="Order" download&gt;Download File&lt;/a&gt;   
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The current Android Download Manager I'm using</p>
  
  <pre><code>                        public void onResponse(String response) {
                              // Toast.makeText(MainActivity.this,response,Toast.LENGTH_LONG).show();
                               downloadManager = (DownloadManager)getSystemService(DOWNLOAD_SERVICE);
                               Uri Download_Uri = Uri.parse(url); // put here your URL that you get 
                               DownloadManager.Request request = new DownloadManager.Request(Download_Uri);
                               request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI | DownloadManager.Request.NETWORK_MOBILE);
                               //Set whether this download may proceed over a roaming connection.
                               request.setAllowedOverRoaming(false);
                               //Set the title of this download, to be displayed in notifications (if enabled).
                               String link = url.toString();
  
                               String fileName = link.substring(link.lastIndexOf('/') + 1);
  
                               request.setTitle(fileName);
                               //Set a description of this download, to be displayed in notifications (if enabled)
                               request.setDescription("Android Data download using DownloadManager.");
                               //Set the local destination for the downloaded file to a path within the application's external files directory
                               //request.setDestnInExtFilesDir(this, Environment.DIRECTORY_DOWNLOADS,"");
                               downloadReference = downloadManager.enqueue(request);
                               Intent intent = new Intent();
                               intent.setAction(DownloadManager.ACTION_VIEW_DOWNLOADS);
                               startActivity(intent);
                           }
  </code></pre>
  
  <p>Please assist me to modify the code if possible, sorry I am a newbie.</p>
  
  <p>Thank you so much!</p>