I posted this before but the mod moved it to gay sex movies group. Hopefully it doesn't happen again.
If I register LISTEN_SERVICESTATE with listener "A" using TelephonyManager.listen(), and then later I need to additionally listen another event like LISTEN_CALL_STATE *using the same listener* ... do I need to: (1) unregister listener A with LISTEN_NONE and re-register with both LISTEN_ flags: TelephonyManager t = ...; PhoneStateListener l = ...; t.listen( l, LISTEN_SERVICESTATE); ... time goes by ... t.listen( l, LIST_NONE); t.listen( l, LISTEN_SERVICE_STATE | LISTEN_CALL_STATE) (2) simply call listen again with listener A, and the new flag. t.listen( l, LISTEN_SERVICESTATE); t.listen( l, LISTEN_CALL_STATE); In other words, is listen() additive if you pass in the same listener with different LISTEN_ flags? The documentation is not clear. -- 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

