This sounds more like a dialog, progressdialog, or toast to me than an "invisible activity"..
http://code.google.com/android/reference/android/app/ProgressDialog.html You could launch the intense calculatoin in a background thread, and indicate through handlers when the calculation is done. Does this sound like a possible solution, or did you have something else in mind? Peli www.openintents.org On 28 Sep., 17:21, radu weiss <[EMAIL PROTECTED]> wrote: > Hello > > I need to create the following flow for my application: > > 1. Application is launched > 2. Application shows a view for gathering data > 3. View for gathering data disappears. This view is graphical in > nature and only takes up the central part of the screen, and it is > also transparent, so the previous contents of the screen are visible > behind it and around it. > 4. Some intensive computation takes place, that should take 0.1 - 1 > seconds on a regular ARM 11 CPU. > 5. Depending on the result of the computation one of two other views > is shown. > > My issue: > I don't want the view described at 3 to have any other graphical > component of my application behind it. So i see two solutions: > > a. I implement a activity that shows the view at 3 as the first > activity that appears when the application is launched. Problem: it > will stay "frozen" for up to one second while the computation takes > place. I don't want that because it makes the application feel > unresponsive. Can i make the view invisible once it is done gathering > data? > b. I implement an invisible activity that launches another activity > that implements the view at 3, and this second activity returns data > to the first, that performs the computation and then launches other > activities based on the result. > > In both cases i need to make a view invisible. I have tried various > methods of doing that and none worked. > Can anyone help? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---