Enter Habitat

Action: 
org.adaptroid.habitats.ACTION_ENTER_HABITAT
Intent Extra: 
Habitat ID

Sticky broadcast intent sent by Habitats whenever the current habitat on an android device changes.

Since the intent is sticky, a receiver can determine the current habitat by inspecting the extras in the intent returned by Context.registerReceiver. An integer identifier and a human readable name of the habitat are included as extras in the intent.

Extras:
org.adaptroid.habitats.HABITAT_ID
An integer id for the new habitat.

org.adaptroid.habitats.HABITAT_NAME
A human readable name of the new habitat.