IndoorAtlas SDK 3.2 includes a new positioning mode intended for use cases where the device is mounted to a moving platform e.g. shopping cart, forklift, wheel chair or trolley. Cart mode is enabled by setting the positioning mode in the IndoorAtlas location manager.
First follow instructions for initialising the IA SDK with Android and setting up the location listener. To start the location updates in cart mode, set the IALocationRequest priority to cart mode e.g. using the following code:
IALocationRequest locReq = IALocationRequest.create(); locReq.setPriority(IALocationRequest.PRIORITY_CART_MODE); mIALocationManager.requestLocationUpdates(locReq, mLocationListener);