below asynctask is one way, the other way use a doinbackground with thread make wait for 2seconds in the thread after completion of your task make intent startactivity(intent).
On Thu, Jun 14, 2012 at 12:11 PM, Amey Bapat <[email protected]> wrote: > Read about Asynctask... > it hads methods called as doInBackground() > and onPostExecute() preexecute() > publishprogress() > do smething in background in da method doInBackground() > and from onPosExecute() throw and intent and start activity > > On Thu, Jun 14, 2012 at 11:56 AM, Vijay Krishnan <[email protected] > > wrote: > >> Hi all, >> After starting a activity,i want to do some task in >> background.After finishing the task,i want to call another activity.How to >> do this? >> >> Thanks, >> vijay.k >> >> -- >> 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 > > > > > -- > live and let LIVE!!! > > -- > 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 > -- Thanks & Regards K. Ajay Kumar 9700188853 -- 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

