How to send/encapsulate a file in a . apk to use in the app installation?

Asked

Viewed 387 times

5

I have a file . xls that would like to encapsulate next to apk so that when installing the app it uses that file to popular a database. How to do?

1 answer

4


You can include your file . xls in the folder res/raw/. There is also a folder in the project assets/, and there is little difference between storing in it or in the folder res/raw/. You can know a little more and see the differences between one and the other at this link of documentation.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.