cscott / intent-addon

Plugin for Firefox/Android which exposes a web api for sending Android Intents.
7 stars 3 forks source link

Does JNI have callbacks #9

Open Noitidart opened 9 years ago

Noitidart commented 9 years ago

I was wondering if there were callbacks in JNI?

I knocked out the first part of the documentation here: https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes/Examples/Using_JNI_from_js-ctypes

So was moving onto some more.

I was thinking of moving it out of the ctypes section and putting it under the JSM section: https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules

Noitidart commented 9 years ago

Also when looking through your code it seems some cool EMAScripty was used so the minimum firefox version can't be Firefox 4 right? Would you know what the min firefox version would be?

Noitidart commented 9 years ago

Here's the new JNI.jsm page I started working on: https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/JNI.jsm