Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-2095

.apk files are served with a confusing media type for Android-phones (BB-887)

    XMLWordPrintable

Details

    Description

      I'd like to place a compiled Android application (an .apk-file) in the Downloads-section of my project. This is of course straightforward, but when I point my Android phone to that URL it reports that the file is of an unknown type, and I am unable to install the application.

      I have not had a similar experience when uploading an .apk to other places, and I suspect that it is because of the media type, which bitbucket declares as "application/octet-stream".

      [[http://en.wikipedia.org/wiki/APK_(file_format)|The correct media-type for .apk files is "application/vnd.android.package-archive".]]

      Attachments

        Activity

          People

            Unassigned Unassigned
            2d8be91b7f92 maghoff
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: