Uris (Unique Resource Identifier) - Android Basics 2023

  Рет қаралды 22,827

Philipp Lackner

Philipp Lackner

Жыл бұрын

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

Пікірлер: 62
@PhilippLackner
@PhilippLackner Жыл бұрын
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 Жыл бұрын
I feel this playlist goona be the most watched Android content for 2023 !! Amazing content !!
@asadullahilyas
@asadullahilyas Жыл бұрын
Now this is the topic that needed a Philipp explanation. Thank you and well done!
@saeedghiassy5435
@saeedghiassy5435 Жыл бұрын
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 Жыл бұрын
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 5 ай бұрын
Your videos are pure fire!
@ChrisAthanas
@ChrisAthanas Жыл бұрын
Very clear and concise
@vilmarcabanero2500
@vilmarcabanero2500 Жыл бұрын
Cool! I need this for my app!
@techmarinar
@techmarinar Жыл бұрын
Thank you very much 🙏
@thecrazymoon6578
@thecrazymoon6578 5 ай бұрын
Thanks!
@bernardomesk
@bernardomesk Жыл бұрын
Very nice video Philip! Maybe you can do a video about Garbage Collector and Memory Leak for this playlist?
@ShivamVermaokdone
@ShivamVermaokdone 9 ай бұрын
😉Literally great content. You provide the latest knowledge on android dev on youtube.
@NissNel
@NissNel 2 ай бұрын
Amazing content as usual! Also, Uri Gagarine was the first Uri launched into orbit ( sorry I'm out --->[] )
@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.
@roshkaalex
@roshkaalex Жыл бұрын
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
@Radiokot42
@Radiokot42 11 ай бұрын
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.
@matteoZattera
@matteoZattera Жыл бұрын
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.
@deepeshkumar1704
@deepeshkumar1704 4 сағат бұрын
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
@skablerpro
@skablerpro 3 ай бұрын
I have one question. Which one do I use to get multiple files from a specific folder?
@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.😢
@ahmedimad4584
@ahmedimad4584 29 күн бұрын
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
@MorganMurungi
@MorganMurungi Жыл бұрын
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 Жыл бұрын
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.
@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 .
@events4089
@events4089 Жыл бұрын
Bro please make a video on mvvm ktor client and compose
@anb4351
@anb4351 Жыл бұрын
New Android Logcat is so broken that even philipp is now using print instead of log
@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 Жыл бұрын
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 👍
@saumilpatel2480
@saumilpatel2480 Жыл бұрын
⭐⭐⭐⭐⭐
@azamovdev
@azamovdev Жыл бұрын
good lucky
@abada-s
@abada-s Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
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.
@Adam0001
@Adam0001 Жыл бұрын
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
@mubaraknative
@mubaraknative 8 ай бұрын
Very Big Mistake Uri stands for "Uniform Resource Identifier" Not "Unique ..."
@atomykgaming6082
@atomykgaming6082 Жыл бұрын
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 Жыл бұрын
Yeah it bothers me too. It's like hearing someone say J.S.O.N and not Json
@atomykgaming6082
@atomykgaming6082 Жыл бұрын
@@halcyonramirez6469 yup exactly 💯
@janboerschlein
@janboerschlein Жыл бұрын
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 Жыл бұрын
Wovon redest du😂
@janboerschlein
@janboerschlein Жыл бұрын
@@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 Жыл бұрын
@@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 9 ай бұрын
I'm 100℅ sure that will challenge your 10,12 years Android development career
@abhinashsingh4808
@abhinashsingh4808 9 ай бұрын
I have a challenge for you Phillip if you have time. 100℅ you will learn something new
@likatest7718
@likatest7718 8 ай бұрын
Why you dont add .jpg in your android.resources//$packagename/drawable/kermit at line 19?
@PhilippLackner
@PhilippLackner 8 ай бұрын
It's not a file path, it's a Uri
@likatest7718
@likatest7718 8 ай бұрын
@@PhilippLackner oh i see i still dont get it😅
Content Providers - Android Basics 2023
22:40
Philipp Lackner
Рет қаралды 35 М.
Intents & Intent Filters - Android Basics 2023
25:36
Philipp Lackner
Рет қаралды 67 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 37 МЛН
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 94 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 66 МЛН
Full Guide to Delegation in Kotlin  - Android Studio Tutorial
18:10
Philipp Lackner
Рет қаралды 67 М.
3 ways to reduce the size of your docker images
17:20
Raghav Dua
Рет қаралды 9 М.
3 Clean Code Hacks I Bet You Didn't Know (Kotlin & Android)
12:30
Philipp Lackner
Рет қаралды 26 М.
MVVM vs. MVI - Understand the Difference Once and for All
18:40
Philipp Lackner
Рет қаралды 36 М.
What is the Context? - Android Basics 2023
11:22
Philipp Lackner
Рет қаралды 53 М.
Generics: The most intimidating TypeScript feature
18:19
Matt Pocock
Рет қаралды 169 М.
All 29 Next.js Mistakes Beginners Make
1:45:10
ByteGrad
Рет қаралды 100 М.
WorkManager - Android Basics 2023
34:22
Philipp Lackner
Рет қаралды 53 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН