Thanks Margaret,I really appreciate you, but i have Fennnc front-end code.
if i go menu -->Tools--->Add-ons after clicking Add-ons option i see addons
which i have installed and i can enable and disable manually addons after
clicking on it.But i have one button on BrowserApp activity and i want to
disable and enable particular addons from BrowserApp activity. if any
method by which i can perform this operation please tell me.


Thanks

Tushar

On Wed, May 4, 2016 at 7:05 PM, Margaret Leibovic <mleibo...@mozilla.com>
wrote:

> Hi Tushar,
>
> I'm not sure I understand your question. Do you want to bundle the add-on
> in your own build? You could use a distribution build to package add-ons
> with your own APK:
> https://wiki.mozilla.org/Mobile/Distribution_Files
>
> Or are you looking to actually add some functionality to the code to
> manage add-ons? If so, you should look at the AddonManager.jsm module to
> manage add-ons, e.g.:
>
> https://github.com/mozilla/firefox-for-android-addons/blob/master/boilerplate/hub-boilerplate/bootstrap.js#L47
>
> Margaret
>
> On Wed, May 4, 2016 at 8:40 AM, Tushar Kant Sharma <
> sharma.tus...@thinksys.com> wrote:
>
>> Please help me.
>>
>> On Wed, May 4, 2016 at 11:02 AM, Tushar Kant Sharma <
>> sharma.tus...@thinksys.com> wrote:
>>
>>> Hi all,
>>>
>>> I want to enable/disable addons (Ublock origin) using Firefox open
>>> source code(Fennec). There is any method in code by which i can
>>> enable/disable addons using code.
>>>
>>>
>>> Thanks
>>>
>>> Tushar Sharma
>>>
>>
>>
>> _______________________________________________
>> mobile-firefox-dev mailing list
>> mobile-firefox-dev@mozilla.org
>> https://mail.mozilla.org/listinfo/mobile-firefox-dev
>>
>>
>
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to