ROOM Database - #2 Read and Write Data | Android Studio Tutorial | Kotlin | 2022

  Рет қаралды 17,014

Foxandroid

Foxandroid

2 жыл бұрын

ROOM Database - #2 Read and Write Data | Android Studio Tutorial | Kotlin | 2022
This video with full audio : • ROOM Database - #2 Rea...
Follow me on Discord: / discord
Follow me on Instagram: / foxandroidblog
Follow me on Facebook: / foxandroidblog
Source Code: github.com/foxandroid/RoomDB
---------------------------------------------------------------------------------------------------------------------------------------------------------
Equipment I Use to Make My videos:
📱 Phone -: amzn.to/3px6ucS
🎧Earphones -: amzn.to/3JecI98
🎙️Mic - : amzn.to/310u7Rp
🎙️Mic - : amzn.to/3He96SW
🔊Speakers - : amzn.to/3Hgfzg8
💾External HardDrive - amzn.to/3JoRzZV
💻 My PC build: www.amazon.in/shop/foxandroid
--------------------------------------------------------------------------------------------------------------------------------------------------------
Hey Developers,
In this video, I have explained :
* How to write data to ROOM Database
* How to read data from ROOM Database
Read Image From External Storage API 30+ using Kotlin
• Read Image From Extern...
Read Image From External Storage API 30+ using Java
• Read Image From Extern...
StartActivityForResult Deprecated Solution using Java
• StartActivityForResult...
Bottom Navigation Bar - Android Studio | Fragments | Java | 2022
• Bottom Navigation Bar ...
Bottom Navigation Bar - Android Studio | Fragments | Kotlin | 2022
• Bottom Navigation Bar ...
ROOM Database - #1 Database Initialization
• ROOM Database - #1 Dat...
#room #database #android #kotlin

Пікірлер: 24
@_foxandroid
@_foxandroid Жыл бұрын
This video with full audio : kzfaq.info/get/bejne/pcuCeZieuMexZIU.html
@vamshidharkasulabada
@vamshidharkasulabada Жыл бұрын
Hi Foxandroid, I want to downgrade my projects Kotlin version to 1.6.21 can you please tell how can I do it.
@zyrenmisaki2622
@zyrenmisaki2622 Жыл бұрын
Hi foxandroid, my app wont read data from the room database..what should be the problem?
Жыл бұрын
kotlin : is there any way to copy existing database from assets to android studio , thankyou so much !
@jhNic
@jhNic Жыл бұрын
I don't know why but I keep getting the error even I follow step by step, but the code I downloaded from the github is perfectly fine. Did you add anything that you did'nt show us? I get "Not sure how to convert a Cursor to this method's return type" error, but works fine if I removed "suspend" in the dao.
@Shivam-kz2dg
@Shivam-kz2dg Жыл бұрын
Yes same error I'm getting as well and I wasted whole day inspecting my code and matching with one in video
@ayushmishra8505
@ayushmishra8505 Жыл бұрын
Same Problem and he not replying to anyone
@_foxandroid
@_foxandroid Жыл бұрын
Please check the dependency and plugins used in the project also try to clean the project and rebuild
@_foxandroid
@_foxandroid Жыл бұрын
@Ayush You also check the dependency and plugins with the one used in the GitHub repo
@ayushmishra8505
@ayushmishra8505 Жыл бұрын
@@_foxandroid Already checked I copied from github and pasted in my project it does't work only errors. Please make a new video on room db
@shadowgamer3428
@shadowgamer3428 11 ай бұрын
I'm doing same with dialogue box but it's not happening can you please tell how to do that with dialogue
@ricetech1396
@ricetech1396 Жыл бұрын
Please someone I have an error with : binding.firstname.text = data.firstname In the main activity the underlined part is from data.firstname and I have checked the naming is fine. ^⁠_⁠^
@ZombeeStar
@ZombeeStar Жыл бұрын
i get an error saying "lateinit property appDB has not been initialized"
@ZombeeStar
@ZombeeStar Жыл бұрын
OH MY GOD i am soo stupid.. i didn't watch the whole video first
@ZamZamGraphics_Sadik
@ZamZamGraphics_Sadik Жыл бұрын
Sir, I work for school i card, I want to make an app to capture data along with data entry, so please upload a video of it.Sir, I work for school i card, I want to make an app to capture data along with data entry, so please upload a video of it.
@LearningMaster-gs1sb
@LearningMaster-gs1sb Жыл бұрын
What the heck For You it is working for me it is not working in ActivityMainBinding
@_foxandroid
@_foxandroid Жыл бұрын
Please join the weekend doubt session on our discord server
@LearningMaster-gs1sb
@LearningMaster-gs1sb Жыл бұрын
@@_foxandroid Yeah Fine I will join
@LearningMaster-gs1sb
@LearningMaster-gs1sb Жыл бұрын
@@_foxandroidThis program is running but when I implement on other programs, it gets a lot of error
@rudya.hernandez7238
@rudya.hernandez7238 Жыл бұрын
is anyone using java anymore?
@hugovera1540
@hugovera1540 Жыл бұрын
yes people are still using java. it is not like kotlin is just another flavor of java like scala
@davaronas686
@davaronas686 Жыл бұрын
It crashes the app at the Room.databaseBuilder.build(), I'm passing the activity.applicationContext from a Fragment to a ViewModel and that's where I call the getDatabase. In the error it says something about a App_DatabaseImpl doesn't exist
@h-man7355
@h-man7355 Жыл бұрын
You need to change your build.gradle file as shown in his previous video (ROOM Database #1). I got the same error you did. Specifically in my configuration, I had to change the plugins section to have id 'kotlin-android' and id 'kotlin-kapt' and the dependencies section to have implementation "androidx.room:room-runtime:2.4.3" kapt "androidx.room:room-compiler:2.4.3" and implementation "androidx.room:room-ktx:2.4.3"
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 18 МЛН
My little bro is funny😁  @artur-boy
00:18
Andrey Grechka
Рет қаралды 13 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 46 МЛН
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 78 М.
Room Database 🛢 in Android  | Android Tutorial | 2024
19:34
ROOM Database - #1 Create Database Schema | Android Studio Tutorial
14:59
How I Made My First Android App in 2 Days
8:00
harshibar
Рет қаралды 313 М.
ROOM Database in Android Studio using Kotlin | Android Knowledge
11:04
Android Knowledge
Рет қаралды 3,8 М.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 331 М.