Константин
Константин

Start Аndroid: Урок 29. Вызываем Activity и получаем результат. Метод startActivityForResult

  • 7950
Загружено: Константин . Категория: Программирование . 27 июля 2013.
На этом видео:
Описание
Android программирование (видеоуроки). В этом уроке: вызываем Activity с возвратом результата. Бывает необходимость вызвать Activity, выполнить на нем какое-либо действие и вернуться с результатом. Например -- при создании SMS. Вы жмете кнопку «добавить адресата», система показывает экран со списком из адресной книги, вы выбираете нужного вам абонента и возвращаетесь в экран создания SMS. Т.е. вы вызвали экран выбора абонента, а он вернул вашему экрану результат.

Об этом можно почитать здесь: http://developer.android.com/reference/android/app/Activity.html#StartingActivities
И здесь: http://developer.android.com/guide/topics/fundamentals/activities.html#StartingAnActivityForResult

Для англоязычных пользователей есть английские титры.

Текстовая версия урока: http://startandroid.ru/ru/uroki/vse-uroki-spiskom/68-urok-29-vyzyvaem-activity-i-poluchaem-rezultat-metod-startactivityforresult.html

Обсуждение урока на форуме: http://forum.startandroid.ru/viewtopic.php?t=133

Android Programming (video tutorial). In this tutorial by calling the Activity and returns a result. Sometimes the need to call the Activity, perform an action on it and come back with the result. For example - when creating SMS. You press the button "add a destination", the system shows a screen with a list of the address book, you select the desired subscriber and you return to the screen for creating SMS. That is, you call screen to select the contact, and he returned to your screen result.

You can read about here: http://developer.android.com/reference/android/app/Activity.html#StartingActivities
http://developer.android.com/guide/topics/fundamentals/activities.html#StartingAnActivityForResult

For English-speaking users have English subtitles.

Text version of the lesson: http://startandroid.ru/ru/uroki/vse-uroki-spiskom/68-urok-29-vyzyvaem-activity-i-poluchaem-rezultat-metod-startactivityforresult.html

Talk lesson Online: http://forum.startandroid.ru/viewtopic.php?t=133
Подробнее