I am adding the Estimote SDK into an Android app. I am following Estimote's guide on GitHub available at https://github.com/Estimote/Android-SDK.
I am having trouble with this line of code and am getting an error that says "cannot resolve symbol 'context'".
private BeaconManager beaconManager = new BeaconManager(context);
Any ideas what I need to do to resolve that? It does not seem to be addressed in the Estimote guide.
Thank you!
This is Android's Context class. If you are inside an Activity then you can just call getContext()
to obtain it.
See SDK demos how to do it. In particular ListBeaconsActivity.