Android retrieving info form a another activity, creating new layout

Rozar

New Member
I am learning how to develop under Android. I've made a new project, main activity, and I wanted to design a new window. I've genereted the new Activty as it it described hereBest way to add Activity to an Android project in Eclipse?[*]But i can't get the visual editor for that new activity. I know that I suppose to create new layout but how to do it and connect it with that second Activity?[*]How to properly go back from the secondActivity(close it? minimize it? how?) to the mainActivity and don't loose information gathered why we were using secondActivity(for example what options user has made?This is how i invoke the second Acitivity and it works fine.\[code\]Intent intent = new Intent(this,DrugieOkno.class);startActivity(intent);\[/code\]
 
Back
Top