0

Hello everyone first of all. I am making an application for android, which I need to have a database for information. The database management computer mailbox. What I need is to take that database and included in the application for android'S SELECT generally.

I've been testing it on this website, but I can not get it to work. I do not think either the DB copy to memory, and then to perform the query, she says she can not find the table. I have been debugged and saw that even the open works, but something strange happens ...

If you have some method or way of doing this, I would really appreciate it. Thanks for everything.

Mike Samuel
  • 114,030
  • 30
  • 209
  • 240
Jorgechu
  • 143
  • 1
  • 1
  • 12

2 Answers2

1

Check out these resources

This tutorial by Lars Vogel

This reference article from Android website

Emmanuel N
  • 7,202
  • 2
  • 25
  • 36
1

Puit it in your assets directory in your apk, and on first use copy to "/data/data/YOUR_PACKAGE/databases/" directory. Here is SO discussion on this topic. database in assets folder

Community
  • 1
  • 1
kosa
  • 64,776
  • 13
  • 121
  • 163