Protector one
Protector one

Reputation: 7261

Firefox Android add-on does not allow Button?

I made a Firefox extension using the Add-on SDK with a Button. This works fine in the Desktop Firefox: button shows up and it works. But when I push the add-on to Firefox for Android using jpm-mobile and ADB (see here for what that means), the button is missing.
Are Buttons not supported in Android for Firefox? Or am I doing something wrong?

Upvotes: 1

Views: 859

Answers (2)

Protector one
Protector one

Reputation: 7261

For future reference, this is probably everything possible in Firefox for Android Add-ons:

https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API

An alternative to a toolbar button could be a URL bar action.

Upvotes: 1

Noitidart
Noitidart

Reputation: 37238

I don't think so, in order to do it on android you have to use NativeWindow and add item to the menu: https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/NativeWindow/menu

Upvotes: 3

Related Questions