Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Am Working On Android SQLiteDatabases First Time , I Have Two Different forms in android application for which i have to create two different Tables, So Just Want to know whether i have to create two different databases for that or i can create the two tables in the same table?

Any Help Or Links Will Be Appreciated.
Thanks In Advance...!
Posted
Comments
[no name] 19-Oct-14 14:44pm    
You can create two different databases if you want to. I don't see why you would want to though.
Sandeep Londhe 19-Oct-14 14:45pm    
can i create two tables in the same database?
Sandeep Londhe 19-Oct-14 14:48pm    
when i create two different databases it gives me error Application did not close the cursor or database object

1 solution

You usually can handle all the data needed by one (or more) application using one database (and it makes perfect sense). However no one prevents you creating two databases.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900