Questions tagged as 'sqlite'

1
answer

SQLITE login screen

I'm trying to perform user verification and login while accessing the system. I am using the following codes: public int login(String username,String password) { String[] selectionArgs = new String[]{username, password}; tr...
asked by 23.06.2017 / 19:03
1
answer

Error while editing through SQLITE

I'm trying to edit an information that is saved on the SQLITE side. I'm working with fragments.  But I have the following error: FATAL EXCEPTION: main P...
asked by 22.06.2017 / 20:40
2
answers

Second Like does not work SQLIte

Well, when doing a query: Cursor cursor = database.rawQuery("SELECT nome, imagem, descricao FROM Marcas WHERE descricao LIKE ? OR nome LIKE ?", new String[]{name}); Only returns results through the description, ie the second like is...
asked by 10.04.2017 / 17:02
1
answer

Problem with tablayout and sqlite

Hello everyone, I'm re-formulating an app and include in the main activity a tablayout that inflates two fragments. A fragment should display in a cardview all the data stored in the database. Rolling the screen to the left the other fragment sh...
asked by 15.04.2017 / 22:57
2
answers

PHP Fatal error: Uncaught Error: Class 'SQLite3' not found in / var / www / html /

I have the supposedly simple code below. The intuit is to create a table include values and soon after show the information, but in log apache is showing the following: [:error] [pid 17622] [client 10.1.21.1:42895] PHP Fatal error: Uncaugh...
asked by 14.03.2017 / 16:47
2
answers

How to check if the last item was registered today?

I have a following table: +----+-----------------------+-----------------------+ | id | description | created_at | +----+-----------------------+-----------------------+ | 5 | Game Of Thrones | 2017-03-14 17:45:12...
asked by 15.03.2017 / 15:16
1
answer

Where is the WebSql database saved in Chrome?

I would like to know the directory of the databases made in WebSql, that is, where I can find the database file. Thank you.     
asked by 21.02.2017 / 16:24
1
answer

Error while using cursor to read SQLite table

I'm having the following error:    Could not read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. but in my view the cursor was correctly initialized in the first position as y...
asked by 17.03.2017 / 13:57
1
answer

App crashes when create create in Datamodule

I'm creating an Android application in delphiXE7 and everything works until I'm going to dynamically create the datamodule. Then he hangs up and does not come back. procedure TForm1.Btn1Click(Sender: TObject); var M:TModalResult; begin Applica...
asked by 12.01.2017 / 15:16
1
answer

no such column _id (code 1) while compiling - SQL

I'm having problems with my code, could they help me. Follow the error below and after the codes. But for simplicity, I have a home screen and let me go to another to register and then I can go to another to list in the ListView, but at this poi...
asked by 23.11.2016 / 04:21