I tried to figure out what’s wrong with my code, I copied exactly the same code online and carefully replace it with my own variable, and it’s still not working, I scratched head.. This morning I start to realise my mistake! because the database exist in my real android device, so I cannot simply modify the table column and value! nothing wrong with my code actually!
But I also don’t want to uninstall and relaunch my app, it’s killing me, any solution?
On your device go to Setting > apps > your app… Click Clear data. This will delete your database.