The central component of the IndoorAtlas location framework is the IALocationManager class, which provides access to IndoorAtlas services. The methods of this class must be called from the main thread only.


Create a new instance of IALocationManager using its create() method. If you are using an Activity, your activity’s onCreate() is a good place to do this:


@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    mIALocationManager = IALocationManager.create(this);
}


Now you can register and unregister for periodic updates of the user’s current location.


Note that there are several complete examples in the IndoorAtlas Android Examples