Uris (Unique Resource Identifier) - Android Basics 2023

Поділитися
Вставка
  • Опубліковано 15 лип 2023
  • This video is all about the main different types of Uris we have on Android. Specifically, those are resource Uris, file Uris, content Uris and data Uris.
    ⭐ Learn all the professional technologies applied in the industry
    ⭐ 100% money back guarantee for 30 days
    ⭐ Become an industry-ready Android developer now:
    pl-coding.com/premium-courses...
    Get my FREE PDF about 20 things you should never do in Jetpack Compose:
    pl-coding.com/jetpack-compose...
    💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
    pl-coding.com/drop-table-ment...
    Follow me on Instagram for insights into my live as an Android developer:
    / _philipplackner_
    Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!
    pl-coding.com/newsletter

КОМЕНТАРІ • 61

  • @PhilippLackner
    @PhilippLackner  Рік тому +43

    Little addition: There are also normal HTTPS Uris pointing to a web address, but I wanted to focus on the more Android specific Uris here in this video

    • @ilhomsoliev275
      @ilhomsoliev275 Рік тому

      Hello Phillip! Make a video about Jetpack Compose Compiler 1.5.0 and what has been changed, please.

    • @userglls
      @userglls 5 місяців тому

      @@ilhomsoliev275 use the docs

  • @bjugdbjk
    @bjugdbjk Рік тому +5

    I feel this playlist goona be the most watched Android content for 2023 !! Amazing content !!

  • @asadullahilyas
    @asadullahilyas Рік тому +2

    Now this is the topic that needed a Philipp explanation. Thank you and well done!

  • @saeedghiassy5435
    @saeedghiassy5435 Рік тому +7

    Excellent job like always , really appreciated 👏👏👏

  • @nastenkaoo
    @nastenkaoo Рік тому

    absoutely perfect, you are the only maintainable resource for android developers actually

  • @hxrin3748
    @hxrin3748 Рік тому

    great vid on a subject you dont see much content about, loved it

  • @tch.777
    @tch.777 Рік тому

    I have no words. You are absolutely amazing ❤

  • @wealthynerd9943
    @wealthynerd9943 11 місяців тому +1

    Thanks for spreading knowledge and happy, I admit that there no scene about what should I do with Uri until now 😊

  • @michaelk7942
    @michaelk7942 Рік тому

    Thanks for this video. Keep going!

  • @gerdsfargen6687
    @gerdsfargen6687 4 місяці тому

    Your videos are pure fire!

  • @vilmarcabanero2500
    @vilmarcabanero2500 Рік тому

    Cool! I need this for my app!

  • @ChrisAthanas
    @ChrisAthanas Рік тому

    Very clear and concise

  • @techmarinar
    @techmarinar Рік тому

    Thank you very much 🙏

  • @thecrazymoon6578
    @thecrazymoon6578 5 місяців тому

    Thanks!

  • @ShivamVermaokdone
    @ShivamVermaokdone 9 місяців тому

    😉Literally great content. You provide the latest knowledge on android dev on youtube.

  • @bernardomesk
    @bernardomesk Рік тому +1

    Very nice video Philip! Maybe you can do a video about Garbage Collector and Memory Leak for this playlist?

  • @roshkaalex
    @roshkaalex Рік тому +1

    Cool! Thanks man! Will you create video about web commination in kmm , parsing response, error handling and stomp communication ? May be workmanager in kmm also

    • @ChrisAthanas
      @ChrisAthanas Рік тому

      Work manager is an android specific feature

  • @matteoZattera
    @matteoZattera Рік тому +1

    Please make a video on how to create delete write and read files on internal storage and where to put this code, I currently have an AndroidViewModel that uses a FileRepository(application: Application) to handle the files using applicationContext, but I read that AndroidViewModel is not recommended, I really don't understand where to put the code, thank you Philipp.

  • @ThisDaniYT
    @ThisDaniYT 5 місяців тому

    I can't thank you enough for the amazing work you are doing here, Philipp!
    I have a small question: The other day a client asked me if I could make two different apps with access to a single database which is retrieved from the server by one of apps. Could you please shed more light on this matter.
    Edit: Never mind, I've already noticed that you covered the subject in the Content Providers video, jeje. Thanks! Although it won't hurt us if you decide to make a deeper video on the custom content providers.

  • @NissNel
    @NissNel Місяць тому

    Amazing content as usual!
    Also, Uri Gagarine was the first Uri launched into orbit
    ( sorry I'm out --->[] )

  • @MorganMurungi
    @MorganMurungi Рік тому +1

    Loved your previous KMM video. Is there a way to use rememberLauncherForActivityResult outside a composable function, like for example in a kmm expect function?

    • @PhilippLackner
      @PhilippLackner  Рік тому +2

      With an activity reference, but you need to make sure it's registered before the activity is resumed

    • @MorganMurungi
      @MorganMurungi Рік тому

      Cool, thanks. I'll give it a try.

  • @Radiokot42
    @Radiokot42 11 місяців тому +1

    It is also a surprise that a content URI from an intent-filter only grants the permission to the activity opened with it. You can't pass such URI to another activity and then finish the current - you get permission exception in this case. The opened activity must remain alive.

  • @shivumantur366
    @shivumantur366 Рік тому

    Hi Philipp nice video it helps a lot. And I have a small request to you that can make a video regarding store PDF files from API (Base64) in android device internal storage without Managed permission. If we used Managed permission play store rejects the app.😢

  • @skablerpro
    @skablerpro 2 місяці тому

    I have one question. Which one do I use to get multiple files from a specific folder?

  • @events4089
    @events4089 Рік тому

    Bro please make a video on mvvm ktor client and compose

  • @samirkhaled156
    @samirkhaled156 Рік тому

    Hi sir,
    i need some help here!
    I need to create an app that connect wifi router setting and change it using android code .

  • @ahmedimad4584
    @ahmedimad4584 16 днів тому

    I get the Uri from the gallery and the image view are display in Receyical view and storge it in room database as String ? Why the application dont run when i open it agin

  • @erfansn869
    @erfansn869 Рік тому

    Android has a security hole regarding internal storage inaccessibility, this means that an Android application can share this part of memory if developer wants to with intent filter

  • @martinseal1987
    @martinseal1987 Рік тому

    Have to jump on you saying Urray (like murray without the m) instead of U R I looking into it i think it would be U R I in this case, but urray is how you pronounce Uri, IMO since this is Uniform resource identifier i would pronounce each letter, great video btw

    • @PhilippLackner
      @PhilippLackner  Рік тому +1

      Same as some people say S Q L and some people Sequel :)
      I think it originated from Android naming it Uri and not URI

    • @martinseal1987
      @martinseal1987 Рік тому

      @@PhilippLackner seems sound reasoning to me 👍

  • @anb4351
    @anb4351 Рік тому +1

    New Android Logcat is so broken that even philipp is now using print instead of log

  • @abada-s
    @abada-s Рік тому +1

    9:16 :
    could you please show us how to send the uri to other screens in jetpack compose

    • @hiEroneta
      @hiEroneta Рік тому

      you can just convert the uri into string using toString() and then you can pass this string over.
      And on the other screen you can re-convert it back to the Uri using toUri() in kotlin or Uri.parse(stringUri) in java way.

    • @abada-s
      @abada-s Рік тому

      @@hiEroneta No , I did that , I got an access denied

    • @hiEroneta
      @hiEroneta Рік тому +1

      @@abada-s yeah it does, if you use the uri obtained from gallery launcher or smth to send to or save to the persistent storages you would end up with access denied later on in the future like the video very well explained.

    • @hiEroneta
      @hiEroneta Рік тому +2

      cause the uri obtained from launcher results would be a temporary-accessed uri only

    • @hiEroneta
      @hiEroneta Рік тому

      and we usually don't do that way in order to use the actual uri of files or resources to make them available throughout our application process.

  • @azamovdev
    @azamovdev Рік тому

    good lucky

  • @saumilpatel2480
    @saumilpatel2480 Рік тому

    ⭐⭐⭐⭐⭐

  • @Adam0001
    @Adam0001 Рік тому +1

    Hello Mr.Philipp,
    I need your help
    First of all, Thank you for your amazing efforts,
    Spotify Clone series I think it was so complicated for me and now a lot of things are deprecated,
    Could you please make it again, just like any normal Music Player App on our devices today?
    I appreciate your efforts and your help for us,
    Thanks a lot our Teacher

  • @atomykgaming6082
    @atomykgaming6082 Рік тому +2

    Since I've always pronounced it as individual letters u.r.i so you said yuri it was kind of unsettling um... uncomforting

    • @halcyonramirez6469
      @halcyonramirez6469 Рік тому +1

      Yeah it bothers me too.
      It's like hearing someone say J.S.O.N and not Json

    • @atomykgaming6082
      @atomykgaming6082 Рік тому

      @@halcyonramirez6469 yup exactly 💯

  • @mubaraknative
    @mubaraknative 8 місяців тому +1

    Very Big Mistake Uri stands for "Uniform Resource Identifier" Not "Unique ..."

  • @janboerschlein
    @janboerschlein 11 місяців тому

    Ich bin mir btw nicht sicher wie legal es in Deutschland ist mit einem kostenlosen Download zu werben den man nur mit einem richtig teuren Abo bekomme. Nur so am Rande. Ich würde an deiner Stelle mit so Scams aufpassen.

    • @PhilippLackner
      @PhilippLackner  11 місяців тому

      Wovon redest du😂

    • @janboerschlein
      @janboerschlein 11 місяців тому

      @@PhilippLackner In deiner Beschreibung ist ein Link zu einer "kostenlosen PDF" für Compose Fehler oder so?
      Auf jeden Fall wenn man dem Link folgt und drückt auf der Seite auf "kostenlose PDF", bekommt man keine PDF sondern ein Anmeldefeld um ein Abo für 250€ im Monat abzuschließen.
      Nicht falsch verstehen du bist gut und ich gönne dir das, ich wäre da nur vorsichtig weil das am Rande der Legalität ist.

    • @PhilippLackner
      @PhilippLackner  11 місяців тому +1

      @@janboerschlein ich weiß nicht was du meinst 😅
      Du gibst deinen Vornamen und Email an, die PDF wird dir zugeschickt und du meldest dich zum Email Newsletter an. "Subscribe" bezieht sich in dem Kontext eben auf den Newsletter wie es auch darunter steht. Wie sollst du da ein Abo abschließen wenn du nicht mal bezahlinfos angeben kannst 😂

  • @abhinashsingh4808
    @abhinashsingh4808 8 місяців тому

    I'm 100℅ sure that will challenge your 10,12 years Android development career

  • @abhinashsingh4808
    @abhinashsingh4808 8 місяців тому

    I have a challenge for you Phillip if you have time. 100℅ you will learn something new

  • @likatest7718
    @likatest7718 7 місяців тому

    Why you dont add .jpg in your android.resources//$packagename/drawable/kermit at line 19?

    • @PhilippLackner
      @PhilippLackner  7 місяців тому +1

      It's not a file path, it's a Uri

    • @likatest7718
      @likatest7718 7 місяців тому

      @@PhilippLackner oh i see i still dont get it😅