udik wrote:
> Also, I see debug messages in the logCat each time the user clicks a
> URL, so there must be a way to subscribe to it somehow:
>
> 03-21 03:25:01.427: INFO/ActivityManager(53): Starting activity:
> Intent { act=android.intent.action.VIEW
> cat=[android.intent.category.BROWSABLE] dat=http://m.cnn.com/primary/
> _XGzH3l-ibwdU98uzK cmp=com.android.browser/.BrowserActivity }
>
> Udik
>
> On Mar 20, 11:46 pm, udik <[email protected]> wrote:
>> Hi All,
>>
>> I tried to register to Internet browser URL changes but no succes so
>> far, I tried different ways:
>>
>> 1. Start the browser as intent, for example:
>> Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://
>> m.cnn.com/"));
>> myContext.startActivity(myIntent);
>> this.registerReceiver(intentReceiver, intentFilter);
>>
>> 2. Start browser using:
>> myWebView.setWebChromeClient(..)
>> Then override each and every onXYZ method ...
>>
>> Now, I know I can start using:
>> myWebView.setWebViewClient(..) and then override
>> shouldOverrideUrlLoading(..), but the WebViewClient is way too simple
>> internet browser, and would require me tons of additions to make it
>> anything close to the WebChromeClient.
>>
>> Would appriciate any idea,
Fortunately for those of us interested in privacy, there is no way to
"register to Internet browser URL changes".
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Beginning Android_ from Apress Now Available!
--
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
To unsubscribe from this group, send email to
android-developers+unsubscribegooglegroups.com or reply to this email with the
words "REMOVE ME" as the subject.