Confused over activities and creating new tasks

by Connick » Wed, 01 Sep 2010 06:03:02 GMT

Sponsored Links
 Hi folks,

I'm launching a wizard as a series of views. (dialog theme) I need the user
to be able to step back and forth through the series of views. When the
final step is completed I'd like to return the to the original view that
launched this new task. (i.e. close the series of dialogs) The only way I've
gotten this to work is to call finish() on each dialog before starting the
activity of the next step. (that rules out being able to navigate back)

I've tried launching the initial intent with Intent.FLAG_ACTIVITY_NEW_TASK
as well as setting a taskAffinity for the views involved to no avail.

Any insight appreciated,


Confused over activities and creating new tasks

by Mark Murphy » Wed, 01 Sep 2010 06:07:39 GMT

 I'd implement a wizard using ViewFlipper in a single activity,
personally. Creating a reusable wizard component is yet another of the
18,000 items on my to-do list...


Sponsored Links

Other Threads

1. Compiling video - how to display video full screen?

Am having problems with this both as a User and relating possibility to 

Anything I compile to the dimensions of the G1 screen trying CIF, HCIF and 
QCIF, MP4 video and using the 3GP container will display fine on another 
platform (eg workstation) but when deployed to the G1 fills the screen top to 
bottom but has large borders on the left and right (both profile and landscape 

This happens on the default video player and any other video players I've d/l 
from Market so far, so I suspect that this is a characteristic of a base 
Android video code block.

When I've seen this on workstations in the past, I've been able to resolve by 
finding a different codec which likely calls a different code block properly 
supporting the intended display but Android is very limited in the codecs and 
containers it supports.

I've heard that the next generation of video support (code named Doughnut?) is 
supposed to implement many improvements, but I don't know if this issue is one 
of those, so

Am hoping for some enlightenment from someone who has seen this issue and knows 
whether it's addressable now.



2. SDK USB driver for Vista SP1 won't install - Solution?


When I connect a G1 to Vista SP1, the phone is automatically recognized and 
Vista's own USB driver (WpdFs.dll and WUDFRd.sys) is installed, but that driver 
doesn't work.

Nothing I try seems to update or change the USB driver to the one supplied by 
the SDK...
Have tried 
uninstalling the device and re-scanning
Updating the driver in the Device Properties

When I try to force "updating" by manually pointing to the SDK driver, Vista 
says it's not even a driver. Of course, with Vista's improved security I can't 
disable/rename the Microsoft driver (permissions even an Admin can't touch).

Any ideas?


Full deatils on the Vista SP1 driver...
Provider: Microsoft Corporation
File Version: 6.0.60001.18000(longhorn_rtm.080118-1840


3. How to release resources when application ends?

4. import org.apache.commons.httpclient.HttpClient library error

5. Failing to send attachments via email

6. How do i compile platform/packages/apps applications ?

7. language translation?