Questions tagged as 'sqlite'

1
answer

Android Device Monitor

I am trying to use the android device monitor to extract my database, but it is giving this error.     
asked by 10.08.2016 / 21:10
2
answers

Inform a date, and pick up the interval of the week of the month of that date (from Sunday to Saturday)

I need a SQL command (SQLite for android) that returns the one-week interval (from Sunday to Saturday) of an informed date. For example: I enter the date '05 -05-2016 ', hence the command in sql would return the range '01 -05-2016' and '07 -05-2...
asked by 05.05.2016 / 17:24
2
answers

Sqlite Bank does not work on Unity Games compiled for Android

I'm using Sqlite as a database for a Unity game that works perfectly in < Unity Editor , but when I build for Android the game simply does not access the database (nothing is informed or released). What can I do to make the sqlite datab...
asked by 30.01.2016 / 20:57
1
answer

Android Sqlite: Displaying database contents in textView?

I'd like to know how I display content from the Sqlite database in textviews. I'm using the following method to display in a CustomListView: public Cursor getAllData () { String buildSQL = "SELECT * FROM " + DatabaseHelper.DiferencaPer...
asked by 25.01.2015 / 02:07
1
answer

SQLiteDatabase transform return into json

Good afternoon, I need to do a query but I can not use the cursor. Example I have an object that I created that is called DatabaseHelper, inside it I have created some methods (prepare, bindParam, getQuery, execute), however in executing I ne...
asked by 20.12.2014 / 20:00
1
answer

What real utility of SqliteOpenHelper on Android?

I was watching a course on the online devmedia explaining about Sqlite on Android, the course example was made a basic crud, were created 1 bank and 2 tables. In the example, I was creating two classes that extended the SqliteOpenHelper, and eac...
asked by 17.11.2014 / 07:20
1
answer

SQLite Android Data Update

How to get the information that is on the screen and do a Update in the database. Code that displays information in EditText. public class DatabasesDAO extends SQLiteOpenHelper { private static final String DATABASE = "baseteste"; privat...
asked by 14.04.2014 / 16:05
1
answer

Error performing findviewbyid

Hello, I want to find the id of two Textviews, but they are returning NULL. Here is my code: private TextView nomeUser; private TextView cargoUser; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInst...
asked by 27.06.2017 / 17:11
1
answer

problems passing data to EditText Android

I'm having trouble loading data from a sqlite table and sending that data to the EditText, which I may be doing wrong, when I go to open the screen returns that message in the Cat log 11-03 06:43:30.721 14420-14420/routerbox.com.br.centraisdoa...
asked by 03.11.2016 / 14:55
1
answer

Using SQLite Android

I developed two applications to learn Android and I used MySQL database. So far I did not find it necessary to use SQLite and to be honest I did not even understand why it exists. How useful is SQLite in a project?     
asked by 07.05.2017 / 04:41