It is recommended to close all cursors when you are not using they anymore.

If you keep it opened, you will cause a memory leak on your application.

Felipe Silveira



On Thu, Sep 10, 2009 at 7:06 AM, Sasi Kumar <sasikumar.it1...@gmail.com>wrote:

>
> close the sursor each time.
>
> b'coz when u try to open another time the cursor.
>
> it will show exception as already cursor as opened.
>
> so close the cursor....
>
> On Sep 10, 12:13 pm, jerryfan2000 <jerryfan1...@gmail.com> wrote:
> > Hi,
> > Just wondering is it necessary to close cursor when an activity is
> > stopped or pause?
> >
>


-- 
Felipe Silveira
Engenharia da Computação
Universidade Federal de Itajubá
http://www.felipesilveira.com.br
MSN: felipeuni...@hotmail.com
Skype: fsunifei
-------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to