I seemingly have something wrong with my code as I keep getting a null
pointer problem.
Here is the code:
private BufferedWriter GPS_File = null;
private static final String GPS_File_String = "gps-data.recent";
GPS_File = getFileConn(GPS_File_String);
Log.d(TAG, "opened file 'gps-data.recent' for
writing");
GPS_Timer.scheduleAtFixedRate(new TimerTask() {
public void run()
{
if (GPS_CHECK == true)
updateGPSfile();
Log.d(TAG, "timer action!");
}
}, 0, GPS_SAMPLE_RATE);
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en