You can collect GPS location for Android apps using setLocation.
public static void setLocation(Location location)