Switching between activities in Android Studio. Check out my Channel for more Android Tutorials!
Пікірлер: 50
@johnydeel2897 жыл бұрын
too short too useful
@sunlotfi40796 жыл бұрын
the text is so small hope you can zoom on the screen more
@johnlight-knight80607 жыл бұрын
This is actually one of the best tutorials that one can find! Well done! I am just surprised that no one else have commented! :O
@benjaminkern80767 жыл бұрын
Thank you for this tutorial, struggled to find a short and comprehensive explanation!
@andyabq88596 жыл бұрын
I wish you could increase the size of text. Even on 1080P fullscreen it's pretty hard to read.
@alimuhammed17284 жыл бұрын
Thank you, goosh other videos are so freaking annoying and they dont get to the point... thank you habibi
@srinivasperambuduri6 жыл бұрын
screen letters are too small
@gustavomuller71905 жыл бұрын
Thanks. One of the few good tutorials on KZbin.
@fredysoto85477 жыл бұрын
Thanks a Lot, You are GREAT!!
@CoryMcaboy4 жыл бұрын
The second activity gets unmounted when finished is called. How do we switch between activities without unmounting an activity?
@John_X_GR5 жыл бұрын
one java file can be only associated with One particular layout? For ex. MainActivity.java for the activity_main.xml and SecondActivity.java for activity_second.xml? or for multiple layouts?
@joesarchive2 жыл бұрын
exactly what I was looking for thank you!
@magamboisaac76029 ай бұрын
great tutorial
@04_durgeshbangude884 жыл бұрын
thanks bro :)
@johnchugh15816 жыл бұрын
Hi there. I am new to android and java. I am using video tutorials like this video to do not so complex programming to develop engineering tools. I need to use multiple screens with depth of 2 or 3 i.e. a screen will have multiple child screens and each of these multiple child screens will have further child screens and so forth I tried your code to move between parent screen and child screen and it works well. Then using same code, I tried to go from child screen to its next level child screen. It does not work and I am sure I doing something wrong. Could you please advise on the error in the below listed code. Thanks in advance - John Chugh public class GenericTools extends AppCompatActivity { private static final String TAG = "GenericTools"; // This code is meant to go to a previous activity by way of closing the current activity which is 'general_tools' @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.general_tools); Log.d(TAG, "onCreate: Starting."); Button Button_MainScreen = (Button) findViewById(R.id.Button_MainScreen_Screen); Button_MainScreen.setOnClickListener(new OnClickListener() { @Override public void onClick(View view) { finish(); } }); } // This code is meant to go to a next activity 'FindVersine' from current activity which is 'general_tools' @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.general_tools); Log.d(TAG, "onCreate: Starting."); Button Button_FindVersine = (Button) findViewById(R.id.Button_FindVersine_Screen); Button_FindVersine.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Log.d(TAG, "onClick: Clicked Button_FindVersine."); Intent intent = new Intent(GenericTools.this, FindVersine.class); startActivity(intent); } }); }
@Gh0St007MW3 жыл бұрын
Thank you!
@Dra60oN6 жыл бұрын
Thanks for turtorial, and one question, in the LoginActivity.onStart() method, why do you send user back to the MainActivity, when he is not null, shouldn't it be opposite way around? Because if I leave it as you do, application will jump between MainActivity and LoginActivity onStart methods.
@keithharris59406 жыл бұрын
Just watched and subscribed. I have been messing about with btns for last two days. Thank you talented stranger. Explained so well. Looking forward to more vids.
@nickeastham44783 жыл бұрын
You my friend, are a god-send. I'm in an android programming class right now, and the book we're required to use uses an old version of Android Studio. Not compatible with the lessons at all. You explained everything so well, I appreciate it so much!
@ΑντώνηςΠαρασκευής2 жыл бұрын
Exactly what I was looking for. Thank you!
@StigiXD5 жыл бұрын
I assume you can nest activities this way too right? Thank you for the vid btw, very useful! :)
@coffeedude2 жыл бұрын
Bro I can't get over your pronunciation of button
@coffeedude2 жыл бұрын
Good video tho!
@jebs65365 жыл бұрын
doesn´t work , the app closes when you tap the button
@niphomahlangu27332 жыл бұрын
Great tutorial. Simple and straight to the point. 👌
@illuminatyjacob20876 жыл бұрын
plz make some more video tutorials on android studio
@williambaker49154 жыл бұрын
Good job. This is the best thing I have ever seen in my life of 22 years
@ClementsProjects6 жыл бұрын
Thanks dude ! Works like a charm !
@dontsa26266 жыл бұрын
Thanks a Lot this is very useful. Again Thank you
@annsr37914 жыл бұрын
hype channel. mega underrated.
@vonradvevasty33865 жыл бұрын
can i switch in other modules activity? i'm new in android studio
@arthborg6 жыл бұрын
Thank you for the very good explanation
@deadlypandaghost7 жыл бұрын
Thank you so much
@DanelonNicolas6 жыл бұрын
what about information or context handling?
@Brghtestknght6 жыл бұрын
Thank you!!!
@ProfeccorxD6 жыл бұрын
short yet useful,thnx man
@mrfix3695 жыл бұрын
thanks
@BenjaminHeap5 жыл бұрын
Very useful - thanks!
@RDCST6 жыл бұрын
That's actually the simulator speed? I never can't get even the virtual OS running. So I always debug on my own cellphone. Any tip about?
@bashirkhadra60406 жыл бұрын
maybe your device(laptop/desktop) isnt powerful enough to debug applications from the virtual os
@RDCST6 жыл бұрын
I have an FX8350 with 16GB of RAM and a 480GB SSD. I think is enough to simulate an ARM core.
@nathanr64796 жыл бұрын
Tks bro!
@mimnimpetite86816 жыл бұрын
Thank you so much for making this, it's super useful!