ReconSDKManager reconManager = ReconSDKManager.Initialize(this);
reconManager.receiveData(new LocationHandler(), ReconEvent.TYPE_LOCATION);
In this LocationHandler class (which implements IReconDataReceiver) I can fetch the latitude and longitude in the onReceiveCompleted(...) function.
But how does this work? Will this only be called once? So will I only receive a location fix once when I call receiveData?
Or will this provide me a constant feedback on my location when moving?
Because that is what I'd need. Basically the same question would go for registering a SpeedHandler or a DistanceHandler.
In case this only returns a single location fix, I would be forced to constantly query the reconManager.receiveData(...) or use the standard Android LocationManager class.
Thanks for your feedback,
Jules.
You are correct. The camera/mic/GPS are all accessed via normal Android 4.1 functionality.