Friday, March 23, 2012

[android-developers] Re: Extending Android WebView

Hmmmm.... I was getting ever closer to the same conclusion. I was
hoping to find someone out there who could tell me otherwise. I have
read about a developers recompiling the Webkit for android package
after making some minor changes. However, information on this is very
scarce.
Regardless, thanks for the quick reply.

On Mar 23, 6:44 am, Mark Murphy <mmur...@commonsware.com> wrote:
> onSavePassword() is not part of the Android SDK. You cannot override
> that method from an SDK application.
>
> On Thu, Mar 22, 2012 at 4:05 PM, Ten_Ten_Steve
>
>
>
>
>
>
>
>
>
> <steve.1010.wil...@gmail.com> wrote:
> > I'd love some help with this.
> >  I want to write the class MyWebView extends WebView and override the
> > method:
>
> > boolean onSavePassword(String schemePlusHost, String username, String
> > password, final Message resumeMsg){
> >    ...
> > }
>
> > This method is responsible for asking the user if he/she would like
> > the browser to save their username and password through an Alert
> > Dialog, then performs the SQLite database stuff. I would like to
> > change the message strings one would normally see in the save username
> > and password dialog to my own. So far I haven't had much success with
> > this.
> > There is no modifier appreciated with this method, and eclipse tells
> > me "The method onSavePassword(String, String, String, Message) of type
> > MyWebView must override a superclass method".
> > Any help would be greatly appreciated.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.> To post to this group, send email toandroid-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
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 4.1 Available!

--
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

No comments:

Post a Comment