When should you store files in the /assets directory?

  • when you need access to the original file names and file hierarchy
  • when you need access to the file with its resource ID, like R.assets.filename
  • when you have XML files that define tween animations
  • when you need to access the file in its raw form using Resources.openRawResource()
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment

Share via
Continue in browser
To install tap Add to Home Screen
Add to Home Screen
When should you store files in the /assets directory?
Get our web app. It won't take up space on your phone.
Install
G Certification Course We would like to show you notifications for the latest news and updates.
Dismiss
Allow Notifications
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.