readium-sdk
readium-sdk copied to clipboard
Harmonize the file structure and interfaces in Windows and Android with OSX/iOS
Need to carefully review both Windows and Android repos and ensure that their structure and interfaces are "harmonized" with the work done for RDServices for iOS and OSX. Clearly, we cannot entirely mimic what RDServices is like, but the goal should be that, insofar as possible and reasonable, have a similar architecture, folder structure and APIs. This will have to be done very carefully on Android since the JNI layer is critical to behaviour and performance. On Windows, there is no equivalent to the JNI layer as the Launcher is written in MFC/C++ but the structure and folder layout should be as close as possible. If we decide to support RT then the same work will need to be done for that platform.
Even on Windows, an abstraction layer that has the same 'RDServices' calls as iOS, Android and OSX will allow for better documentation, sample applications and understanding than disparate layers per platform.
This is an admirable goal, but given all the "refactoring discussion" it doesn't seem like a high priority. Reducing to medium.