File linked as download is not working in android apk

1 posts, 0 answers
  1. Kannan
    Kannan avatar
    3 posts
    Member since:
    Mar 2017

    Posted 16 Mar Link to this post

    Hi,
     
    Here i'm using Cordova Framework for converting HTML5 to APK.  The HTML5 code have supporting files  like docx,pdf,images,js,css.
     
    Sample HTML Code:
    <!DOCTYPE html>
    <html>
    <body>
    <h1>This is Test App for Cordova</h1>
    <a href="wordfile.docx">file</a>
    </body>
    </html>

     
    When i execute the above code in browser and when i click File " wordfile.docx" linked in the page is getting downloaded in the system
     
    Android App:
    When i click the same file after conversion into APK using Cordova the link is not responding, please guide me to perform the above action in android.

    Hi,

     

    Here i'm using Cordova Framework for converting HTML5 to APK.  The HTML5 code have supporting files  like docx,pdf,images,js,css.

     

    Sample HTML Code:

    <!DOCTYPE html>

    <html>

    <body>

    <h1>This is Test App for Cordova</h1>

    <a href="wordfile.docx">file</a>

    </body>

    </html>

    When i execute the above code in browser and when i click File " wordfile.docx" linked in the page is getting downloaded in the system

     

    Output in Browser:

     

     

     

     

     

     

    Android App:

    When i click the same file after conversion into APK using Cordova the link is not responding, please guide me to perform the above action in android.

    Hi,

     

    Here i'm using Cordova Framework for converting HTML5 to APK.  The HTML5 code have supporting files  like docx,pdf,images,js,css.

     

    Sample HTML Code:

    <!DOCTYPE html>

    <html>

    <body>

    <h1>This is Test App for Cordova</h1>

    <a href="wordfile.docx">file</a>

    </body>

    </html>

    When i execute the above code in browser and when i click File " wordfile.docx" linked in the page is getting downloaded in the system

     

    Output in Browser:

     

     

     

     

     

     

    Android App:

    When i click the same file after conversion into APK using Cordova the link is not responding, please guide me to perform the above action in android.

    Hi,

     

    Here i'm using Cordova Framework for converting HTML5 to APK.  The HTML5 code have supporting files  like docx,pdf,images,js,css.

     

    Sample HTML Code:

    <!DOCTYPE html>

    <html>

    <body>

    <h1>This is Test App for Cordova</h1>

    <a href="wordfile.docx">file</a>

    </body>

    </html>

    When i execute the above code in browser and when i click File " wordfile.docx" linked in the page is getting downloaded in the system

     

    Output in Browser:

     

     

     

     

     

     

    Android App:

    When i click the same file after conversion into APK using Cordova the link is not responding, please guide me to perform the above action in android.

    Hi,

     

    Here i'm using Cordova Framework for converting HTML5 to APK.  The HTML5 code have supporting files  like docx,pdf,images,js,css.

     

    Sample HTML Code:

    <!DOCTYPE html>

    <html>

    <body>

    <h1>This is Test App for Cordova</h1>

    <a href="wordfile.docx">file</a>

    </body>

    </html>

    When i execute the above code in browser and when i click File " wordfile.docx" linked in the page is getting downloaded in the system

     

    Output in Browser:

     

     

     

     

     

     

    Android App:

    When i click the same file after conversion into APK using Cordova the link is not responding, please guide me to perform the above action in android.

    Hi,

     

    Here i'm using Cordova Framework for converting HTML5 to APK.  The HTML5 code have supporting files  like docx,pdf,images,js,css.

     

    Sample HTML Code:

    <!DOCTYPE html>

    <html>

    <body>

    <h1>This is Test App for Cordova</h1>

    <a href="wordfile.docx">file</a>

    </body>

    </html>

    When i execute the above code in browser and when i click File " wordfile.docx" linked in the page is getting downloaded in the system

     

    Output in Browser:

     

     

     

     

     

     

    Android App:

    When i click the same file after conversion into APK using Cordova the link is not responding, please guide me to perform the above action in android.

    Hi,

     

    Here i'm using Cordova Framework for converting HTML5 to APK.  The HTML5 code have supporting files  like docx,pdf,images,js,css.

     

    Sample HTML Code:

    <!DOCTYPE html>

    <html>

    <body>

    <h1>This is Test App for Cordova</h1>

    <a href="wordfile.docx">file</a>

    </body>

    </html>

    When i execute the above code in browser and when i click File " wordfile.docx" linked in the page is getting downloaded in the system

     

    Output in Browser:

     

     

     

     

     

     

    Android App:

    When i click the same file after conversion into APK using Cordova the link is not responding, please guide me to perform the above action in android.

    Hi,

     

    Here i'm using Cordova Framework for converting HTML5 to APK.  The HTML5 code have supporting files  like docx,pdf,images,js,css.

     

    Sample HTML Code:

    <!DOCTYPE html>

    <html>

    <body>

    <h1>This is Test App for Cordova</h1>

    <a href="wordfile.docx">file</a>

    </body>

    </html>

    When i execute the above code in browser and when i click File " wordfile.docx" linked in the page is getting downloaded in the system

     

    Output in Browser:

     

     

     

     

     

     

    Android App:

    When i click the same file after conversion into APK using Cordova the link is not responding, please guide me to perform the above action in android.

    Hi,

     

    Here i'm using Cordova Framework for converting HTML5 to APK.  The HTML5 code have supporting files  like docx,pdf,images,js,css.

     

    Sample HTML Code:

    <!DOCTYPE html>

    <html>

    <body>

    <h1>This is Test App for Cordova</h1>

    <a href="wordfile.docx">file</a>

    </body>

    </html>

    When i execute the above code in browser and when i click File " wordfile.docx" linked in the page is getting downloaded in the system

     

    Output in Browser:

     

     

     

     

     

     

    Android App:

    When i click the same file after conversion into APK using Cordova the link is not responding, please guide me to perform the above action in android.

Back to Top