Android Tutorial 66 - Starting Activities

Опубликовано: 25 Март 2014
на канале: Code Here Now
840
2

This is an excerpt from Learn by Doing - Android for Beginners on Udemy.
https://www.udemy.com/learn-by-doing-...

This video shows you how to,

1. Add new activities to your Android project.
2. Start an Activity using an Intent.

Things to Remember
-----------------------------
1. To add a new Activity in Eclipse, right click on the source package and select New Other, from the New dialog, select Android Android Activity, navigate through the wizard to create a new Android Activity.

2. Create a new intent using the Intent(Context, Class) constructor, where the Class parameter receives the class instance of the Activity you want to start.

3. Use the Context.startActivity(Intent) method to start the target activity.


Смотрите видео Android Tutorial 66 - Starting Activities онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Code Here Now 25 Март 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 840 раз и оно понравилось 2 людям.