You will see some warning info in logcat if you do not close it .
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of jerryfan2000
Sent: Thursday, September 10, 2009 4:14 PM
To: Android Developers
Subject:
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
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.comwrote:
close the sursor each time.
b'coz when u try
managedQuery() does not need to be closed.
http://groups.google.com/group/android-developers/browse_thread/thread/9c887ac024b36798
Paul
On Sep 10, 3:13 am, jerryfan2000 jerryfan1...@gmail.com wrote:
Hi,
Just wondering is it necessary to close cursor when an activity is
stopped or pause?
4 matches
Mail list logo