Android: How to find the absolute path of the assets folder?

Is this possible?

No. There is no “absolute path of the assets folder in [your] app”. Assets are stored in the APK file.

In select cases, such as URLs supplied to a WebView, you can use the special file:///android_asset base URL to reference files in your assets.

You can always copy files from the assets directory in the APK to a folder on the device, then serve that folder.

Leave a Comment