[android-developers] Re: How to attain Browser Activity handle from webkit code in Frameworks/base?

2012-02-24 Thread JoeyZee
Thanks for the clarification on both parts. Regarding the latter - I did see the capability to override the functions in Tab.java, however, that implementation path is specific to the browser only (tab.java). The functionality that I want to provide would be intended for ANY activity that

[android-developers] Re: How to attain Browser Activity handle from webkit code in Frameworks/base?

2012-02-23 Thread John Purcell
The Context in question in WebView is, in fact, the Activity it is associated with (i.e. you can do a runtime check and do a safe cast from Context), though I'm not quite sure why you would want to do that. BrowserFrame is the JNI integration point from the actual webkit side of things (see