How to create a custom GPS tracker app on your Android device with the Sprint Tracker Device

I am sure many of you have already seen the following app created by @sprinttracker on Twitter:  GPS Tracker Device app created with the @sprintstracker app on Android device.

 Here is the code: import android.os.

Bundle; import android,app.

Fragment; import com.sprint.sporttracker.

TrackerDevice; import java.util.

List; import

GmsGps; import io.bundle.

User; import

Tracker; import

Image; import re.compile( “regex/search/GPSTrackerDevice” ).toUpperCase() import com,android,sources,gpsdevice,tracking,tracker,trackedDevice public class TrackerDevice extends GmsGPSDevice { private static final String TAG = “GPS Tracking Device”; private final String APP_ID = “sprint-tracks-tracker-device”; private GmsTracker trackerDevice; private String TAG_USER_ID; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_tracker); trackerDevice = (GmsTracker)findViewById(R.,trackersActivity.getResources().getString(TAG)); trackerDevice.setTitle(TAG_USER