How to Pass data from One to another Activity || Android studio tutorial

  Рет қаралды 107,082

Technical Coding

Technical Coding

Күн бұрын

Пікірлер
@TruthAlways563
@TruthAlways563 2 жыл бұрын
This method worked for me , earlier I had this issue that my xml ID was not same as in the activity.java so it was crashing, but now the issue is resolved...thank you so much brother...God bless you 😊😚
@MohammedAsif-o4k
@MohammedAsif-o4k Жыл бұрын
I Must Thank you for being a Tremendous help..May God Bless uh abundantly.....
@deep1998-j1v
@deep1998-j1v 2 жыл бұрын
It was easy and straight to the point, thanks 👍
@mohdiszamirismail3987
@mohdiszamirismail3987 Жыл бұрын
Thank you very much bro. Please keep posting more great videos like this. God bless you and your family :)
@aryajr4078
@aryajr4078 2 жыл бұрын
Thankuuuu...That was easy to understand as well as to learn..
@pranabacharya6652
@pranabacharya6652 2 жыл бұрын
Thank you so much.. your tutorial is very helpful
@sahilasheikh123
@sahilasheikh123 4 жыл бұрын
thankyou so much bro you help me a lot… love you and god bless you brother...
@TechnicalCoding
@TechnicalCoding 4 жыл бұрын
I am glad you like it
@samindirathnayake99
@samindirathnayake99 4 жыл бұрын
Thank you so much.. It was really helpful
@TechnicalCoding
@TechnicalCoding 4 жыл бұрын
welcome
@soulapparel9388
@soulapparel9388 3 жыл бұрын
Do you have a continuation tutorial for this? It just shows one result. Can you do like if you add many names it will show all you added, and the results will have a button that you can add if its already final.
@Odaznarak
@Odaznarak 3 жыл бұрын
thank youuu for this video, great and simple. It helps me a lot!
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
WELCOME
@averysalvador3379
@averysalvador3379 3 жыл бұрын
dunno if you guys gives a damn but if you are stoned like me during the covid times then you can watch all the latest movies on instaflixxer. Have been streaming with my girlfriend for the last few months =)
@harrisonmathew5001
@harrisonmathew5001 3 жыл бұрын
@Avery Salvador Definitely, have been watching on Instaflixxer for years myself :D
@rainybaby2113
@rainybaby2113 4 жыл бұрын
Hi, can I check with you how to make it so that if you click the "save" button it doesn't automatically redirect you to SecondActivity. This means you input data using EditTexts and saves (doesn't redirect to SecondActivity) and later on, you right-click the SecondActivity and run still will show the input data of the previous activity.
@TechnicalCoding
@TechnicalCoding 4 жыл бұрын
For this you have have to store the data using sharedpreference and loads it when you start your secondactivity
@homerashaikh1803
@homerashaikh1803 2 жыл бұрын
Thank you.It saved time 🙂
@Linebeck
@Linebeck 3 жыл бұрын
Thank you so much!! The best video about this ;)
@javatmz
@javatmz 5 жыл бұрын
Nice tuto it's verry helpfull
@TechnicalCoding
@TechnicalCoding 5 жыл бұрын
thanks for your support
@its_shaun8122
@its_shaun8122 3 жыл бұрын
why does it say Unfortunately (my appname has stopped) everytime i try to open the second activity with the submit button? i followed your tutorial and i have no errors btw
@depression_plusplus6120
@depression_plusplus6120 3 жыл бұрын
My second activity doesn't work..it crashes..in the logcat it says CompatibilityChangeReported, state Enabled.. Please help
@denimugi4317
@denimugi4317 3 жыл бұрын
thanks sir, that's really helpful!
@loquenotematatehacegordo5763
@loquenotematatehacegordo5763 Жыл бұрын
nice video bro; you save me
@niladrimallik3172
@niladrimallik3172 3 жыл бұрын
Thank you, it was a good explanation. Solved my problem.
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
Glad you like it
@youngwooh
@youngwooh 3 жыл бұрын
Thanks! i solve my problems
@ximerfrostofficial5985
@ximerfrostofficial5985 3 жыл бұрын
thanks bro 😊❤️
@basharatbala7617
@basharatbala7617 3 жыл бұрын
Great
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
thanks
@KB_Umutikitifuu
@KB_Umutikitifuu 3 жыл бұрын
thank u very much it worked
@nelronjayag9643
@nelronjayag9643 3 жыл бұрын
does it still do the same output when mine is EditText instead of TextView?
@dimust8940
@dimust8940 2 жыл бұрын
your genius indian genius
@montezmusic
@montezmusic 3 жыл бұрын
Can anyone reply this please, I have 3 activity which each activity hold different edit text, and I want set this text in one activity For example activity 1, activity 2, activity 3, activity 4 and I want get text from this activity and I want to set this text in activity 5
@princekumarkushwaha
@princekumarkushwaha 3 жыл бұрын
have you got any solution for this ?
@odedaranirali6360
@odedaranirali6360 Жыл бұрын
If we will send a result of main activity to second activity, so can we store that result in second activity? Any solution for this..?
@technosk3145
@technosk3145 3 жыл бұрын
I want to gettext from main_activity to 4th activity into the listview please reply
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
before that answer me if you have any button or something that leads to main activity to your 4th activity
@technosk3145
@technosk3145 3 жыл бұрын
Actually i made 4 different activities including main_activity and each activity has 1 button for next activitiy . But first 3 activities consists information which i want to get And on licking next button of 3rd activity, Information of each activitiy should be retrieved and displayed into the list view in 4th activity.
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
there are many ways to do this takes. If you want you want to get a small value like name or something then you can create a public static variable and put your value in it, then you can can acess that variable from your 4th activity.
@sabrinafeliz4822
@sabrinafeliz4822 2 жыл бұрын
hello sir , i want to send data between 2 app installed into 2 phones so how can i do it
@Aakash_mishra8
@Aakash_mishra8 3 жыл бұрын
Thank you sir
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
WELCOME
@oscarpeter2904
@oscarpeter2904 9 ай бұрын
very easy way to dispatch
@sudipta_pradhan
@sudipta_pradhan 3 жыл бұрын
If I have to pass a number, for e.g a phone number how do I modify the line inside public void onClick(View v){ }
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
If you want to passa phone number from one activity to another activity it would be best that you pass the phone number as a string and use intent for that. Like I showed in this video
@sudipta_pradhan
@sudipta_pradhan 3 жыл бұрын
@@TechnicalCoding(1) I actually did that but the problem is after I enter my details the app crashes. What might be the possible reason? (2) new View.onClickListener() shows in grey.... What might be the possible reason?
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
I can't actually tell that what that error is from without seeing your logcat here but view.onclickListener colour is showing gray because you are using Java 8 in your Android project and you can replace that whole click listener with Lambda and that click listener is an anonymous class
@viveksorathiya2336
@viveksorathiya2336 3 жыл бұрын
Thank you so much...
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
Welcome
@coderunner743
@coderunner743 3 жыл бұрын
thanks bro
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
I am glad you like it
@hrulekhnandan5293
@hrulekhnandan5293 4 жыл бұрын
Is it written in kotlin or java?
@TechnicalCoding
@TechnicalCoding 4 жыл бұрын
I used java of course
@BluePhantomStudio
@BluePhantomStudio 4 жыл бұрын
JOVA
@BluePhantomStudio
@BluePhantomStudio 4 жыл бұрын
Kotlin is a old language and nobody uses it
@muhammadalifhaikal3981
@muhammadalifhaikal3981 4 жыл бұрын
why set text in my android studio become red color
@TechnicalCoding
@TechnicalCoding 4 жыл бұрын
have you checked the xml attributes of that textview?
@thenoch2418
@thenoch2418 3 жыл бұрын
Please sir, how do I do this but with float value?
@anisexpert4604
@anisexpert4604 3 жыл бұрын
convert the float value to string and send it then reconvert it again to float
@thenoch2418
@thenoch2418 3 жыл бұрын
Thank you I solved it a long time ago ☺️
@anisexpert4604
@anisexpert4604 3 жыл бұрын
@@thenoch2418 okayy 😁
@amdanm7954
@amdanm7954 8 ай бұрын
@222noor5
@222noor5 Жыл бұрын
Sir kindly provide the code.
@alibanot7517
@alibanot7517 3 жыл бұрын
help me do my app
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
Tell me in details
@alibanot7517
@alibanot7517 3 жыл бұрын
@@TechnicalCoding do you know how to create a searchable spinner?
@code642
@code642 3 ай бұрын
Hi
@createsmart6477
@createsmart6477 Жыл бұрын
Number kese le jayega
@createsmart6477
@createsmart6477 Жыл бұрын
Number le jane ke liye kya karna padega
@TechnicalCoding
@TechnicalCoding Жыл бұрын
It's the same for the first activity, in the next activity call getIntegerExtra() to get the number
@jaisiya_raam
@jaisiya_raam 3 жыл бұрын
Axomia nki bupai?????????????????
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
Sorry I don't understand what you're saying?
@jaisiya_raam
@jaisiya_raam 3 жыл бұрын
@@TechnicalCoding i thought you are Assamese .... Das likha no tumi ?
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
No I am Bengali
@laxmanhansda1023
@laxmanhansda1023 3 жыл бұрын
Why are u crying bro
@TechnicalCoding
@TechnicalCoding 3 жыл бұрын
No I am not
@laxmanhansda1023
@laxmanhansda1023 3 жыл бұрын
@@TechnicalCoding ok
@ahmedmassalha7602
@ahmedmassalha7602 3 жыл бұрын
Thank you Sir
Pass Data between Activities using intent | Android Studio | Java
13:19
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Activities & the Activity Lifecycle - Android Basics 2023
12:47
Philipp Lackner
Рет қаралды 170 М.
How to pass Variable between two activities | Android Studio | Java
7:14
ARNIS - МОД КОТОРЫЙ ПОСТРОИТ ТВОЙ ГОРОД ЗА МИНУТУ
3:53
Portal with 3 parts: is this possible?
14:12
optozorax
Рет қаралды 104 М.
Android Listview Onitemclick Example
22:45
Coding Demos
Рет қаралды 147 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН