Inserting large amount of data into android sqlite database?

后端 未结 2 548
醉话见心
醉话见心 2020-12-06 15:41

I have a large amount of data i want to import into one sqlite database. 4column and 150 rows. Currently the data is in a excel spreadsheet.

How can i import it into

相关标签:
2条回答
  • 2020-12-06 16:13

    You could store the information on a CSV file, then read the file and store each row in sqlite.

    0 讨论(0)
  • 2020-12-06 16:27

    You can load database on your desktop using any of db console, add it to resources and replace db file created by DbHelper with your own file. If you use Motodev it will be much easier.

    0 讨论(0)
提交回复
热议问题