I copied java files from library. I used as you show however it just shows a red view. I think you couldnt give enough info to use this library