I am modifying the Android Browser - I'd like to access & set
properties on the Browser Activity from within the WebKit code in
frameworks/base. Specifically, WebView.java - see frameworks/base/core/
java/android/webkit.

There is a context in WebView.java, but it is an Application Context
and not an Activity Context, so I cannot set UI properties on it. Any
ideas on the best approach to attain a handle to the container
activity (Browser Activity in this case) from WebView.java or any
other classes within frameworks/base ?

Note:
I did see that BrowserFrame.java calls into CallbackProxy.java to set
certain Activity properties (e.g. - setTitle, setProgress, etc) where
those methods are implemented in the Browser's Tab.java page (e.g. -
onReceivedTitle, onProgressChanged). But, I was not able to figure out
how/where callbackProxy made the call into the Browser's Tab.java
page. That could potentially give me a clue into how to approach this

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to