How the Google Play Books application "blocks" books

0

We are developing an application similar to Google Play Books for the Institution that works, I would like to know how the process works to make the file "private" to the application, blocking the user copy to a platform external.

Our application will read EPUB and PDF.

Thank you!

    
asked by anonymous 04.12.2015 / 21:17

1 answer

1

I'm not sure if this is what Play Books does (it probably is), but every Android application runs as a Linux user of their own and has a directory that only that user (and therefore the application) can access. What Play Books should be doing is saving the books to that directory. It is an internal directory of the cellphone and not the SD card, and therefore limited in space. On Android it can be accessed by getFilesDir() method.

Read more here on the internal storage part:

link

IOS probably goes the same way, so I could see here .

    
04.12.2015 / 22:38