This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Is there a way for FireFox on Android to Observe or Monitor File Download Completion?

  • 2 பதிலளிப்புகள்
  • 2 இந்த பிரச்னைகள் உள்ளது
  • 12 views
  • Last reply by tameremil

I would like to create a plugin/extension on FireFox Mobile for Android, that will execute a command once a File download is completed. Ideally I would like to call some service on Android and notify it with any download completion. The call to the service requires the following parameters: - Source domain, like google.com - File name - Location saved on local device

In Desktop firefox I think hooking into file download action can be done via nslDownloadManager. Is there an equivalent for firefox mobile?

I would like to create a plugin/extension on FireFox Mobile for Android, that will execute a command once a File download is completed. Ideally I would like to call some service on Android and notify it with any download completion. The call to the service requires the following parameters: - Source domain, like google.com - File name - Location saved on local device In Desktop firefox I think hooking into file download action can be done via nslDownloadManager. Is there an equivalent for firefox mobile?

All Replies (2)

Hi,

So, I'm not sure if I have the answer to your question, but the downloads manager has changed in the new Firefox 14 (which is currently in Nightly).

So, you might download Firefox for Android from http://nightly.mozilla.org to see if the downloader does what you're thinking to create in your add-on.

I think you would want to create your add-on for the new native version anyways, since it is soon to be released and basically changes everything. We are hoping it will go to beta in the coming weeks, so nightly will change quite a bit each day between now and then and is still unstable.

Thanks, Michelle

Thank you for the reply.

This might sound like a really silly questions, sorry in advance :) When you said downloads manager, where are the API documentation for the features that are in Nightly v14? Or did you mean that the download manager is a new UI that will be added to FF?

As I am sure you gathered, what I need to do requires programing, so I was looking for APIs to write code against and play. I could not see API documentation for nightly versions :S

Thank you