jeudi 24 décembre 2015

DB Browser && Android Studio

I create Database in DB Browser For SQlite. simple database - with one table called Students with two row:

1.id - integer
2.name -text

I want to use this database in android studio app.For example I need an app,which will print the names of students from database Students; I've two questions:

  1. Where Should I put the Students.db file?
  2. How to use/read the database in my app.

I'm searching for it for a while but cant find solution. Can you give me a good tutorial or just answer the question. Thanks

Aucun commentaire:

Enregistrer un commentaire