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
  • 118,113
  • 30
  • 216
  • 245
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,350
  • 2
  • 26
  • 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
  • 65,990
  • 13
  • 130
  • 167