1

I am creating a android application where I need to create the database in which data comes from excel file on first run when the application starts.

The problem is where should I keep the file and how do I access it in my android application or there is another method to create the database from excel sheet.

1 Answer 1

1

Use assets folder of your application. It allows you to store files there and access them through AssetManager. It has open(String filename); method which returns you InputStream to a file from assets folder.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.