Why don't you just have your subactivity post a delayed message to itself and have it call finish() when it gets it?
On Tue, May 26, 2009 at 11:49 PM, Ask <[email protected]> wrote: > > Is it possible to call finish() for subactivity from the parent > activity?? I want to show subactivity for only some perticular time > and after that I want it to be automatically finished.. > > Thanks, > Asif > > On May 26, 7:26 pm, Asif k <[email protected]> wrote: > > Hi all, > > > > I had opened an image file store in the sdcard using startActivity > > (intent) API. > > > > By doing this, image has opened and will remain open til manually > > coming back to parent activity by pressing back button. but I want it > > to be opened only for some perticular time after that it should exit > > and came back to parent acity. So how to set timer for subactivity?? > > > > Please help. > > > > Thanks, > > > > Asif > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

