There was no "bye-bye" in the end! There always is :) Your videos are just great, I never thought I'd be learning Android and now it actually seems easy. Thank you very much
Same here. Once you get Android studio up and running it's smooth sailing. I actually finished creating a Firebase app and am receiving push notifications in my apps.
Serializable is the methodology for java virtual machine to convert object or primitive data type into an array of bytes.. This is useful for sending data from one file into another.. It doesn't matter whether they are(the files) in the same directory or over the network.. Because data must be break into chunks like an array of bytes where each element is one byte.. They need to be sent via the OutputStream .. So that's why it was called a stream Because it's like byte by byte is flowing through the buses from a file into another file From a region of the hard disk into another region of the hard disk via the Ram
Nice work. But Please, would you like to add timelines next time? It will help people to better watch the different parts of the video according to what they need to understand (UI design or coding...or else) and to navigate whenever they wanna go forward or backward to watch something something. Once more, thanks! 👏👏👏
So this is PASSING DATA BETWEEN ACTIVITIES basic level. What would you say are advanced and pro level characteristics of this subject? Do you have any videos deconstructing data classes and other ways of accessing data? Thank you for videos and I would be very thankful for your reply.
What a great lectures you have. Keep on going. What about if you want to pass data from mainactivity to a fragment that is running in ViewPager2? I have looked few of your slide vids but none of them send values to fragments
Thanks a lot, it was a great video. My IDE tells me getSerializableExtra is deprecated, could you please suggest something new to pass objects between Activities?
@Philipp Lackner thx for your content! But can you explain to me whats up with "SecondActivity::class.java"? I thought this is about kotlin? This "class.java" confuses me... And second how is "it" a reference to the "Intent" object? We never defined this variable "it".
Kotlin is a programming language built on top of Java, and it runs on JVM So essentially, a Kotlin class is a Java Class. "it" is used kind of a context inside the .also It is something simillar to say Intent(this, SecondActivity::class.java).putExtra("EXTRA_STRING", extraString), but the .also gets the whole setence and allow us to use only "it" to reference it
Personal Note 14:49 For java : public class Person implements java.io.Serializable {...} In java you can't define a class as data type class. You have to create your own methods if you want a data class.The disadvantage is that you end up with a lot of boilerplate code
First off all, thx for your amazing work!! tvPerson.text = person.toString give you all the data of the class. is it possible, using "person", extract only one field? Example tvName.text = personne.name.toString tvAge.text = personne.age.toString..
he doesnt use view binding because view binding is new feature in android studio this video is relatively old he has new video on view binding but if you can follow along the video just use view binding instead i am following them and just using view binding here is the video that i was talking about : ruclips.net/video/z0F2QTAKsWU/видео.html&pp=ygUbdmlldyBiaW5kaW5nIHBoaWxpcCBsYWNrbmVy
i am struggling with view binding using it to pass the binding.tvPerson.text = personString keeps saying unresolved refrence:tvPerson . dont know what to do. Save me philipp:(
your contents are awesome but my negative mind often say that "there are many android programmers and many useful apps out there why you want to learn it"😞
you can say that about everything. Let me tell you, there are so many trash developers out there, if you just put in the work and practice you're already ahead of so many of them. Most people are lazy af
Hello man, I want to say that I really like your content and your Instagram account, but I have something I wanted to say about videos like these. The title is about passing data in activities, but then you spend approximately 4.5 minutes building the layouts. This I believe makes people less interested, or makes them click away. I would suggest that when you have a video with a specific title, you talk about that thing only. Building the views should be something that you shouldn't have to do every single video. It makes me feel like when I want to learn something, if it's you video I have to filter through a portion of the video which is irrelevant to get to them point that I am interested in. I just think you should be a bit more focused on what the title says and don't assume every single video that the viewer is an absolute beginner who has never opened Android Studio before. All this is just my opinion and I do not want you to take offense, I just think your content would improve if you did that :-)
Thank you so much for taking your time, comments like these help me the most to improve! What you said makes perfect sense and I will think about how I do it in future. The next Videos will still be like that because I pre produced them. But really, I wish I could get more constructive feedback like this
I think it can be helpful for beginners (considering its android fundamentals and passing data between activities which is pretty basic, chances are there will be lots of beginners viewing). Maybe add a link to skip the making layout parts for more advanced viewers.
@@PhilippLackner I Have Just Started Android Studio... Please Give Content Very Basically... The Way the Videos are there in these playlist those videos are really understanding perfectly...Please Make videos from Scratch any type of concept give detailed Information ....Admin ...Really really ur Great... Love you From INDIA❤❤❤❤❤💗💗💗
What about images, how to pass images, if u put a tutorial about passing data other than strings would that change whole meaning of a "FREE RUclips TUTORIAL", come on for once, why dont you youtube teachers put off the illusion of giving free educational tutorials which are of absolutely no use
I am all for freedom of speech but every once in a while people like you force me to reconsider. If you can't give constructive criticism then you shouldn't criticize at all
Hi bro why doesn't my firestore query work when using the intent data passed? The query is get using an id from a shopping item but works when I get my own uid using the auth.getcurrentuser.getuid( ). Hope you can help.
There was no "bye-bye" in the end! There always is :) Your videos are just great, I never thought I'd be learning Android and now it actually seems easy. Thank you very much
Same here. Once you get Android studio up and running it's smooth sailing. I actually finished creating a Firebase app and am receiving push notifications in my apps.
Serializable is the methodology for java virtual machine to convert object or primitive data type into an array of bytes..
This is useful for sending data from one file into another..
It doesn't matter whether they are(the files) in the same directory or over the network..
Because data must be break into chunks like an array of bytes where each element is one byte..
They need to be sent via the OutputStream
..
So that's why it was called a stream
Because it's like byte by byte is flowing through the buses from a file into another file
From a region of the hard disk into another region of the hard disk via the Ram
Your tutorials are awesome man! It is so informative! Keep making these amazing videos! Thank you!
Nice work. But Please, would you like to add timelines next time? It will help people to better watch the different parts of the video according to what they need to understand (UI design or coding...or else) and to navigate whenever they wanna go forward or backward to watch something something.
Once more, thanks! 👏👏👏
Thx so much for all these great videos and explenations
way better than my teacher and all 😅
i learn a lot here :p.
So this is PASSING DATA BETWEEN ACTIVITIES basic level. What would you say are advanced and pro level characteristics of this subject? Do you have any videos deconstructing data classes and other ways of accessing data? Thank you for videos and I would be very thankful for your reply.
checkout parcelables. With those you can pass data classes as extras.
you have no clue how much these videos are helping me!
What a great lectures you have. Keep on going. What about if you want to pass data from mainactivity to a fragment that is running in ViewPager2? I have looked few of your slide vids but none of them send values to fragments
Excellent couse, very helpful, regards from Venezuela
Thanks, always update
Nice.All clear with your explanations . Thanks
Thanks, glad you enjoyed it!
Thanks very much! You are my new best friend!
Thanks a lot, it was a great video. My IDE tells me getSerializableExtra is deprecated, could you please suggest something new to pass objects between Activities?
Hey thanks! Your video is very helpful.
best tutorial ever!!!
cool!! Thank you so much!!! this video just saved my life xD
Neat. A great lecture!
Mr.Poop killed me xdd
amazing data :)
Mr poop in China isn't 21 years old. I know him personally. )))
Shouldn't we be using Parcelable over Serializable to pass classes ?
@Philipp Lackner thx for your content!
But can you explain to me whats up with "SecondActivity::class.java"? I thought this is about kotlin? This "class.java" confuses me...
And second how is "it" a reference to the "Intent" object? We never defined this variable "it".
Kotlin is a programming language built on top of Java, and it runs on JVM
So essentially, a Kotlin class is a Java Class.
"it" is used kind of a context inside the .also
It is something simillar to say Intent(this, SecondActivity::class.java).putExtra("EXTRA_STRING", extraString), but the .also gets the whole setence and allow us to use only "it" to reference it
it basically refers to the object of the extension fucntion
Good Tutorial BUT when you leave age filed empty and click button, app is close immediately maybe it must have try catch?
try val age = etAge.text.toString().toIntOrNull() on MainActivity.kt
How could we pass objects from one to another activity?
Thank You, What 'also' does in android?
Nice, all my friends must subscribe..Can we also use sharedpreferences to pass details between activities.
Hi, could I do it using pop up fragments?
Personal Note
14:49 For java : public class Person implements java.io.Serializable {...}
In java you can't define a class as data type class. You have to create your own methods if you want a data class.The disadvantage is that you end up with a lot of boilerplate code
what's the difference between also vs apply vs run?
i'm facing problem while inserting my data in edit text not getting the data in text view of next activity pls help
How to pass an Array of Person Class in intent between activities. Please tell.
Hey! I have 3 activities say A,B,C I transition through A,B and then C but I want data from activity A to be brought to C how should I do that?
EEEEExcelllent.thank you
And what if i wanted to change a placeholder(%s) in strings.xml file with a putExtra?
First off all, thx for your amazing work!!
tvPerson.text = person.toString give you all the data of the class. is it possible, using "person", extract only one field? Example
tvName.text = personne.name.toString
tvAge.text = personne.age.toString..
yes sure, exactly as you did it
Pls make one video on findviewbyid in kotlin
How did you grab the elements from the activity without using findViewByID?
fiendViewById is used to reference views in Java. In kotlin you just reference them by their names.
u neither use dataBinding nor viewBinding then how does it pick the id of xml, plz let me know
he doesnt use view binding because view binding is new feature in android studio this video is relatively old he has new video on view binding but if you can follow along the video just use view binding instead i am following them and just using view binding
here is the video that i was talking about :
ruclips.net/video/z0F2QTAKsWU/видео.html&pp=ygUbdmlldyBiaW5kaW5nIHBoaWxpcCBsYWNrbmVy
How to pass Image using this?
i am struggling with view binding using it to pass the binding.tvPerson.text = personString
keeps saying unresolved refrence:tvPerson . dont know what to do. Save me philipp:(
Don't forget to add .toString() to the end of personString as well like this -
binding.tvPerson.text = personString.toSring()
serializable, putextra
can I pass data to another activity without opening it and how to do it? just without "startActivity(it)" line?
No why would you want to do that
@@PhilippLackner I wanna pass data to custom toast, I tried to do it like this just for experiment, but I couldn't
Okay but how can you make the data stays in the second activity even after closing the app so u can find them again?
llocal DATABASE :)
@followying392 my reply was long time ago when i didn't know what local database even meant that time xd thank you tho
your contents are awesome but my negative mind often say that "there are many android programmers and many useful apps out there why you want to learn it"😞
you can say that about everything. Let me tell you, there are so many trash developers out there, if you just put in the work and practice you're already ahead of so many of them. Most people are lazy af
@@PhilippLackner thank you 🔥
pls provide source code
Mr. Poop 🥲😍
Like your contents, but I am just very confused that, why Mr.Poop and why China....Sounds very racism
Mr.poop😂😂
Hello man, I want to say that I really like your content and your Instagram account, but I have something I wanted to say about videos like these.
The title is about passing data in activities, but then you spend approximately 4.5 minutes building the layouts. This I believe makes people less interested, or makes them click away.
I would suggest that when you have a video with a specific title, you talk about that thing only. Building the views should be something that you shouldn't have to do every single video. It makes me feel like when I want to learn something, if it's you video I have to filter through a portion of the video which is irrelevant to get to them point that I am interested in.
I just think you should be a bit more focused on what the title says and don't assume every single video that the viewer is an absolute beginner who has never opened Android Studio before.
All this is just my opinion and I do not want you to take offense, I just think your content would improve if you did that :-)
Thank you so much for taking your time, comments like these help me the most to improve! What you said makes perfect sense and I will think about how I do it in future. The next Videos will still be like that because I pre produced them. But really, I wish I could get more constructive feedback like this
@@PhilippLackner That is awesome, keep doing what you are doing, and I am sure you will just keep improving anyway!
I think it can be helpful for beginners (considering its android fundamentals and passing data between activities which is pretty basic, chances are there will be lots of beginners viewing). Maybe add a link to skip the making layout parts for more advanced viewers.
@@PhilippLackner I Have Just Started Android Studio... Please Give Content Very Basically... The Way the Videos are there in these playlist those videos are really understanding perfectly...Please Make videos from Scratch any type of concept give detailed Information ....Admin ...Really really ur Great... Love you From INDIA❤❤❤❤❤💗💗💗
@@akhileshrupaji5936 thanks a lot, that's the right Playlist for you if you want basic android content 👍👍
bye - bye
sed for china
Tutorial for Java? Someday? :(
Nope sorry, outdated for Android, won't come on my channel
What about images, how to pass images, if u put a tutorial about passing data other than strings would that change whole meaning of a "FREE RUclips TUTORIAL", come on for once, why dont you youtube teachers put off the illusion of giving free educational tutorials which are of absolutely no use
I am all for freedom of speech but every once in a while people like you force me to reconsider.
If you can't give constructive criticism then you shouldn't criticize at all
Hi bro why doesn't my firestore query work when using the intent data passed? The query is get using an id from a shopping item but works when I get my own uid using the auth.getcurrentuser.getuid( ). Hope you can help.
How to solve NullPointerException in serializable object? How can we put the default value?
Nice, all my friends must subscribe..Can we also use sharedpreferences to pass details between activities.
Nice, all my friends must subscribe..Can we also use sharedpreferences to pass details between activities.
Nice, all my friends must subscribe..Can we also use sharedpreferences to pass details between activities.
Thanks, you should never use SharedPreferences for that, instead use intent extras
@@PhilippLackner what of when navigating from activity to fragment