Hi Dear,
i need to call a webview to launch a url for authentication process
and need to get back once authentication is successful, dont know how
can i kill webview and resume the process on first activity.
here is what i am trying
Activity1:
public OnClickListener loginButtonListener = new OnClickListener()
{
public void onClick(View v)
{
try {
authorize();
// i need to wait for the authorize and once its
finished then start the funtion below
anotherprocess();
} catch(Exception e) {
e.printStackTrace();
}
}
};
private void authorize() throws IOException, SAXException,
FlickrException {
IntentAuth = new Intent(Intent.ACTION_VIEW, Uri.parse
(authUrl.toString()));
startActivity(Auth);
}
problem:
anotherprocess starts immidiately after authorize which fail to get
the result
webview requires some login process manually by the user and goes
forward to a couple of URL.
please help me how can i wait at anotherprocess()
?
thanks in advance for your kind help
--
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