Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

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

  • 2 réponses
  • 2 ont ce problème
  • 12 vues
  • Dernière réponse par tameremil

more options

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?

Toutes les réponses (2)

more options

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

more options

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