Questions tagged as 'android-sqlite'

0
answers

Error generating Sqlite Query

Good afternoon I'll be sure, I'm trying to make a query using sqlite public ArrayList<CXCPSaldoClienteProveedor> ObtenerClienteZona() { ArrayList<CXCPSaldoClienteProveedor> ArrayClienteZona = new ArrayList<CXCPSa...
asked by 14.07.2016 / 22:42
2
answers

Android No such table

I have an APP in which I was working with a sqlite table, all right, now I add another one, I put the code but it is not generated. In the DBHelper add in the onCreate the statement to create the table with db.execSQL but when I go to the activi...
asked by 29.08.2018 / 00:33
3
answers

Android - Use a database?

I'm developing an application for Android , what my application does is just show ListViews with information (Approximately 100 items). This information will always be the same and will never change. What I want to know is: What is the...
asked by 14.11.2016 / 21:11
1
answer

Table name has no column column name [closed]

I'm doing a project on Android and creating a b.d SQLite and in the class that extends SQLiteOpenHelper at the time of doing an insert I'm getting the following:    table stops has not column lng But the table has the column. For s...
asked by 14.03.2016 / 22:49
1
answer

Print to console db.execSQL on Android

How can I get this chain by console? I want to take the console and see if I generate the sentence well. I do not know what parameter to use to load it in the System.out.print db.execSQL(String.format("CREATE TABLE %s (%s INTEGER PRIMARY KEY A...
asked by 16.05.2017 / 10:17
2
answers

Help with login in android studio

Sorry for the beginner, but I'm recently introducing myself in this world of programming, what happens is that I want to redirect the activity login to another activity but I do not know how, when logging in correctly, the user is validated but...
asked by 24.10.2018 / 08:54
1
answer

Load SQLite data in listview

I would like to know how to load the data of an sql query in a list view. As much as I try, I can not do it: S @Override public void onCreate(SQLiteDatabase db) { db.execSQL("create table usuarios(nombre text primary key, edad int, puntuac...
asked by 03.03.2018 / 18:23
1
answer

Backup and Restore Sqlite to the root

The thing is that in the previous version of my application, I was backing up and restoring my data stored in a sqlite database. This copy and backup was done in sdcard without any problem with File sdcard = Environment.getExternalStor...
asked by 11.11.2016 / 20:45
1
answer

Android Studio Debbuger view content from a Cursor

I am debugging an application and would need to know which branch to enter to see the contents of when Cursor.getString (int) is called; To see if you are grabbing something from my Database and if you grab it, check that it's what I'm looki...
asked by 22.11.2018 / 22:50
1
answer

I can not find the android folder emulated / 0 /

I am creating a public file in an android route, I have followed the steps of the android developer web. I try to create a folder in pictures, I have refined and everything works fine, but when I see the cell phone I can not find the folder....
asked by 04.11.2017 / 18:36