Questions tagged as 'sqlite'

0
answers

How to send a query to an arrayadapter?

I'm trying to pass a query from an sqlite to an arrayadapter that will consume the query as a string, but I'm not getting the arrayadapter to populate my view. follow view code: <?xml version="1.0" encoding="utf-8"?> <RelativeL...
asked by 08.11.2018 / 14:56
0
answers

How to use 2 databases using Room Sqlite?

Hello. Is it possible to use multiple DBs using Sqlite's Room? In my case I need to use 2 DB, if it is possible how to change from DB1 to DB2 dynamically?     
asked by 06.11.2018 / 22:25
1
answer

Get item contained in an item from a ListView when clicking item

My situation is as follows, my listView loads the items into an xml that I created for each listVIew item Atthetimethelistinglookslikethis: What I want to do is to click on these items circled in red, either by the Id, or in any way, and send...
asked by 27.10.2018 / 18:33
0
answers

Get the ID and text of the RadioButton and manipulate the Data

Good morning, someone could help me with this question, how would I get the text and position of the radioButton put in an Arraylist and in my MainActivity that manages this RecyclerView to access this data. Follow my Adapter public class E...
asked by 05.11.2018 / 18:07
0
answers

How to leave a value that comes from SQLite in an EditText?

I'm developing an application in Android Studio, and I have an activity on a card, and wanted to get the SQLite ID column and leave it as default value, how can I do this?     
asked by 23.10.2018 / 03:01
0
answers

problem with memory in ionic

I'm getting this error: "writeStringToMemory is deprecated and should not be called! Use stringToUTF8 () instead! ion-dev.js? v = 3.1.11: 156". I've researched a lot but found no solution. I get this message when I start the app, after sel...
asked by 14.10.2018 / 17:49
0
answers

How to correctly pass more than one parameter?

I'm filtering products through a select in a modal. I was able to filter by regions: south, north, center and west. But I need to filter by region, filter by product category. So this is my query getProdutosregiao(id, categoria_id) {...
asked by 04.10.2018 / 16:15
0
answers

Export SQLite data to a text file (csv, txt or xls) - Android Studio

Well, I'm having a problem that is eating me, the client needs the data that is stored in the application's SQLite database, and needs to be in a text format like csv, txt or xls, since it opens this data in excel even to make a conference if the...
asked by 08.10.2018 / 16:19
0
answers

Insert in SQLiteDatabase executes but does not insert into the database

Hello, I have an application in android studio that connects to an external SQLite database and is stored in the Assets of my project. In order for me to be able to use this external database within Assets, I needed a class named SQLiteAs...
asked by 10.09.2018 / 15:29
0
answers

Receiving images like Hex

Hello! I created a column in SQLite Studio in BLOB format and added an image. But in my project, instead of receiving an image, I'm getting a code like Hex: "89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 11 00 00 00 c4 08 06 00 00 00...
asked by 22.08.2018 / 16:56