I\'d like to maintain a hash table in a broadcast receiver. If I understand BroadcastReceiver\'s life cycle currently it could get killed wiping out my member variables. Wh
From the Android Reference:
A BroadcastReceiver object is only valid for the duration of the call to onReceive(Context, Intent). Once your code returns from this function, the system considers the object to be finished and no longer active.
Does not sound like what you want to do will work. The Actitivy that registers the receiver will have to take care of this, or you could persist your hash table to the database.