Questions tagged as 'sqlite'

1
answer

I think my table is not being created: no such table?

I'm trying to do a check to see if there is anything inserted in the table, but it always gives the error on this line saying there is no such table. My database: package comviewzonazul.google.httpssites.zonazul.infraestrutura; import andr...
asked by 11.08.2017 / 01:00
2
answers

Web2py - Error when using SQLFORM.factory ()

I can not resolve an error that appears when I try to expose a form to two tables of SQLite . The error is as follows:    Traceback (most recent call last):         File "/home/joao/Desktop/web2py/gluon/restricted.py", line 219, i...
asked by 24.07.2017 / 21:53
1
answer

Attempt to invoke virtual method 'void

Good night, I can not solve the problem, it says that it has an object not referenced (null object reference), but it does not have to initialize the following code: public void deletar(int id) { conn.delete("RESULTADO", "_id = ?",...
asked by 16.07.2017 / 03:13
0
answers

SQLITE login help

I'm doing a simple login here via SQLite, but when I hit the "Enter" button, it says " Login Failed ") everything is correct in the form; $sqlite = "sqlite:teste.db"; $pdo = new PDO($sqlite); $username = $_POST['login_username']; $password...
asked by 03.07.2017 / 00:57
1
answer

Removing values for SQL file is not working

I have this code, which takes Strings and puts them in a dataBase, but the problem is that it is creating the dataBase but I do not know why, it is not inserting the values in it. Below I leave the xml and java files of the activity that I am tr...
asked by 09.07.2017 / 19:53
0
answers

sqlite with android studio

It's already solved. I want to add 3 data (date, location, and price) in my database. already solved some errors in the implementation of the database. but now it appears to me this error. I'm not very good at expressing myself on this topic, fo...
asked by 05.06.2017 / 13:26
0
answers

Data entered in SQLite3 is not shown in the PyQT4 application

I made a small desktop application PyQt4 where I insert data into db sqlite3, but when I go to consult the data that was inserted before, they are not on the screen of visualization, only when I leave the application and I go back in to do the q...
asked by 31.05.2017 / 22:18
0
answers

Save current time and end time in sqlite bank

I'm developing a project on home automation and now when I click on the CONNECT button it would perform the following functions: start device, start timer, save current time and send to the database. Clicking the Shut down button would turn o...
asked by 30.05.2017 / 14:51
2
answers

Select with two columns returning empty

In a mobile application (Android), I have two tables. One login table (user and password) and one of (simple register). The APP has a registry screen, if the user does not have the account it creates at the moment and proceeds. If this user make...
asked by 17.05.2017 / 23:50
0
answers

SQLite leak without having any class using SQLite

Good evening guys, I'm building an Android app and the last thing I need is to set up the local bank. I built it but realized that there were errors in memory leak, I thought I had it fixed but the same warnings kept appearing on the conso...
asked by 05.04.2017 / 04:21