[android-developers] Activity and Views relelation ship
Hallo!
I have a question concerning views, Activities and how they are
related.
I have a TabActivity. Within this activity (in the onCreate method) I
create a TabHost and a TabSpec and do a
tabSpectSearch.setContent(intenSearch); The Indent is created using
intentSearch = new Intent().setClass(this, MyActivity.class);
Now the MyActivity contains a Button on which I add a onClickListener.
This has the method public void onClick(View view).
My question is: from this passed view, is there a way, to get the main
activity containing the tabs? Or how do I get this object?
Thanks in advance
Patrick
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home