Back to project page GPSTracker.
The source code is released under:
MIT License
If you think the Android project GPSTracker 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.creyon.gpstracker; /* w ww .j a v a2 s . com*/ import android.app.Application; import android.content.Intent; public class GlobalData { /** the server address **/ public static final String URL_SERVER = "http://82.198.32.220:1337/user"; /** The time lapse to request the location of the mobile and to send it back to the server**/ public static int LOCATION_INTERVAL = 10000; private static GlobalData instance; public static GlobalData getInstance(){ return (instance == null) ? new GlobalData() : instance; } }