Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 2 trả lời
  • 2 gặp vấn đề này
  • 12 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Tất cả các câu trả lời (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