DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 5 of 5

Thread: HELP! on downloading "content not supported on this phone."

  1. Junior Droid
    DroidPilot's Avatar
    Member #
    8337
    Join Date
    Nov 2009
    Location
    Grand Rapids, MI
    Posts
    15
    Phone
    Motorola Droid A855
    #1

    HELP! on downloading "content not supported on this phone."

    I have the Moto Droid. I am having issue viewing a webpage/document on my droid. My company has a web based document retrieval portal that I use to use quite often on my windows mobile. It is a secure website and I can navigate and login to the site no problem but when I input my data that generates the document I need is when the droid fails.

    The document is served up as a ".web" page/doc. My droid returns a "<Unknown> Cannot download. The content is not supported on this phone." When I use my mac book it downloads and I can open it w/ MS Word or as a straight text file. My Windows Mobile w/ Opera was able to open these files no problem but the droid fails.

    I've downloaded "Documents to Go", "G-Docs", "Offiviewer", "Office Suite"
    and none of them help.

    I hope there are some super droids out there that can help!
    Prost!
    Doug
  2.  
     
     
     
  3. Super Moderator
    Martin030908's Avatar
    Member #
    248
    Join Date
    Nov 2009
    Posts
    8,836
    Liked
    8 times
    Phone
    Galaxy S3
    Premium Member
    #2
    I had the same problem and couldn't figure it out... one individual who was kind enough to help so I'll return the favor...

    download an app called "Download Crutch" Download Crutch v2008-01-31 Application for Android | Tools
  4. Junior Droid
    richteel's Avatar
    Member #
    69694
    Join Date
    May 2010
    Location
    Northern Virginia
    Posts
    6
    Phone
    Verizon Motorola Droid 4
    #3
    I have a web page which streams files to the client. The ContentType is set to application/octet-stream which I suspect may be the problem. Does anyone know if this could be the issue?

    Rich
  5. Junior Droid
    virtuox's Avatar
    Member #
    16099
    Join Date
    Dec 2009
    Posts
    11
    Phone
    Motorola DROID (A855)
    #4
    Quote Originally Posted by richteel View Post
    I have a web page which streams files to the client. The ContentType is set to application/octet-stream which I suspect may be the problem. Does anyone know if this could be the issue?

    Rich
    I actually found it to be that certain file types arent recognized by the filesystem and don't allow the download of certain files. I couldnt download . zip files directly until I installed Astro file manager since it seems to add support for .zip files. Once installed it solves that file download issue at least for that file type.
  6. Junior Droid
    richteel's Avatar
    Member #
    69694
    Join Date
    May 2010
    Location
    Northern Virginia
    Posts
    6
    Phone
    Verizon Motorola Droid 4
    #5
    virtuox,

    I have Astro installed and attempted to download a plain text file (*.txt) but that failed as well, which led me to suspect that it is the method that the web site is using to send the file to the client.

    In my case, I am using the reponse object to stream the file to the client.
    C# Code
    Code:
     
    private void sendFile(string fileName, string saveAs)
    {
        byte[] fileStream;
        if (fileName.Length == 0)
            return;
        fileStream = File.ReadAllBytes(UploadFolder + fileName);
        saveAs = Regex.Replace(saveAs, @"[?:\/*""<>|]", "_");
        //One final check
        if (!IsFileNameValid(saveAs))
            saveAs = "Default.txt";
      Response.AddHeader("Content-Description", "File Transfer");
      Response.AddHeader("Content-Type", "application/octet-stream");
      Response.AddHeader("Content-Disposition", "attachment; filename=" + saveAs);
      Response.AddHeader("Content-Transfer-Encoding", "binary");
      Response.AddHeader("Expires", "0");
      Response.AddHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0");
      Response.AddHeader("Pragma", "public");
      Response.AddHeader("Content-Length", fileStream.Length.ToString());
        Response.OutputStream.Write(fileStream, 0, fileStream.Length);
        WriteToLog("File Downloaded", fileName);
     
      Response.Flush();
        Response.End();
    }

Links

Posting Permissions

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

Similar Threads

  1. How do I get phone to stop saying "Droid" when it turns on?
    By Axel Foley in forum Android Audio and Video
    Replies: 8
    Last Post: 01-25-2012, 11:49 AM
  2. Text Message "Sent" and "Received" Times
    By ammon214 in forum Motorola Droid
    Replies: 5
    Last Post: 07-17-2011, 10:32 PM
  3. Content Not Supported?
    By Legalgear in forum Android Tech Support
    Replies: 7
    Last Post: 11-29-2010, 02:37 PM
  4. "No Supported files"
    By Mike Wolf in forum Motorola Droid
    Replies: 0
    Last Post: 12-04-2009, 02:34 PM
  5. Maps - how to "save" a "place" ... work around.
    By rdalemercer in forum Android Applications
    Replies: 11
    Last Post: 11-22-2009, 11:34 AM

Search tags for this page

android cannot download content not supported
,
cannot download content not supported on this phone
,

cannot download the content is not supported on this phone

,
cannot download. the content is not supported
,
content not supported on phone
,

content not supported on this phone

,
digital download not supported on this mobile site
,

the content is not supported on this phone

,
this content is not supported on this phone
,
unable to download content not supported
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+