0

I am developing an android app as junior project at school.

It is a simple TVGuide. I have parsed program names, dates, times etc with Java and I've inserted this parsed texts to DB with mysql.

On the other hand , I want to use sqlite in android part of my project while fetching the parsed records.

So, how can I use parsed contents from mysql in sqlite. I have created DB with MySQL. I am not sure can I use same db with sqlite. Can anyone help me ?

1 Answers1

0

Welcome to the community. The SQLite and MySQL databases are different programs. if you want to create a duplicate SQLite database you can, but you cannot just setup SQLite to use the MySQL records, which I think is what you are asking.

If this is for a school project and you don't have to use SQLite and you already have the MySQL db then it may be easier for you to just use that. perhaps with PHP on a local server. That possibility has been explored here on SO before Android PHP MySQL Combo .

if you are still interested in using SQLite for your project you can find a tutorial it here

Hope that helps.

Community
  • 1
  • 1
Semicolons and Duct Tape
  • 2,927
  • 4
  • 20
  • 35