Android Question Calculation in background?

vfafou

Well-Known Member
Licensed User
Longtime User
Hello!
My app uses GPS and every LocationChanged I need to check within which polygon belongs the current location.
Which is the best approach:

1. Using Spatialite Library?
2. Calculate by code with lists of coordinates?

What to do in order to not have overflows:

1. Background thread calculation?
2. Every X seconds?

I'm very confused!

Thank you in advance!
 
Top