Android Studio Wifi and SQL problems
Go to solution
Solved by colonel_mortis,
db.delete deletes all entries from the table, but it doesn't drop the table itself. This is what it sounds like you need, but your code calls onCreate, which should actually create the table. If your onCreate query doesn't specify CREATE TABLE IF NOT EXISTS then the app will crash when you run it. If you remove the onCreate call it should work though.
-
Featured Topics
-
Topics
-
ulookuglynoob ·
Posted in Phones and Tablets0 -
nick name ·
Posted in Networking2 -
2
-
2
-
1
-
5
-
8
-
Cyber Akuma ·
Posted in CPUs, Motherboards, and Memory1 -
9
-
0
-
-
play_circle_filled
Latest From GameLinked:
Are you excited for Doom: The Dark Ages? - Gamers 2 Gamers
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now