Questions tagged as 'sqlite'

1
answer

Error: java.lang.IllegalArgumentException: column '_id' does not exist

Good people, I was developing an app in order to learn where the goal was to register users in an Activity and another to view all users registered through a listview. It happens that when I am viewing the users the app closes and it shows me th...
asked by 28.12.2015 / 23:50
1
answer

custom listview repeating last insert inserted

To learn, I'm trying to create a custom listview, getting values from the database, I created this MetasAcvivity where I call the list method public void listarMetas() { ArrayList<Meta> values = new ArrayList<>(); Cursor...
asked by 20.09.2015 / 03:13
1
answer

java.lang.NullPointerException: Attempt to invoke virtual method on a null object reference

I'm trying to insert some values in the database, but it's always giving an exception. My class that enters the bank: private String email; private int codigo; private Button btnOkay; private Button btnCancelar; private EditText codigoConf...
asked by 03.06.2016 / 07:00
1
answer

How to put db data in more than one fragment?

I want to put the database data in fragments, in a swipe, not a list, where each record is loaded in a different fragment.     
asked by 14.07.2015 / 14:06
1
answer

Update does not update

The app works like this: An SMS is received, so the app checks if the number that sent this SMS is registered, if the app checks the first twenty characters of the message, which I call text (example: Light 1 .. .............- ON, or: Light 1 .....
asked by 30.09.2015 / 19:53
3
answers

How to view query result in SQLite?

To view tables I use a plugin called QuestoIdPlugin and it works fine, but to see query results, is there anything?     
asked by 13.07.2015 / 19:39
1
answer

Fatal error: unexpectedly found nil while unwrapping an Optional value

I had the following error message:    Fatal error: unexpectedly found nil while unwrapping an Optional value In the following code snippet: // Lê uma coluna do tipo String no (BANCO DE DADOS) func getString(stmt:COpaquePointer,...
asked by 24.06.2015 / 21:08
1
answer

How to access the "date" folder in the Android File Explorer using the mobile as an emulator? [closed]

I use a plugin to view the tables created in SQLite, but I can not access the "date" folder when I use my cell phone as an emulator, it only works when I use an AVD. Does anyone know how to release this?     
asked by 08.07.2015 / 21:40
1
answer

Android sqlite - Return _id logged ListView only a value selected using Where condition

Good evening guys, I'm new here, I'm new to Android programming, but I decided to do my TCC, an Android project. by doing it alone, finding stuff on the internet, without taking Android classes, I'm going to do it well (or not), but I ran agroun...
asked by 01.04.2015 / 07:04
1
answer

Access Virtual Machine file through SQLite Browser [duplicate]

My .db file is in the SDCARD of the emulator, but how do I open it with SQLite Browser in this file? Or get that file that is in the SDCARD folder and put it in my Desktop? Exemplifying: My file is saved in SDCARD folder on my emulator, I want...
asked by 01.07.2015 / 16:57