Uris (Unique Resource Identifier) - Android Basics 2023
ฝัง
- เผยแพร่เมื่อ 30 ม.ค. 2025
- 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/...
🎁 Get my FREE 4.5h course "The Best Practice Guide to Android Architecture":
pl-coding.com/...
Read our weekly Android blog:
pl-coding.com/...
💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
pl-coding.com/...
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/...
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
Hello Phillip! Make a video about Jetpack Compose Compiler 1.5.0 and what has been changed, please.
@@ilhomsoliev275 use the docs
I feel this playlist goona be the most watched Android content for 2023 !! Amazing content !!
Now this is the topic that needed a Philipp explanation. Thank you and well done!
Thanks for spreading knowledge and happy, I admit that there no scene about what should I do with Uri until now 😊
great vid on a subject you dont see much content about, loved it
Excellent job like always , really appreciated 👏👏👏
absoutely perfect, you are the only maintainable resource for android developers actually
Your videos are pure fire!
I have no words. You are absolutely amazing ❤
Thanks for this video. Keep going!
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.
Very nice video Philip! Maybe you can do a video about Garbage Collector and Memory Leak for this playlist?
Very clear and concise
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
Work manager is an android specific feature
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.
Loved your previous KMM video. Is there a way to use rememberLauncherForActivityResult outside a composable function, like for example in a kmm expect function?
With an activity reference, but you need to make sure it's registered before the activity is resumed
Cool, thanks. I'll give it a try.
9:16 :
could you please show us how to send the uri to other screens in jetpack compose
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.
@@hiEroneta No , I did that , I got an access denied
@@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.
cause the uri obtained from launcher results would be a temporary-accessed uri only
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.
Cool! I need this for my app!
Thank you very much 🙏
I have one question. Which one do I use to get multiple files from a specific folder?
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.
Thanks!
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
Same as some people say S Q L and some people Sequel :)
I think it originated from Android naming it Uri and not URI
@@PhilippLackner seems sound reasoning to me 👍
😉Literally great content. You provide the latest knowledge on android dev on youtube.
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
how can i observe file added in specific folder, in android 13
acess taken using SAF
i saw many apps which detect using service and FileObserver, how, but that apps takes permission also using SAF
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.😢
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
Hi sir,
i need some help here!
I need to create an app that connect wifi router setting and change it using android code .
Bro please make a video on mvvm ktor client and compose
Very Big Mistake Uri stands for "Uniform Resource Identifier" Not "Unique ..."
New Android Logcat is so broken that even philipp is now using print instead of log
⭐⭐⭐⭐⭐
Since I've always pronounced it as individual letters u.r.i so you said yuri it was kind of unsettling um... uncomforting
Yeah it bothers me too.
It's like hearing someone say J.S.O.N and not Json
@@halcyonramirez6469 yup exactly 💯
Amazing content as usual!
Also, Uri Gagarine was the first Uri launched into orbit
( sorry I'm out --->[] )
uri's revenge
good lucky
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
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.
Wovon redest du😂
@@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.
@@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 😂
I'm 100℅ sure that will challenge your 10,12 years Android development career
I have a challenge for you Phillip if you have time. 100℅ you will learn something new
Why you dont add .jpg in your android.resources//$packagename/drawable/kermit at line 19?
It's not a file path, it's a Uri
@@PhilippLackner oh i see i still dont get it😅