Hi Macro, You are right and I know this but this can be applicable only when you are invoking sub activity that u had created so that u can write ur logic in that. And My problem is, I am invoking the activity for the phone dialer application using startActivity so I dont have control on the code of the phone Dialer application (sub Activity). I want to dial a number using intent and also want to cut the call automatically after 15 seconds.
I hope , u got my problem. Thanks, Asif On May 27, 7:45 pm, Marco Nelissen <[email protected]> wrote: > 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- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

