It's a know issue that might be fixed in Eclair and your solution is just a workaround. The correct fix has to happen in ListView. Thanks you though for looking at it.
On Thu, Sep 10, 2009 at 7:09 PM, sameer <[email protected]> wrote: > > Hi i will summarize the problem, > > There is know problem in all the Android phones. > > > Go to Bluetooth Settings->Turn ON bluetooth->Click on bluetooth > discovery->Then timer will start in summary->Long press on Bluetooth > device discovery-> observe Bluetooth ON/OFF title start to toggle > with > Bluetooth Discovery toggle. > > > I analyzed the issue. > > > Blueooth ON/OFF is CheckBoxPreference. > Bluetooth Discovery is also CheckBoxPreference which has dependency > on > Bluetooth ON/OFF. > > > When we click on Bluetooth discovery then On thread will run at every > second to update summary in Bluetooth Discovery preference. When we > change the Bluetooth discovery to OFF then thread will be removed/ > killed. When i press the Bluetooth discovery for long time when its > already in ON State then still the thread will be updating the > summary > (remaining time from 120 to 00) till i press it. When i leave the > Thread will stop. As it has dependency on Bluetooth ON/OFF, its > making > to the title invisible. But it should not happen. > > > Solution: When i touch the Device Discovery i should kill the update > summary thread then i guess, that problem will be solved. But in > prefence i dont have any listener to know the pressed state. > > > I hope somebody can give me solution. > > > Regards > Sameer > > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

