I would like to distinguish when my user is indoor and when he is outdoor using the gps provider.
That would be done by the getAccuracy() method of coruse.
So which value returned from the method would be the limit?
from which value I will be sure that my user is indoor?
In GPS there is no for “sure”.
I would suggest: If hor accuracy is 10m or better chances are good to be outdoors.
If you don’t have any GPS signal. then you are probably indoors or just went outdoors.
In dense city areas outdoors accuracy can be higher than 10m.
Record, and display the GPS signal, and look what its gives for values indoors and outdoors.
In many/most building you will not have a GPS signal at all, unless you are sitting at the window. My iphone currently shows 65m indoors.
So start with that: