I'm trying to pass data from the PreferenceActivity
to the ControlExtension
and I don't really know how to do that.
I'm trying to use the BroadcastReceiver
solution, because SharedPreferences
doesn't work for my, but without knowing how yo use it so, ¿how and where I should register the BroadcastReceiver
for the SW2?
Thanks in advance
EDIT:
I'm using now BroadcastReceiver
but I ¿How do I have register my BroadcastReceiver
in the ControlExtension
? or ¿How do I start my ControlExtension
from the ExtensionReceiver
?