The code is quite complex. To simplify the question I would like to know if
there is any function that terminates all the processes which were running
inside the application.

If I make a method obButtonExit() and bind it to a custom button, which
existing methods should be called inside the onButtonExit() in order to
release all the resources used by the running activity and terminate all the
processes?

Regards,

Niko

On Fri, Jul 3, 2009 at 1:19 PM, MrChaz <[email protected]> wrote:

>
> We can't really help without seeing the code in question really.
> Don't forget that when you press home or whatever to move away from
> your application it isn't necessarily closed so much as minimized.
>
> On Jul 3, 10:13 am, Niko Gamulin <[email protected]> wrote:
> > Hi,
> >
> > I created an application which is displaying camera preview. When the
> > application terminates I noticed that some processes are still running.
> Also
> > if I try to run the original camera application it displays an error
> > (obviously due to the active process which belongs to the custom
> > application).
> >
> > Does anyone know how to release all resources when application ends?
> >
> > Thanks!
> >
> > Niko
> >
> > --http://mypetprojects.blogspot.com/
> >
>


-- 
http://mypetprojects.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to