Saving data with SQLite and adding it to a ListView

preview_player
Показать описание
➤Android SQLite for BEGINNERS Course 2019:

➤My Keyboard:

➤My Microphone:

➤Check out our website:
Рекомендации по теме
Комментарии
Автор

Thank you so much man! I searched every tutorial but yours is the only method that works find with me. Subbed!!

andrianharrykennethwong
Автор

thanks for a very easy and nice tutorial.
i just want to know if i can add two values in row or listview

umeraman
Автор

After 6 month getting error only sqlite i got the best tutorial! Thank you so much!

EngrGio
Автор

Thanks for this one! i wasn t finding the tutorial that i needed for what i wanted, but now i got it. Do you have anything on editing or deleting what s in the listview? Thank you very much again! Simple and easy to understand tutorial.

virws
Автор

graet tuto.. Thx. i have a question?? if i already have a listview full of data, and i would like to saving those datas and add it to an other listview... how can i make the condition 'if'?

widimantoine
Автор

New italian follower.
Nice tutorial clean and helpful

danieleromanella
Автор

thank you sir, , atlast this app is working now i understood it fully, ,,looking ahead for more cool videos like this, , :)

chiragsharma
Автор

Your explanation was very clear thanks that helped my assignment.

loverofsith
Автор

I tried to run the same code with same interface. My app then keeps on crashing suddenly. The error found in logcat was
"NullPointerException: attempt to invoke virtual method Boolean on null reference object in method And the indicated line is "Boolean insertData = myDB.addData(newEntry);"
I tried to handle with try-catch but it always comes up in catch block whenever I hit add button in the app..
Please help.

satyamshashankkaran
Автор

The best tutorial, honestly dude thank you.

LibbyAudrey
Автор

Thanks brother but i have more then one string to display in listview productID, title, price then what to do ..?

waqarsaeed
Автор

as per video i follow same data get inserted but it is not displayed.when click to view button aap closes..what should i do.help out me

pallavichavan
Автор

In my app i have considered three textviews and two buttons.In the ouput page i got only first textview details.how can i get the all values from textviews?

Gardeningwithmayu
Автор

though your video helped me understanding various new stuff like cursor, Toast, databasehelper class and calling all the function but after adding viewListContents to manifest its still gets crashed idk why? please help me out

chiragsharma
Автор

I have some problem, kindly help. my data of the edit text cannot add to the listview

sanaikram
Автор

I don't understand how myDB in MainActivity and in ViewListContents are the same, or are they not? How come when you add data to myDB in MainActivity you can still finds its contents in myDB inside ViewListContents?

alexpeng
Автор

I want to show data on edittext without using button. When activity opens data can be seen on edittext how can I do it?

owaismumtaz
Автор

Great tutorial and thank you from pakistan

muhammadbilal
Автор

my app is stopping as soon as I click the submit button. it says that there is some null pointer exception in the method AddData(String) so could you help me.
it is giving an error that attempt to invoke virtual method boolean on a null object at AddData

harisrikallakuri
Автор

How would we do the reverse of this? Saving data from an array list into an SQLite database?

Comeonmate
welcome to shbcf.ru