Create Location-Aware Ads in Android With the HERE Geofencing API

See the original posting on DZone Python

A few months ago you probably heard the story about Burger King giving out coupons for $0.01 burgers every time someone entered a McDonald’s with the Burger King mobile application installed. Whether or not you like either fast food chain, this was an ingenious marketing strategy and use of location in a mobile application.

So how does something like this work from a technical point of view?