Its been almost two and a half weeks since the GSoC coding period started and it has been nothing less than interesting. Finally, after quite a few hours of coding I’ve been able to successfully integrate the Posting-Applications, PlainPost and Zerobin, with the Privly Android Application.
JsObject Class defines the functions that are accessible to Js.
And the Js Code of the Posting-Applications can access these functions by using the androidJsBridge.
For example –
var android_version = androidJsBridge.getDeviceVersion();
I also pushed some Android specific Js code to the Posting-Applications branch and now, the Android Application is now able to generate PlainPost and ZeroBin Links and allows the user to share the new Privly Urls.
Latest Code for the Android App — https://github.com/vshivam/privly-android