Missing SDK APIs for Android

There are several SDK APIs which are unavailable for Android: https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Mobile_development#Module_Compatibility

I there a target to complete these? Which ones are likely or unlikely to be developed and in what sort of timescale? I understand the UI ones are tricky!

I wanted to use the SDK/clipboard a while ago and found a bug for that: https://bugzilla.mozilla.org/show_bug.cgi?id=789757

Should there be bugs for the others? SDK/places/bookmarks for example?

You can use JNI to accomplish this without waiting :slight_smile:

https://gist.github.com/Noitidart/400261f83b1be721a93a

Interesting, thanks. I replaced the clipboard with an alternative design so I’m not waiting for that bug. The SDK/places/bookmarks api I could do with.

There are currently only 16 out of the 83 APIs unavailable for Android - see my first link. I was hoping somebody knows which if any have a target release.

Cool @Dave you replaced clipbaord with native copy to clipboard with JNI? Please share im eager to see the JNI work! :slight_smile: Im working on a native screenshot code but keep crashing on the getPixels line: https://gist.github.com/Noitidart/cb6e7c3a102784d04262

You flatter me. No, I came up with an alternative design for my addon that doesn’t use the clipboard at all. It’s more secure too.

Aw drats, well it shouldn’t be too hard to do a JNI version if you’re interested I’ll write one up :slight_smile: I wondering if Services.clipboard is available on android