Csound Csound-dev Csound-tekno Search About

[Cs-dev] Android has a bug (?)

Date2013-05-30 16:38
FromMichael Gogins
Subject[Cs-dev] Android has a bug (?)
AttachmentsNone  None  
The problems I have been having about getting logcat and Csound messages to show up reliability in the text window for messages in CSDPlayer MAY POSSIBLY be due to a bug in Android that I found reported in several places while googling.

It is reported that the onCheckChanged event can be fired twice when the user presses a toggle button once. It is also reported that this can be fixed by using the regular "on click" listener. 

This story is consistent with the behavior I am experiencing: either no Csound messages show up, or the logcat messages show up 2 times for the same run of Csound.

I will try the suggested fix this evening. If it works, I'll post an .apk to SourceForge.

Regards,
Mike

--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com