I need to write an application for user to read book online (and offline: download, then read), but I face a problem of copyrights: An user use a mobile to download a book, then only that mobile can read that book, others can't read it at other phone, but I have a problem:
I use device Id to encrypt book's content at server:
string encrypt(string deviceId, string content);
, then use device id to decrypt book's content at client:
string decrypt(string devicdeId, string decryptedContent);
I call function getDeviceId to get device id
. But an user (is a android programmer) can use Dedexer tool to decompile .apk file and edit java code (create new app), so they can read a book at every mobiles once it was downloaded at any mobile, then my app violate copyrights.
Please help me,
I use device Id to encrypt book's content at server:
string encrypt(string deviceId, string content);
, then use device id to decrypt book's content at client:
string decrypt(string devicdeId, string decryptedContent);
I call function getDeviceId to get device id
. But an user (is a android programmer) can use Dedexer tool to decompile .apk file and edit java code (create new app), so they can read a book at every mobiles once it was downloaded at any mobile, then my app violate copyrights.
Please help me,
Thanks in advance !