+ Post New Thread
Results 1 to 4 of 4
Home Access Plus+ Thread, Possible explanation for Android downloads stalling in Projects:; If anyone is having issues with android users being unable to download files, take a look at this page. http://www.digiblog.de/2011/04/android-and-the-download-file-headers/ ...
  1. #1
    DaveJohnCole's Avatar
    Join Date
    May 2013
    Location
    Bangkok, Thailand
    Posts
    4
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Possible explanation for Android downloads stalling

    If anyone is having issues with android users being unable to download files, take a look at this page.

    http://www.digiblog.de/2011/04/android-and-the-download-file-headers/

    It's old, but the issue with GET seems to be causing the problem. All solution are for php / apache and none seem appropriate for a secure system right now.

    Just throwing it out there. I know my users will need downloads across multiple devices.

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,469
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Very interesting, looks like Android doesn't respect the correct file content type being transmitted, and needs it going as octet stream. Will look into this. Most of what's in that article is already done in HAP+ behind the scenes.

    Trust google to do things it own `standard` way

  3. #3


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,706
    Thank Post
    220
    Thanked 2,615 Times in 1,926 Posts
    Rep Power
    777
    Would using the HTML5 download attribute make any difference? It's supported by both Chrome and Firefox, although unfortunately not the stock Android browser.

    The HTML5 download attribute allows developers to force a file to download rather than go to that specific page, you no longer need to rely on server-side code to do that:
    Code:
    <a href="download_pdf.php?id=15" download="myfile.pdf">Download PDF</a>
    Source: daker.me/2013/05/5-html5-features-you-need-to-know.html

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,469
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Hi can someone try the attached MyFiles/Default.aspx file. I've told it to open the download in a new window. HAP+ just replies with octet-stream regardless of the filetype so that isn't an issue.

    I think it's because HAP+, by default, transmits it as a multipart download

SHARE:
+ Post New Thread

Similar Threads

  1. [Android] FL Studio (a.k.a. Fruity Loops) released for Android
    By Arthur in forum Netbooks, PDA and Phones
    Replies: 0
    Last Post: 19th April 2013, 12:05 AM
  2. [Android] Recommend a mail client for Android
    By Dos_Box in forum Netbooks, PDA and Phones
    Replies: 4
    Last Post: 5th February 2013, 04:54 PM
  3. Replies: 5
    Last Post: 15th June 2010, 10:54 PM
  4. Interesting possible project for Local Exchange Users
    By GrumbleDook in forum East Midlands Broadband Consortium (EMBC)
    Replies: 1
    Last Post: 28th May 2010, 08:07 AM
  5. Need a copy of Beebplayer for Android
    By SimpleSi in forum Netbooks, PDA and Phones
    Replies: 0
    Last Post: 18th May 2010, 08:55 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •