Back to project page LocationService.
The source code is released under:
Apache License
If you think the Android project LocationService 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 com.manuelpeinado.fusedlocationprovidertest; /*from w w w. j a v a 2 s.c o m*/ import android.location.Location; /** * Created by manuel on 21/07/13. */ public class Utils { public static String format(Location location) { return String.format("%s,%s", location.getLatitude(), location.getLongitude()); } }