[android-developers] Re: Cursor management issue with Honeycomb

2011-03-18 Thread Billy Bob Bain
Calling stopManagingCursor() also solved this issue for me. In my onResume(), I was rebuilding the cursor since it was likely data had been added. Needed to add a call to stopManagingCursor() on the current instance before creating the new one. Seems like I should have been doing this all along.

[android-developers] Re: Cursor management issue with Honeycomb

2011-03-01 Thread Billy Bob Bain
@andfan22 - I am seeing the same thing. I've been able to get past it, but only by comment out all code using FilterQueryProvider. I've tried all I can think of to manage the lifecycle, but can't get it right. Are you using FilterQueryProvider? I see that they are mapping the 2.x calls into 3.0

[android-developers] Re: Loading a large list of contacts into a ListAdapter - making it responsive

2009-02-21 Thread Billy Bob
Hi Romain, To follow up on this question, if the list is really big, so big that even 'what's needed to fill the screen with data' takes enougth time to generate a timeout, what to do? I guess it could be populated by chunks, but it gets nasty I think... You have to do the query in a

[android-developers] Imported database unreadable on android

2009-02-20 Thread Billy Bob
Hi, I'm creating a sqlite3 database on a linux box. This db is valid on the box, I can select and all... When I download the file on the phone (emulator in my case), and try to read it with an SQLiteDatabase, any request will raise an exception 'invalid file'. I've checked the file is not

[android-developers] WiFi in Emulator

2009-01-31 Thread Billy Bob
Hi all, I've been trying to create a local connection to a computer with a Socket from the emulator thinking that it would automagically uses a emulated wifi connection. It doesn't work, in particular because wifi is not supported on the emulator: - Does a Socket connection automatically

[android-developers] Retrieve a database from the network

2009-01-27 Thread Billy Bob
Hello, I'd like to use an existing sqlite3 database created outside of the phone, on a computer reachable by Wifi. I know how to download the file using Socket. The problem I see is that android.database.sqlite classes access databases only in /data/data/package_name/databases and it does not