I ran into this problem too, and in my case it wasn't so easy to go
find all of the c.close() calls since I hadn't written any. For the
next person who runs into this, it turns out that
SimpleCursorAdapter.changeCursor() will close the previous cursor (as
documented). So instead of calling
Activity.performStop() contains the following loop (around line 3394
in the 1.0 SDK release and at
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/app/Activity.java;h=4dc4b6a48b85f9caad4234b8e29fafdc9260840c;hb=HEAD#l3504):
final int N =
work for you kind of defeats the purpose, I
suppose.
Can you please file a bug athttp://b.android.com?
On Sat, Mar 7, 2009 at 4:50 PM, Jeffrey Yasskin jyass...@gmail.com wrote:
Activity.performStop() contains the following loop (around line 3394
in the 1.0 SDK release and at
http
http://developer.android.com/guide/topics/manifest/application-element.html#persistent
says that persistent=true means that the system will try to keep your
app running at all times. It doesn't seem to have anything to do with
preferences, although having fewer restarts could easily make any
I'm fairly new at this, so take the following with a grain of salt.
Android has a UI thread, which is the only place things render. While
Screen1.onStart() is running, it's occupying the UI thread, so
nothing, including screen1, can be displayed to the user. Thread.sleep
() just keeps the UI
5 matches
Mail list logo