SDKLauncher-Android icon indicating copy to clipboard operation
SDKLauncher-Android copied to clipboard

Pull request to update for supporting LCP

Open fasooDev6 opened this issue 9 years ago • 1 comments

I send a pull request for SDKLanucher-Android for supporting LCP.

The following are summary for changed files: ContainerList.java

  1. if(container == null)
    • If container is null, stop processing intent and show the error message
  2. class OpenBookOnThread extends Thread
    • We have changed the way of opening EPUB by processing in separate thread. Because LCP needs to popup pass-phrase dialog-box waiting user input in the Readium SDK, which does not work in the same thread.
  3. private void containerRegisterContentModules(Context context)
    • We added containerRegisterContentModules to invoke Drminitialize. If user wants to include the DRM feature into the Launcher, call this method before the opening container in the "OpenBookOnThread".

DrmInitialize.java

  • We created one blank method as DrmInitalize.
  • If user wants to include the DRM feature into the Launcher, It can be connected with DRM Initialize.

Please reper to https://github.com/readium/SDKLauncher-iOS/pull/68

fasooDev6 avatar Dec 18 '15 07:12 fasooDev6

We'll need to review this in the context of the ongoing LCP integration work

rkwright avatar Feb 18 '16 19:02 rkwright