I have the following query:
SELECT pe.id_person , pa.id_person_patient , *
FROM patient as pa INNER JOIN person as pe on ( pa.id_person_patient = pe.id_person )
WHERE pe.elimination_date is null OR pe.elimination_date = 0
AND pe.name =...
I'm trying to make a database for a game using libgdx, but there's no way it works for me. An error appears as soon as you start with the code: you do not find anything related to SQLite. The start of the code is:
public class DBAndroid extend...
I need to create a .txt file in a specific path that I created and write data that is in my BD inside that file, the way I found is OutputStreamWriter, but it sends me an error that says:
"java.lang.IllegalArgumentException: sample / examp...
I have this simple database and I want to backup the sd card, how can I do it?
public class Usuario extends SQLiteOpenHelper {
String sql ="CREATE TABLE Cliente (id INTEGER, nombre TEXT, apellido TEXT)";
public Usuario(Context contex...
I am implementing sqlite in app, but the insert returns -1, as I interpret the messages.
That's how it works
public long IngCliente(SQLiteDatabase db, cliente cliente) {
return db.insert(
clienterEntry.TABLE_CLIENTE,...
I create a table with foreign keys and it generates error in the execution, I can not understand the error is the following ...
01-11 08:57:28.821 27100-27100/company.viral.organizadorjec E/AndroidRuntime: FATAL EXCEPTION: main...
A few days ago I asked a question asking for help and guidance on how to create a RecyclerView with a CursorAdapter to be able to create a list where% data RecyclerView were extracted from the internal DB (in SQLite) from the ap...
I am creating a calendar-type app and when I run the app and I give it the option to see events I get an error in the cursor: The error is as follows " Could not read row 0, col 1 from CursorWindow Make sure the Cursor is initialized correctly...
The problem happens when you start the app with SQlite, you fall for the topic that says data that does not match if someone has any idea about this error would be of great help any contribution to solve it
Helper
public class ConexionHel...
I am making a mobile application with Android Studio and I synchronize it through a WEB REST in C #, the problem is that when synchronizing the images between SQLite and SQL Server, it sends me an error in the data types in my Web Rest. I clarif...