view -> parent activity

by Andrei » Thu, 22 Apr 2010 13:17:03 GMT

Sponsored Links
 If I have reference to a view that is on activity
How do I get reference to the activity from view reference?


view -> parent activity

by ~ TreKing » Thu, 22 Apr 2010 22:05:19 GMT


You don't - at least not without maintaining your own mapping or holding a
reference somewhere yourself.
I guess you COULD put the Activity reference in the view's tag ... but that
seems dirty.
Why do you need an Activity? Most everything you need is usually available
from Context, which a view has.

TreKing - Chicago transit tracking app for Android-powered devices 


Sponsored Links

Other Threads

1. MjSip authentication problem

Hi there,

have anyone tried to get the demo application running included in the
MjSip zip package from HSC?
The whole zip package can be downloaded under:

I used Wireshark for checking the data transmitted to my sip server.
But there's only one request been sent which is answered by the server
with an "401 Unauthorized". To register again (to start a new try) the
emulator must be restarted.

I checked the authentication data by running x-lite on my notebook and
it works. So it doesn't seem to be a server problem does it? And data
is transmitted to server (hence it isn't a forwarding / firewall

Any suggestions?
I hope to get some help...



2. About running vedio file in m5 emulator


  Can anybody please send me the code for  running vedio file in m5

Thanks & Regards

Analdin Judy.M
Knowledgeware. Beyond Multimedia
Chennai | INDIA
M: +91.98416.64705

"The information contained in this e-mail (including any attachments) is
intended by InfoWave for the use of the named individual or entity to which
it is directed and is CONFIDENTIAL or PRIVILEGED. If you have received this
e-mail (including any attachments) in error, please do not review, disclose,
disseminate, distribute or copy this e-mail and attachments. As Electronic
and Internet communications can be interfered with or affected by viruses
and other defects, please scan this message and any attachments"


3. Custom Intent

4. db4o & NullPointerException

5. this thing is driving me crazy!!

6. No contacts in emulator?

7. scalable vector graphics scalable vector graphics scalable vector graphics