How are you performing your asynchronous authentication? Are you just
starting another thread from your Activity or are you using a specific
class?

Cheers,
Justin
Android Team @ Google

On Aug 21, 4:13 pm, Gil <[EMAIL PROTECTED]> wrote:
> Sorry it was not clear.Please let me try to explain the second part in
> a different way.
>
> 1) Start the application for the first time. Activity A is displayed
> (it is the main Activity i.e. uses MAIN/LAUNCHER in the intent
> filter). Activity A also uses singleTask launch mode.
> 2) User enters username and password. An asynchronous authentication
> is started. When authetication completes I execute the following code
> inside the authentication callback:
>
> finish();
> Intent intent = new Intent( this, ActivityB.class);
> intent.setAction( Intent.ACTION_VIEW);
> intent.setData( m_signedInUser.getContentUri());
> startActivity( intent);
>
> 3) Now, Activity B is visible. BTW, Activity B uses the singleTop
> launch mode.
> 4) User hits the Home button. Activity B is no longer visible.
> 5) The user clicks the app icon in the home screen. Activity A is
> displayed.
>         Note: As hackbod said earlier, Activity B should be displayed.
> 6) While Activity A is still visible hit the Back button. Activity B
> is now visible.
>
> Hope this is clearer. Thanks for helping out!
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to