niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
1 stars 0 forks source link

Determine an accurate position: MIN_TIME_INTERVAL in LocationSensor to be set by the programmer. #2106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi All,

In one of my app's I use the LocationSensor for walking purposes. 
(www.WalkTheCity.eu, still available in Dutch only).

In "LocationSensor.java" the time between GPS-updates is set to "public static 
final long MIN_TIME_INTERVAL = 60000;", which is 1 minute.

At a speed of 5 km/hr this is 83 meter, which is far to much to give users an 
accurate direction or information at a specific location. 25 Meters or 18,000 
milliseconds (despite the battery cost) would be much nicer.

Is it posibble to make the MIN_TIME_INTERVAL to be set by the programmer?

Regards,

Sjaak Bosman

Original issue reported on code.google.com by sjaak....@gmail.com on 8 May 2012 at 7:03

GoogleCodeExporter commented 9 years ago
I'm not sure if this Issue is being noticed. Could someone give a confirmation 
please? Thanks in advance.

Regards,
Sjaak.

Original comment by sjaak....@gmail.com on 19 May 2012 at 7:44

GoogleCodeExporter commented 9 years ago

Original comment by weihuali...@gmail.com on 28 May 2012 at 5:35

GoogleCodeExporter commented 9 years ago
Today I noticed the DistanceInterval and TimeInterval comboboxes for the 
LocationSensor. Great and many thanx!

Regards,
Sjaak Bosman.

Original comment by sjaak....@gmail.com on 3 Jul 2012 at 6:12

Attachments: