Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleaned up the code and added comments

(feel free to submit pull requests)
  • Loading branch information...
commit 5d7ede96ddac6ac9378e4082cc186560ea4a10dd 1 parent a9d2cd6
@royvanrijn authored
View
10 src/nl/redcode/iphone/Tracker.java
@@ -7,6 +7,15 @@
import nl.redcode.iphone.sqllite.DataPoint;
import nl.redcode.iphone.sqllite.GeoDataExtractor;
+/**
+ * Main class
+ *
+ * TODO: This could use a nice GUI...!
+ * TODO: Also: iPhone backups are in default directories, why not check those and let the user pick one if found.
+ *
+ * @author Roy van Rijn
+ *
+ */
public class Tracker {
public static void main(String[] args) throws Exception {
@@ -33,5 +42,4 @@ public static void main(String[] args) throws Exception {
KMLGenerator kmlGenerator = new KMLGenerator();
kmlGenerator.generateKML(new File("iPhoneData.kml"), geoData);
}
-
}
View
3  src/nl/redcode/iphone/kml/KMLGenerator.java
@@ -12,6 +12,9 @@
* Also: The resulting file is quite unreadable in Google Earth, but it is a start!
* Do with it what you want :-)
*
+ * TODO: Maybe add more output generators, GPX?
+ * TODO: Define (plugin-like) interface for handling the List<DataPoint>
+ *
* @author Roy van Rijn
*
*/
View
2  src/nl/redcode/iphone/sqllite/GeoDataExtractor.java
@@ -28,6 +28,8 @@
try {
+ //TODO: Maybe also use: db.getTable("WifiLocation");
+
ISqlJetTable table = db.getTable("CellLocation");
extractGeoDataFromTable(geoData, table);
Please sign in to comment.
Something went wrong with that request. Please try again.