All Questions
10,840
questions
-4
votes
1
answer
37
views
Deleting item from sqlite database have error [closed]
Deleting item from sqlite database error.
CustomAdapter
public class PassAdapter extends RecyclerView.Adapter<PassViewHolder> {
Context context;
MainActivity mainActivity;
private ...
0
votes
0
answers
22
views
Android - Room Database enter loop on data update
I’m developing an app using Jetpack Compose, Room, Flow, Kotlin, and following the MVVM architecture. My app includes the following screens:
HomeScreen: Displays the budget and a list of products.
...
0
votes
0
answers
19
views
How to architect a persistence structure to my android app?
I am trying to sketch an overall idea of how to structure the storage/fetching of live data from the internet to my Android app.
I will use a chart library for Jetpack Compose called Vico.
It can take ...
0
votes
0
answers
39
views
Deleted Item from Room Database Reloads after app restart
So i have a recyclerview with few items(meals) where a user adds from a alertdialog. When I start the app and add a meal then immediately delete it and quit the app , when starting it second time the ...
0
votes
0
answers
18
views
Display User-Specific Data from Looker in a Mobile App Without Granting Looker Access
Hi Stack Overflow community,
I'm currently working on building a mobile application, and I am looking for a way to present user-specific data from Looker to my users, who are my workers. Here is a ...
0
votes
0
answers
48
views
Flutter SQLite database limit size length to load external database from assets
I insert SQLite database file in my project and its size almost 2GB. I always got this error message in debug console when running on Android native device:
E/flutter (25145): [ERROR:flutter/shell/...
0
votes
1
answer
27
views
Why is my LiveData not getting retrieved from the Room Database and update automatically?
This is how I have set up my DAO
@Query("SELECT * FROM alarm_table order by id")
List<AlarmEntity> getAllAlarms();
and I have the following in my viewmodel class
private ...
0
votes
0
answers
31
views
Problem of deleting the data from a Room Database (Android Studio Java)
I have 7 class: MainActivity class (the place where Recycler View are shown), AddNote class, UpdateNote class, NoteDao class, NoteDatabase class (i use the singleton database structure), NoteAdapter ...
0
votes
0
answers
132
views
How to resolve the "error: [MissingType]: Element 'com.example.XXXXDatabase' references a type that is not present"?
I am attempting to implement a Room library in an Android Studio project. However, I keep getting the following error:
[MissingType]: Element 'com.example.XXX.AppDatabase' references a type that is ...
0
votes
1
answer
16
views
USB cable port forwarding is disabled in SQLite Studio when setting up an Android database URL
Refer to the images below for guidance.
0
votes
0
answers
30
views
database suddenly stopped connecting to my app(android studio)
my database suddenly stopped working, i created an app till yesterday it was logging in but suddenly it stopped working its not logging in it keeps coming invalid password or username,I havent made ...
1
vote
1
answer
59
views
How can I make more complex queries with comparisons on the date field in Room database if I store the date as String yyyy-mm--dd?
My current question is about how does ROOM database manages dates and timestamps? Working on my current project, I've just found out that if I store my date fields as Strings (yyyy-mm-dd to be more ...
0
votes
0
answers
33
views
Connecting to Remote database using Android volley
I am new to Android development. I have a database in Hostinger. I am trying to input a record into a table in this database from my android app using Volley. When I try to submit the data, I am ...
0
votes
0
answers
47
views
Error logging in: [TypeError: Cannot read property 'enabled' of undefined]
i have a problem with my old react native project, when i'm trying to login using credentials located in my database, it shows this error:
LOG {"assets": [], "createdAt": "...
1
vote
2
answers
56
views
How to add new table to existing database in kotlin
i need to add a new table to a existing database in kotlin. when i try to add it in the app inspection, database inspection shows the database is closed.enter image description here
here is my code