Closed Bug 841810 Opened 12 years ago Closed 12 years ago

Allow java addons to listen to JSON events

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 21

People

(Reporter: kats, Assigned: kats)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Letting java-based addons to listen to our RPC events seems like a good hook to have.
Attached patch Patch (deleted) — Splinter Review
https://github.com/staktrace/aboutlogcat is an example add-on that uses this feature.
Attachment #714492 - Flags: review?(mark.finkle)
Comment on attachment 714492 [details] [diff] [review] Patch Nice. about:logcat is pretty neat too.
Attachment #714492 - Flags: review?(mark.finkle) → review+
Some docs on a wiki or MDN might be a good next step too.
Adding dev-docs-needed. The general idea is that we now we allow Fennec add-ons to include a bundle of Java code. This patch adds some basic API that allows the Java code to listen for interesting events and possibly do interesting things in return. I'm not sure where the best place is to document this but I can write up some stuff once I know what the best place to put this is.
Keywords: dev-doc-needed
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 21
Depends on: 842398
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: