Hello,
Need some clarification on the following behavior:
Case a:
I have a very simple Activity:"MyBrowser", which has a linear layout and
loads "mail.google.com" in the onCreate() method using WebView.
(Code below). When I enter the gmail username and password it opens a new
browser window (Load Browser Activity) and moves "Mybrowser" activity to
the back ground and opens a browser window with error message saying
"Required Fields cannot be left blank...." and now if I retype the gmail
username and password it logs me into my gmail account.
private WebView browser;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.browser = new WebView(this);
browser.getSettings().setJavaScriptEnabled(true);
browser.loadUrl("http://mail.google.com");
setContentView(browser);
}
Case b: When I open the browser, and enter mail.google.com as the URL ... it
captures my username/password in the first time and directly takes me to the
Inbox.
Has anyone solved this problem or has a theory behind this behavior.
Any suggestion appreciated.
Thank You,
Kumar _/|\_
www.saisk.com
[EMAIL PROTECTED]
"making a profound difference with knowledge and creativity..."
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---