Closed
Bug 610785
Opened 15 years ago
Closed 15 years ago
Can't open downloaded .apk file
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec2.0+)
VERIFIED
FIXED
| Tracking | Status | |
|---|---|---|
| fennec | 2.0+ | --- |
People
(Reporter: madhava, Assigned: mbrubeck)
References
Details
Attachments
(1 file, 1 obsolete file)
|
955 bytes,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
steps:
- download a .apk file from the web
- download completes, shows up in download manager
- I press "open"
- nothing happens
the apk should open and offer to install the app
Comment 1•15 years ago
|
||
What .apk file are you downloading where this happens, Madhava?
Comment 2•15 years ago
|
||
Brad - can you see if something is not working in the platform?
| Reporter | ||
Comment 3•15 years ago
|
||
(In reply to comment #1)
> What .apk file are you downloading where this happens, Madhava?
It was fennec, but I don't remember where from now -- possibly a custom build to look at some feature under development.
Comment 4•15 years ago
|
||
Yeah, I see this when doing the following
1. Go to people.mozilla.com/~blassey/builds
2. Long tap on the "fennec.apk" link and click on Save link"
3. After the download is finished, go to the download manager
Actual Results:
The "open" button is disabled
Expected Results:
The "open" button is enabled
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → mbrubeck
tracking-fennec: --- → ?
Hardware: x86 → All
Updated•15 years ago
|
tracking-fennec: ? → 2.0+
| Assignee | ||
Comment 5•15 years ago
|
||
We disable the "Open" button when we can't find a MIME type using getTypeFromFile. This patch fixes this by adding ".apk" to the list of recognized file extensions.
(Currently, we do auto-open the file if the server sends the correct MIME type, although the "Open" button is still disabled if you return the download manager later.)
Attachment #494524 -
Flags: review?(benjamin)
Comment 6•15 years ago
|
||
Comment on attachment 494524 [details] [diff] [review]
patch
I don't own this code, thank goodness.
Attachment #494524 -
Flags: review?(benjamin) → review?(bzbarsky)
Comment 7•15 years ago
|
||
Comment on attachment 494524 [details] [diff] [review]
patch
Yeah, this seems fine.
Attachment #494524 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 8•15 years ago
|
||
Attachment #494524 -
Attachment is obsolete: true
Attachment #494839 -
Flags: review+
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 9•15 years ago
|
||
Comment 10•15 years ago
|
||
verified FIXED on build:
Mozilla/5.0 (Android; Linux armv71; rv:2.0b8pre) Gecko/20101203 Namoroka/4.0b8pre Fennec/4.0b3pre
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Flags: in-litmus?
Comment 11•15 years ago
|
||
litmus testcase https://litmus.mozilla.org/show_test.cgi?id=15021 created to regression test this bug.
Flags: in-litmus? → in-litmus+
Comment 13•15 years ago
|
||
I've the a similar problem with a HTC Desire Android 2.2 rooted with Leedroid and the final Fennec version
I can't open downloaded PDF files - the [Open] button is grayed out (e.g. with the Save as PDF function).
You need to log in
before you can comment on or make changes to this bug.
Description
•