All Questions
Tagged with android-studio sqlite
874
questions
0
votes
1
answer
52
views
can we use .setJournalMode(JournalMode.TRUNCATE) in android application
i am developing an android mobile application using kotlin and room database for backup i am copying database file and unable to copy -wal file due to that some data is getting lost so can we use
....
0
votes
1
answer
34
views
Problems using sqlite with kotlin in android studio
I am trying to make an app, which have a database with custumers. But the main feature goes with problem:
HERE IS MAIN FILE:
class AddPatientActivity : AppCompatActivity() {
override fun onCreate(...
-1
votes
2
answers
205
views
'kotlin' searching for data in editTextText in sqlite
enter image description here
enter image description here
enter image description here
-if the data in editTextText2 is in the database, I want to print it to textview.
-I've read a lot of articles ...
0
votes
1
answer
26
views
How do I fix error in android studio E/SQLiteLog: (1) no such table: MEMBER? Register and Login Activity
I just want the user to be able to register and login but I literally tried MS sql server, then mysql and now sqlite and I am going wrong somewhere I just do not know where. When the user enters the ...
0
votes
0
answers
11
views
How to call Fragment from my Main Activity?
My fragment details can't be opened. when I type a word in search and I want to see the details of the word it won't open. I don't know where the error lies. Please help me. I'm still new to Android ...
0
votes
0
answers
25
views
How can I display the nickname from the database in the textview?
I know it kinda easy though ive been struggling since im new to the programming industry. I dont know how should I display the nickname from the database which it is already which is already stored in ...
0
votes
1
answer
47
views
Retrieving all records with 'connection status' using SQLite and Java
I'm working on an Android application that utilizes a SQLite database to store and manage music data. I've encountered an issue with a method in my DatabaseHelper class that aims to retrieve all bands ...
0
votes
0
answers
24
views
Recycler view not displaying any items from my database
Im trying to display my data in my database which has 3 columns (Task, date and status) using recyclerview but it does not work. I am not sure if its because I am not inputting the data correctly (I ...
0
votes
1
answer
38
views
Null String Value in SQLite Causing App to Crash - Kotlin Android Studio
I have a SQLite database which I fetch data from based on the input from a user and then set EditText to display this information. Some of the columns in the database may be NULL and this seems to be ...
1
vote
0
answers
74
views
.NET MAUI: how to examine SQLite db on Android phone for newbies [duplicate]
What the Problem?
NOTE: in case I fail to mention it elsewhere, everything in this question is for Android.
I have an SQLite db saved on an emulator created using Visual Studio's Android Emulator.
...
0
votes
0
answers
25
views
How do I store values from a SQLite database into an arryOf<String> in Kotlin?
I have a databaseHelper class with which I would like to add a get function which retrieves all values in a column of the database and stores then in an array of strings. I would then like to call ...
0
votes
0
answers
51
views
How to send the same email to all registered emails in SQLite DB - Android Studio Kotlin
Upon the click of a "submit" button, I would like to send an email to all registered users that are stored in a SQLite database. Truthfully, I don't even know where to start. My thoughts are ...
0
votes
0
answers
29
views
No update on my RecyclerView and No errors are visble
This portion comes from "edicionCliente." If I'm not mistaken, it displays data, and that's it. There's also a floating action button located in the bottom left corner of the screen. When ...
0
votes
1
answer
45
views
How to debug a CursorIndexOutOfBoundsException error
I'm a beginner that trying to build an health app for my school project
The program runs fine when I use Android 11 (API 30). The error happened when I use Android higher than 11 (API 30+).
The code ...
0
votes
0
answers
24
views
Android Studio Accessing Database problem
Hey I am trying to access my sqlite database from android studio using device explorer. But when opening the data folder I get this error:
error_image
I am using a physical device connected to my pc.