Can anyone explain me the purpose of removeAttachListener in Phidgets22 library?
I'm with some problems. When I start my app, I do my configurations and then I arrive at the activity where I do the measurement of acceleration with the 1041 accelometre. But when I go back to do new configurations and return to the activity of measurement, I can no longer get data of the accelometre.
The activity, according to the lifecycle of an activity, is destroyed when I return to the activity before, so I was expecting that the part of the code that specifies the attachListener and detachListener would work normaly. Since it doesn't happen I'm wondering if the void removeAttachListener would help, but I don't know how to declare it or even what is its purpose.
Hope someone can help me!