Re: [android-developers] A tricky but simple solution for who requires modal dialog

2011-06-03 Thread Qi Luo
Really sorry for duplicate threads for my bad network connection, but I was not advertising. I hope there is someone could help get rid of it. I admitted it's a terrible hack and not versions compatible. It's a long story that I didn't get another choice but have to make a real modal dialog,

Re: [android-developers] A tricky but simple solution for who requires modal dialog

2011-06-03 Thread Dianne Hackborn
On Fri, Jun 3, 2011 at 7:40 AM, Qi Luo regcollect...@gmail.com wrote: It's a long story that I didn't get another choice but have to make a real modal dialog, otherwise, the worst situation is to build my own widget toolkit and ui framework. No you do not need to build your own toolkit and

[android-developers] A tricky but simple solution for who requires modal dialog

2011-06-02 Thread Qi Luo
I saw much people wanted such a feature, me either. These days I've google-ed around and tried serveral ways to get it right, finally ended up with following solution. No thread synchronization, no dialog-themed activities, really simple. Some useful resource and background,

Re: [android-developers] A tricky but simple solution for who requires modal dialog

2011-06-02 Thread Mark Murphy
IMHO, anybody who uses this code is a fool. This code assumes a certain implementation, let alone certain method signatures, of the internal message-handling logic. This may not be consistent across Android versions. Anyone using this is simply asking for trouble. On Thu, Jun 2, 2011 at 8:51 AM,