@TypeConverter - Insert Image in Database | Android Studio Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 30

  • @anudeepananth
    @anudeepananth 4 года назад

    This is an amazing solution to storing images locally and avoiding excessive network calls...

  • @SERJUAANT
    @SERJUAANT 3 года назад +2

    you have helped me a lot with your tutorials, the room series and the Retrofit ones were so usefull, you need more spotlight!

  • @samdroid37
    @samdroid37 Год назад

    wow I spent like 2 weeks trying to figure this out on my own. could've just watched this video. lol. thank you!!!!

  • @amiralam1786
    @amiralam1786 4 года назад

    I SUBSCRIBED JUST BY WATCHING THIS PLAYLIST OVERALL! Its professional

  • @Another0neTime
    @Another0neTime 3 года назад +1

    Man, ANOTHER great video. Thanks! Most underrated Android channel!

  • @explorecodes
    @explorecodes 3 года назад

    Thanks man ! For the past one week I was after something related to room db, this video was the key to the solution.

  • @carlosurieltoraltorres1881
    @carlosurieltoraltorres1881 3 месяца назад

    I owe you my life

  • @lara-kp7lp
    @lara-kp7lp 3 года назад +1

    How to use type conveter for example images: list?

  • @medosaad98
    @medosaad98 3 года назад

    YOUR ARE GREAT DEVELOPER!

  • @RahulRawat-rj8ol
    @RahulRawat-rj8ol 2 года назад

    thanku sir for making world knowledgable but my quetion is that i have a list of images which i am getting from the gallery and i want to store them into database i am coverting every single image by your given method but its not working in case of list the same converter error so please tell me what is the solution for that because i am getting the typecoverter error same for which i am using converter where i am doing wrong

  • @kopro4935
    @kopro4935 4 года назад

    Svaka cast brate odakle si Crna Gora , Srbija?

  • @CodeByAshish
    @CodeByAshish 4 года назад +1

    Please make videos in Light theme.. Its hard to see the video in dark theme due to RUclips's 480p quality in some devices and location. Nice and helpful 👍

  • @yaminishilpa4541
    @yaminishilpa4541 8 месяцев назад

    Grt one

  • @eniolaajiboye4399
    @eniolaajiboye4399 3 года назад

    Do they absolutely need to be prefixed with "to" and "from"?

  • @saga1658
    @saga1658 3 года назад

    How can I store Date and Time in Room please Reply....... By the way thanks for TypeConverter Video

  • @Alex-yw7sn
    @Alex-yw7sn 3 года назад

    way didn't you create the recyclerView?

  • @mauriciopriego1700
    @mauriciopriego1700 3 года назад

    thank you very much

  • @linqcodmax8965
    @linqcodmax8965 4 года назад

    - Hello! I have a problem: "Row too big to fit into CursorWindow requiredPos=0, totalRows=1; query: SELECT * FROM recipe_data_table ORDER BY recipe_id ASC", i think i need to compress my image file before putting it into database, but i am not sure(( Help me, please)
    - P.S. it work for bitmap which size in bytes is 2560000
    , but it doesnt work for bitmap wtih size 31227680 bytes
    - maybe this log will be helpful: "Window is full: requested allocation 5325755 bytes, free space 1999899 bytes, window size 2097152 bytes"

    • @linqcodmax8965
      @linqcodmax8965 4 года назад

      EDITED: I fixed it with adding BitmapFactory.Options().inSampleSize index (we need to calculate image size, because max image size we can work with in database is about 2 MB)

  • @seba23571
    @seba23571 3 года назад

    awsome thank

  • @InvincibleXXX
    @InvincibleXXX 2 года назад

    thanks

  • @cografyakolay3340
    @cografyakolay3340 4 года назад

    Bravo 👏

  • @saicharansigiri2964
    @saicharansigiri2964 3 года назад

    can we do the same in java Project?

  • @bartlomiejgajda1
    @bartlomiejgajda1 4 года назад

    Is it efficient to store images in a db? I always stored them in app storage and saved the uris in the database

    • @StevdzaSan
      @StevdzaSan  4 года назад +1

      If you store just URL it might not show when you are offline. Except if you are using image loading library which does all of this for you.

    • @diaanajjar
      @diaanajjar 3 года назад

      @@harrisonrohan it's recommended not to save images in your DB unless your use case needs that
      there is a bunch of ways to do such as save the image in a file in the mobile storage and use the file path and etc

  • @prasannadeshpande4435
    @prasannadeshpande4435 3 года назад

    Thanks.

  • @alij3fer
    @alij3fer 4 года назад

    Thanks bro

  • @Alex-yw7sn
    @Alex-yw7sn 3 года назад

    It is helped me
    val recyclerView = findViewById(R.id.recyclerView)
    recyclerView.adapter = adapter
    recyclerView.layoutManager = LinearLayoutManager(this)

  • @goodbull6571
    @goodbull6571 4 года назад

    Bro can i get your firebase course for free plz.....