user529543
user529543

Reputation:

Android detect when the car is slowing down and parking

In car is expected to be used the GPS. That has a speed, but sometimes at low speed 5 km/h?: searching for parking place it shows 0 for speed - and the car is moving!

How can I detect the car is stopped?

GPS speed = 0 and:

I can require min OS version Android 4.0, if it helps.

Any ideas?

Upvotes: 1

Views: 602

Answers (1)

Jitender Dev
Jitender Dev

Reputation: 6925

How can I detect the car is stopped?

I believe you can fire an event every 30 seconds(or more) to check the lat/long. if Lat & long doesn't matched to previous Lat/Long then surely is car moved to some place but if it don't then i believe car is stopped.

Upvotes: 1

Related Questions