Android SQLite Tutorial | Android CRUD Tutorial with SQLite (Create, Read, Update, Delete) |

  ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 37,352

Coding with Dev

Coding with Dev

4 ะถั‹ะป ะฑาฑั€ั‹ะฝ

#๐๐š๐ซ๐ญ ๐Ÿ (๐ˆ๐ง๐ฌ๐ž๐ซ๐ญ ๐€๐ง๐ ๐‘๐ž๐š๐ ๐ƒ๐š๐ญ๐š)
Hello Guys,In this ๐š๐ง๐๐ซ๐จ๐ข๐ ๐ฌ๐ญ๐ฎ๐๐ข๐จ tutorial we will learn to ๐ข๐ง๐ฌ๐ž๐ซ๐ญ,๐ฎ๐ฉ๐๐š๐ญ๐ž,๐๐ž๐ฅ๐ž๐ญ๐ž,๐ฌ๐ž๐ฅ๐ž๐œ๐ญ data in ๐’๐๐‹๐ข๐ญ๐ž D๐š๐ญ๐š๐›๐š๐ฌ๐ž.in this example we will store ๐ž๐ฆ๐ฉ๐ฅ๐จ๐ฒ๐ž๐ž name,email in to ๐’๐๐‹๐ข๐ญ๐ž D๐š๐ญ๐š๐›๐š๐ฌ๐ž and then select and modify data in ๐’๐๐‹๐ข๐ญ๐ž D๐š๐ญ๐š๐›๐š๐ฌ๐ž in very simple way.
#๐๐š๐ซ๐ญ ๐Ÿ (Insert And Read Data) SQLite Tutorial Link - โ€ข Android SQLite Tutoria...
#๐๐š๐ซ๐ญ ๐Ÿ (Update And Delete Data) SQLite Tutorial Link - โ€ข Android SQLite Tutoria...
๐–๐ก๐š๐ญ ๐ข๐ฌ ๐’๐๐‹๐ข๐ญ๐ž ?
-SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation.
-To use SQLiteOpenHelper, create a subclass that overrides the onCreate() and onUpgrade() callback methods.
-SQLite supports all the relational database features. In order to access this database, you don't need to establish any kind of connections for it like JDBC,ODBC ,MySql e.t.c
๐ƒ๐š๐ญ๐š๐›๐š๐ฌ๐ž - ๐‡๐ž๐ฅ๐ฉ๐ž๐ซ ๐œ๐ฅ๐š๐ฌ๐ฌ
For managing all the operations related to the database , an helper class has been given and is called SQLiteOpenHelper. It automatically manages the creation and update of the database. Its syntax is given below
๐ƒ๐š๐ญ๐š๐›๐š๐ฌ๐ž - ๐‚๐ซ๐ž๐š๐ญ๐ข๐จ๐ง
In order to create a database you just need to call this method openOrCreateDatabase with your database name and mode as a parameter. It returns an instance of SQLite database which you have to receive in your own object.
๐ƒ๐š๐ญ๐š๐›๐š๐ฌ๐ž - ๐ˆ๐ง๐ฌ๐ž๐ซ๐ญ๐ข๐จ๐ง
we can create table or insert data into table using execSQL method defined in SQLiteDatabase class.
๐ƒ๐š๐ญ๐š๐›๐š๐ฌ๐ž - ๐…๐ž๐ญ๐œ๐ก๐ข๐ง๐ 
We can retrieve anything from database using an object of the Cursor class. We will call a method of this class called rawQuery and it will return a resultset with the cursor pointing to the table. We can move the cursor forward and retrieve the data.
Please ๐Ÿ‘๐‹๐ข๐ค๐ž ,๐Ÿ‘ค๐—ฆ๐—ต๐—ฒ๐—ฎ๐—ฟ,โœŽ๐‚๐จ๐ฆ๐ฆ๐ž๐ง๐ญ And โ˜๐’แดœส™๐’ส€ษชส™แด‡ My ๐—ฌ๐—ข๐—จ๐—ง๐—จ๐—•๐—˜ Channel
๐—ฐ๐—น๐—ถ๐—ฐ๐—ธ ๐—ณ๐—ผ๐—ฟ ๐—บ๐—ผ๐—ฟ๐—ฒ ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ผ๐˜€ - / codingwithdev
Source code - github.com/devendrachavan/
Follow ๐…๐š๐œ๐ž๐›๐จ๐จ๐ค - / coding-with-dev-101018...
Follow ๐ˆ๐ง๐ฌ๐ญ๐š๐ ๐ซ๐š๐ฆ - / codingwithdev
Follow ๐†๐ข๐ญ๐ก๐ฎ๐› - github.com/devendrachavan
Follow ๐Œ๐ž๐๐ข๐ฎ๐ฆ - / devendrac706
๐…๐จ๐ซ ๐๐ฎ๐ฌ๐ฌ๐ข๐ง๐ž๐ฌ๐ฌ ๐ˆ๐ง๐ช๐ฎ๐ข๐ซ๐ข๐ž๐ฌ
-codingwithdev@gmail.com
๐’แดœส™๐’ส€ษชส™แด‡ My ๐—ฌ๐—ข๐—จ๐—ง๐—จ๐—•๐—˜ Channel #๐—ฐ๐—ผ๐—ฑ๐—ถ๐—ป๐—ด๐˜„๐—ถ๐˜๐—ฑ๐—ฒ๐˜ƒ for more latest videos..
/ codingwithdev
Thank You :-)
#SQLite #AndroidStudioTutorial #CRUD #sqlitedatabase #create #update #read #delete #Android #EmployeeDirectoryApp #recyclerview #listview
#sqlite database in android example step by step
#how to connect sqlite database in android studio
#how to insert data in sqlite database in android studio
#how to store data in sqlite database in android example
#how to insert and retrieve data from sqlite database in android
#simple sqlite database example in android
#android sqlite tutorial for beginners
#Setting up an Android SQlite Database - Employee Directory App #1

