Assets path during development and production
Development of the app:
file:///mnt/sdcard/AppInventor/assets/<your_html_file>.html
Production, before packaging the app:
file:///android_asset/<your_html_file>.html
Returns the path to the assets. This method is useful, if you want to access files from the webviewer component stored in the assets of the app.
The method will return
- file:///android_asset/ in case the app is running after building the app as apk file
- and will return file:///mnt/sdcard/AppInventor/assets/ in case the app is running inside the companion app (development mode).