java - Android retrieving info form a another activity, creating new layout -
I'm learning how to develop under Android. I have created a new project, main activity, and I wanted to design a new window. I've added the new functionality as described here
-
But I can not get the visual editor for that new activity. I know that I think that to create a new layout , But how to do it and add it to other activity?
-
How to properly get back from other activity (turn it off? How to reduce it to the main activity?) And do not collect loose information because we use the second activity (For example, what options have the user made?
Similarly, I am the second alternation (intent);
intent = new intent (this, DrugieOkno.class) div class = "post-text" itemprop = "text">
for question 1: a new
There is a basic tutorial about how to create an action.
For Question 2: There is a good tutorial for preserving the data between
activities . < / P>
Hope that helps.
Comments
Post a Comment