ะŸั–ะบั–ั€ะปะตั€: 47
@NIKHILKUMAR-cp5dl
@NIKHILKUMAR-cp5dl 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
thank you so much sir I was depressed from 3 days and I thought android development is not made for me so I found your video and this helped me so much thanks !
@jothamithagu7403
@jothamithagu7403 8 ะฐะน ะฑาฑั€ั‹ะฝ
Finally a video that has taken me step by step to finish-line successfully. Though my device did not display the "View Employee" data... I guess it's because I'm using the Android Device, and this needs external device. Thank you so much.
@luannguyenthanh2108
@luannguyenthanh2108 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thanks so much for your video, it's easy to understand.
@Tridez99
@Tridez99 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
Thank you, your video helped me a lot!
@goddy2481
@goddy2481 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thanks you bro. It is super usefull.
@CodingwithDev
@CodingwithDev 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thanks for ur valuable response
@sibusisom2362
@sibusisom2362 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
I JUST SUBSCRIBED TO YOUR CHANNEL!! YOU BRILIANT THANK YOU!!!
@CodingwithDev
@CodingwithDev 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thanks for ur valuable response
@priyankashivappa8476
@priyankashivappa8476 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Hello sir, this was really helpful. Can please say how to do switch button coding and connect to database?
@nmkl8272
@nmkl8272 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
ุดูƒุฑุง ุงู„ุชุทุจูŠู‚ ุฑุงุฆุน ุฌุฏุง
@education_beauty
@education_beauty 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Sir how can we get numbers from sqlite and store them in string variables
@GeorgeR-dt4yu
@GeorgeR-dt4yu 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
whats the use of implementation in gradle? i dont get it.
@MayaMaya-dm3pb
@MayaMaya-dm3pb 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Could anybody help out how can I connect this entered data with DB browser app so that I can connect this datas to other applications I devolepe
@bouchentoufothman7264
@bouchentoufothman7264 11 ะฐะน ะฑาฑั€ั‹ะฝ
Hello sir, when i try to enter the view employee, the app keeps crashing can you help me pls
@hasankanaan5628
@hasankanaan5628 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Please sir i have a problem, โ€œno adapter attached;skipping layout โ€œ You can please resolve it?
@CodingwithDev
@CodingwithDev 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Hello hasan , please cross check your code , YourArrayAdapterClass adapter = new YourArrayAdapterClass(this, artists); recyclerView = findViewById(R.id.cardList); recyclerView.setHasFixedSize(true); recyclerView.setAdapter(adapter); recyclerView.setLayoutManager(new LinearLayoutManager(this));
@ibrahimalmesbahi754
@ibrahimalmesbahi754 3 ะฐะน ะฑาฑั€ั‹ะฝ
Sqlite is local DB. How can we use android with a remote database like Sql server
@radhikapatel1755
@radhikapatel1755 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Sir i have an error:- Recyclerview: No adapter attached; skipping layout And i have add :- item. Size () then alsowi got same error Sir please can u solve my error
@CodingwithDev
@CodingwithDev 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
LinearLayoutManager llm = new LinearLayoutManager(this); llm.setOrientation(LinearLayoutManager.VERTICAL); list.setLayoutManager(llm); list.setAdapter( adapter );
@radhikapatel1755
@radhikapatel1755 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@CodingwithDev Thanks sir
@ebajovinceronnie2998
@ebajovinceronnie2998 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
this is not working
@jhoncarlosdrilon3880
@jhoncarlosdrilon3880 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
is there a kotlin version of this tutorial bro?
@CodingwithDev
@CodingwithDev 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@Jhon Hi, in feature, i will be trying to create tutorial in kotlin.
@vishalrathod-fq5sb
@vishalrathod-fq5sb 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Sir i have error :no adapter attached skipping layou pls give me solution for that
@CodingwithDev
@CodingwithDev 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Hello vishal, After inflating the recyclerview into your view class(Activity Or Fragment), you should mention the LayoutManager of it. If by mistake you miss it.... Please check the source code also..
@verm1lon885
@verm1lon885 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Hello, could you help me please. I can't see the content
@CodingwithDev
@CodingwithDev 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Hey Please check the source code link on description ...I hope it's very helpful for u ... Thank you..
@aulairvanzidnivavan2435
@aulairvanzidnivavan2435 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Iam just followed your instructions, but when i run the project and add email there is show "there is no empoloyee in the database"
@CodingwithDev
@CodingwithDev 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Hello please check your insert query on DatabaseHelperClass.java file...It's may be something wrong..Also check on github link on description...I hope it's helpful for you..
@aulairvanzidnivavan2435
@aulairvanzidnivavan2435 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@CodingwithDev thank you very much
@lucyakimoto1939
@lucyakimoto1939 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@aulairvanzidnivavan2435 hi? i have the same problem, I copy the code for Dartabasehelperclass.java and yet it doent show any content
@lucyakimoto1939
@lucyakimoto1939 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
i have an error in select * from what should i do
@s.k1312
@s.k1312 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
plz try one more time
@zkk1235
@zkk1235 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
I need source code plz. Where is source code. There is nothing in github
@shashikrishan3011
@shashikrishan3011 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
I followed the sample code. All the data add to the database in insert part. but when I click on view button the app doesn't response. could you please help me?
@CodingwithDev
@CodingwithDev 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@Shashi hello, please check the source code link on description...I hope it's helpful for u...
@shashikrishan3011
@shashikrishan3011 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@CodingwithDev it's working now. Thanks for your response.
@rimshajavaid4123
@rimshajavaid4123 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Same thing is happened to me... no error no mistake also no output
@lucyakimoto1939
@lucyakimoto1939 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@shashikrishan3011 hello i have the same problem, how did you solve it? I already copy all the source code and there is no display
@Ilya-wr3cm
@Ilya-wr3cm 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
can you share the file code...please??
@CodingwithDev
@CodingwithDev 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Here's a direct link for SQLite Tutorial.. github.com/devendrachavan/SQLiteExample.git
@Ilya-wr3cm
@Ilya-wr3cm 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@CodingwithDev Thank you very much
@abhinavsaxena7282
@abhinavsaxena7282 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Begginer should not come here it was the very complicated way of doing that
@ParaiyoasaiPathippaham
@ParaiyoasaiPathippaham 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
fraud. uncompleted and wrong guiding
@dividedtime8529
@dividedtime8529 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
sir I have this error org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.android.suport:design:28.2.1.
Android SQLite Tutorial | Android CRUD Tutorial with SQLite (Create, Read, Update, Delete) | #Part 2
8:31
Coding with Dev
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 8 ะœ.
RecyclerView with SQLite Database | Populate RecyclerView with SQLite Database | Source Code
21:38
CodingTutorials
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 53 ะœ.
THEY made a RAINBOW M&M ๐Ÿคฉ๐Ÿ˜ณ LeoNata family #shorts
00:49
LeoNata Family
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 34 ะœะ›ะ
Tetris Game + Nuggets ๐Ÿ˜ฎ - CatNap Meme School #gegagedigedagedago #nuggets #memes
00:18
Infinity Circus
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 6 ะœะ›ะ
WHO LAUGHS LAST LAUGHS BEST ๐Ÿ˜Ž #comedy
00:18
HaHaWhat
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 18 ะœะ›ะ
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Kirill Multitool
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 68 ะœะ›ะ
SQLite Database Tutorial Android Studio | Insert, Delete, Update and View Data in SQLite Database
28:23
CodingTutorials
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 330 ะœ.
SQLite Database in Android Studio | 38 | Android Development Tutorial for Beginners
28:16
Coding Pursuit
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 37 ะœ.
Complete CRUD Operation in Android Studio Java With SQL Server | ProgrammingGeek
33:14
ProgrammingGeek
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 66 ะœ.
Learn SQLite Database in tamil | Complete tutorial with practical examples | tamilhacks
56:16
Tamil Hacks - Vlogs
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 14 ะœ.
Android SQLite Tutorial | Android CRUD Tutorial with SQLite (Create, Read, Update, Delete)
1:17:55
ProgrammingKnowledge
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 193 ะœ.
SQLite Database for Android - Full Course
1:28:22
freeCodeCamp.org
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 246 ะœ.
SQLite Database Tutorial Android Studio | Note List View App with Persistent Data
18:38
Code With Cal
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 44 ะœ.
SQLite Database Tutorial Android Studio || SQLite Database API || Insert Data in SQLite Database #41
53:45
Smart Programming
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 11 ะœ.
PHP and MySQL with CRUD Operations: Create, Read, Update, Delete
32:49
BoostMyTool
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 481 ะœ.
sqlite is my favorite database (beginner - intermediate) anthony explains #500
12:25
anthonywritescode
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 57 ะœ.
THEY made a RAINBOW M&M ๐Ÿคฉ๐Ÿ˜ณ LeoNata family #shorts
00:49
LeoNata Family
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 34 ะœะ›ะ