Just to give a bit more information, the downloader gets passed the original activity, then creates a new intent with a class name of the main class, and puts the current intent in as an extra field:
Intent newIntent = new Intent(); newIntent.setClass(activity, preconditionActivityClazz); newIntent.putExtra(EXTRA_WRAPPED_INTENT, activity.getIntent()); Then once the downloader has finished, it starts the intent created above, passing in the original intent: preconditionActivity.startActivity((Intent) preconditionActivity.getIntent().getParcelableExtra (EXTRA_WRAPPED_INTENT)); preconditionActivity.finish(); Steve On Jan 1, 7:02 pm, Steve <[email protected]> wrote: > Hi there, > > I have integrated thedownloaderactivity (Google provided) into my > application.. On the whole a very straight forward process. A problem > I have though, is, after thedownloaderhas completed the window > disappears and nothing happens. If I hold down the HOME key I see my > app and if I click on it my appss window comes up and runs correctly. > Also when I run it subsequently it works correctly. Has anyone else > experienced this? It certainly looks like thedownloadershould > trigger my app when it is done; I am not sure if the window is just > not getting focus or someething. It is a fullscreen GL app. > > Any ideas? > > Steve -- 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

