[android-developers] Re: ProgressDialog with a second thread - Screen Orientation and "back button". How to restore progress dialog?

2009-09-27 Thread Broc Seib
I have built progress bars where I had a background thread that updated my Activity via callbacks (to do GUI updates in the UI thread). I ended up using a WeakReference object to hold the callback pointer to my Activity. I have made the assumption (right or wrong) that my UI thread may be gone wh

[android-developers] Re: How to prematurely stop a long-running SQLite query?

2009-09-27 Thread Broc Seib
Perhaps a Trie data structure? On Sep 27, 2009 2:07 PM, "mjc147" wrote: That's a nice trick with the indexed column. I thought of something like that with a column I use for ordering. That column only has a few distinct values so I could split the query up on each of those values. The 30 secs

[android-developers] Re: wrap around with textview in a tablelayout broken

2009-09-23 Thread Broc Seib
Hi Fabian, Actually, your TextView is just fine; all the text "exists" and is wrapping properly, it has just been rendered off the edge of the screen. It is the TableLayout that is doing something odd. (In fact, I found that if I put items following the TableLayout, but still within the vertical L