Android Question DBUtils 2.01 Example

Bhrt60

Member
Licensed User
Silly question...

I'm jumping into DButils as I have a project where that needs SQLliteDB
where does DBUtils get the SLQDatabase from

its NOT listed in the Files !

I want create my own database with 3-4 tables and use that
 
Last edited:

Peter Simpson

Expert
Licensed User
Longtime User
You posted this question in the incorrect part of the forum.

You have to create the database yourself manually, I personally use free software like SQLite Expert Personal 5 and also DB browser for SQLite, but I also have SQLite Administrator, there are plenty for you to use that are free and will help you easily create your SQLite database for using in your Android app.
 
Last edited:
Upvote 0

Myr0n

Active Member
Licensed User
Longtime User
To create your sqlite db, you can do it manually or use a IDE software like http://sqlitebrowser.org/ that is user friendly.
 
Upvote 0

Bhrt60

Member
Licensed User
You can create your database separately and include in the assets folder with DB BROWSER
You can still use the DBUTILS to access this database

Or

Use DBUTILS to create the database when your app runs.

I have created a SQLite DB and a simple app - works but very crudly coded
I was trying to see how DBUtils works & trying to understand it ..

I sort of guessed that the DB is being created in Code but can't see where John Smith

sorry for posting in the "wrong" place Peter
I serioulsy thought the right place was Android > Tutorial & Examples
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
I sort of guessed that the DB is being created in Code but can't see where John Smith
You seemed to trail off here. What was the question?
 
Upvote 0

Bhrt60

Member
Licensed User
You seemed to trail off here. What was the question?

Original question was - where does the DB & Data come from ?

Can't see SQL FILE for the database in FILES

Can't see "John Smith" in the code if was being CREATED
Can't see anything to Create the Database - only Tables !
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
Last edited:
Upvote 0
Top