This App is perfectly able to distinguish when a device enters or leaves a zone. The operation is the same as any
other app known until now. It takes the ID as input and elaborates it to get the info needed to determine at what distance from 'iBeacon is, in which area and if it moves or not, in order to make different actions each time you move
from one area to another.