Search code examples
androidmobileprotectedandroid-assetsprotected-mode

Android Downloaded HTML content should not coping using file managers / through the USB connection


I'm developing a android application which is downloading contents from a API as a zip file and extract it in to the assets folder in the app.Then using the web view in the app can load that content.

How can i prevent user from directly access the extracted folders (using file manager) and only allow user to access the folders via the application?


Solution

  • I found the answer from the below mentioned blogs .

    to save my html files - saving file in internal storage android

    And to load- http://fixabc.xyz/question/14624567/load-somefile-html-file-from-internal-storage-to-a-webview-of-an-app

    Thank you Stackoverflow!!!