All Questions
1,300 questions
1
vote
1
answer
124
views
How to load Android.database.sqlite table data into spinner? (Table has data but not loading)
I am using the following code to load sqlite database table information into a spinner. I am saving the data in the table through saving data activity and trying to getting the saved data in a spinner ...
0
votes
0
answers
146
views
Items get deleted from ListView but not from SQLite database
I have seen similar question but mine is bit different.
I have CustomListAdapter with delete button
image here
Issue is once I click this delete button Item gets deleted from ListView but not from ...
0
votes
2
answers
69
views
Listview Unable to update when inserting a new data from custom dialog
I'm trying to display data from SQLite database to a custom listview. The data is inserted from a custom dialog and the user click on the positive button it should update the listview, but the ...
0
votes
0
answers
100
views
SQL of union Tables second table displays empty values onItemClick in listview
I am new to android and I'm developing a dictionary with multiple languages joined in one listview basically I'm trying to do a search all from all tables but if I clicked a word that has on table2 it ...
-1
votes
1
answer
131
views
Editing Android diary entries
Just a quick question, I'm creating an Android diary application, where the main page consists of three buttons: "New" to create a new entry, "All" to view all entries from the ...
0
votes
1
answer
86
views
Android SQLite show specific row on spinner selected
I got a record high score from 3 difficulty which is: Easy, Medium, Hard. All data goes into 1 table. And I got 1 activity to show all the high scores.
In that activity, I created a spinner to let ...
0
votes
1
answer
58
views
The ListView doesn't show me a list with names from database. I use SimpleCursorAdapter
im trying to implement database to my aplication. It is first time when i am doing this.
I have a layout with list view and im using a SimpleCoursorAdapter to transport data from dataBase to my ...
0
votes
1
answer
20
views
Keep the list view selected items ticked all the time
In my app Ive got details about movies from the user and saved them in a sqlite database , from this database ive created listview which displays the names of the movies with checkboxes where the user ...
1
vote
0
answers
21
views
Unable to display SQLite database in ListView (Android Studio Java)
I'm not able to display the database in ListView.
I would like to pass the 3 EditText information from DataInput.Java to Database.java in ListView.
Right now I'm able to save the detail form in ...
0
votes
1
answer
112
views
update data in SQLite does not update
I'm watching tutorials on SQL and I got stuck in updating existing information. so far I'm able to add and delete, I tried using the add method in SQL with little changes to function as update method ...
0
votes
1
answer
38
views
Trouble Displaying ListView Elements from SQLite Table
I'm struggling to pull elements from an SQLite table in Android Studio and display the elements in a ListView. The area where I believe the error to be in is when I set the List adapter to my array.
...
0
votes
1
answer
410
views
How to add from sqlite database into a for loop
So im trying to get 3 of my columns from my database from sqlite to be put into my arraylist then displayed into a list view but at the moment it is only displaying the quantity. Eg: Name: 1 Quantity:...
-1
votes
1
answer
244
views
Android, delete item in list and in sqllite java
ATTENTION AT THE END OF THE QUESTION IS THE UPDATE BUT STILL NOT
WORKING
Hey everyone I'm having a list and a popup where I can click on delete.
How can I delete the item which I long click in my ...
0
votes
0
answers
294
views
Sqlite with Futurebuilder and Listview.Builder - Update listview after adding new Item
In a part of my app i let the user create Todos. Created Todos are stored in a TodoPage class whereas the new Todos the user creates will be dealt with in NewTodoPage. After the user opens the ...
0
votes
1
answer
278
views
Setting up Model Class and Custom Adapter to get SQLite DB rowID from onListItemClick
I have an app that populates from a pre-existing SQLite database. I am now in need of obtaining the rowID (_id) when a list item is clicked. I think that I did not set my app up properly to be able to ...