public void initLocation() { if (TnLocationManager.getInstance() == null) { TnLocationManager.init( new AndroidLocationManager(AndroidPersistentContext.getInstance().getContext())); } }