Hi,
quite often I'd like to download apk file for Android on my Windows PC. I can right click on link and select save action, but I have no control on what happens when I directly click at link. I have set default action in settings as "ask", but Firefox always wants to execute apk. There is no apk extension on list in settings and I can't directly define behavior for apk.
Is it apk somehow hardcoded in Firefox, maybe for Android on Windows 11? But I'm on Windows 10, I would prefer apk to behave as any other file. My temporary solution is to set 7-zip file manager as application to execute apk, so I can move file to right place after "executing" it by Firefox. But I don't like this kludge.
Handling apk files on Windows
- dickvl
- Posts: 54145
- Joined: July 18th, 2005, 3:25 am
Re: Handling apk files on Windows
See:
https://searchfox.org/mozilla-release/s ... tation.cpp
You can also check handlers.json in the Firefox profile folder.
https://searchfox.org/mozilla-release/s ... tation.cpp
You can also check handlers.json in the Firefox profile folder.
-
- Posts: 2
- Joined: September 13th, 2022, 2:35 am
Re: Handling apk files on Windows
This suggest that apk gets some special handling, but I don't know what exactly it is.dickvl wrote:See:
https://searchfox.org/mozilla-release/s ... tation.cpp
I can find apk there too:dickvl wrote:You can also check handlers.json in the Firefox profile folder.
Code: Select all
"application/force-download":{"action":4,"extensions":["pdf","rar","jpg","apk"],"handlers":[{"name":"i_view64.exe","path":"C:\\Program Files\\IrfanView\\i_view64.exe"}]}