Back to project page tpblogr.
The source code is released under:
MIT License
If you think the Android project tpblogr listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package blogr.vpm.fr.blogr.location; /* ww w . j a v a 2s. c om*/ import android.location.Location; /** * Created by vincent on 09/10/14. * <p/> * Provides the location (geographic position) */ public interface LocationProvider { /** * Before querying the current location, the provider should first be connected. */ void connect(); /** * Provides the current position as a one-time query * * @return the current location */ Location getCurrentLocation(); /** * After the provider is used, it is necessary to disconnect it. */ void disconnect(); }