Under Review

Simulator does not load the PGS position from the ini file

Hi I am working on an app where I need the current position Position.getInfo().location

When the simulator is launched for testing it responds with an illegal Position.Location.

When I enter a valid GPS position in the menu item in the simulator it works (sometimes). I have verified the valid position is saved in simulator.ini.

But it is not loaded, which is extremely annoying during testing.

Please fix this.

Thank you.

Parents
  • Understand that on a real device, this can be null, based on when GPS was last used.

    I tend to use Actiivity.getActivityInfo().currentLocation, and after maybe an hour, it returns null, or if GPS hasn't been used since the device was turned on.

    If you see a good location, save that to storage, and then use the value from storage if the current value is null

Comment
  • Understand that on a real device, this can be null, based on when GPS was last used.

    I tend to use Actiivity.getActivityInfo().currentLocation, and after maybe an hour, it returns null, or if GPS hasn't been used since the device was turned on.

    If you see a good location, save that to storage, and then use the value from storage if the current value is null

Children
No Data