Help Activity History Stack...

by Moto » Sat, 01 Aug 2009 14:43:14 GMT


Sponsored Links
 Hello could someone help me out choosing the right flags?

I have 3 activities, I want to allow only one of each of the
activities to be on the history stack at one time.

A>B>C>[GO TO B]
gives me A>C>B  using FLAG_ACTIVITY_REORDER_TO_FRONT flag.

Now the problem is that when I call B from C I want B to be restarted
not just brought to the front...  how can I do that?

Thanks!
Moto!
--~--~---------~--~----~------------~-------~--~----~



Help Activity History Stack...

by Dianne Hackborn » Mon, 03 Aug 2009 15:31:47 GMT


 There isn't a direct way to do this.  You could either handle onNewIntent()
in the activity to have it clear itself, or finish() itself and start a new
fresh instance.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Help Activity History Stack...

by Umair Akbar » Tue, 04 Aug 2009 01:29:42 GMT


 *Hey, acquaintances h r u *

*Break these bogs @ very fascinating*

*I hope u enjoy this bogs*

* *

*www.safteytips007.blogspot.com*

*www.wonderfulbwp.blogspot.com < http://www.wonderful-bwp.blogspot.com/> ;*

*                   www.technicaleducationbwp.blogspot.com*






--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Location Based Services

Hello Everyone,

I am trying to use Androids location based services and I was
wondering if there are code samples available that show how to plot
points from a .kml or .gpx file on a map.  I have found many examples
using m5 but nothing for m9 or release 1.0.  Can someone help me?

--~--~---------~--~----~------------~-------~--~----~

2. Google Maps API -> Automatically set the zoom level and center the map

Hello folks,

I try to figure out how to do the two following things :

- set the zoom level based on 2 points the two points must be visible on the
map (i will then interpolate using more points)
- center the map on the middle of the two points.

i searched the api and the internet, but i have no luck finding the
information.

Regards,

Raphal

--

3. problems with emulator

4. Browser geolocation API not working in emulator (v2.01)

5. Need help with determinate progress bar

6. Facing problem while playing video on emulator

7. EULA questions