Semion84 / robertprojects

Automatically exported from code.google.com/p/robertprojects
0 stars 0 forks source link

Could not figure out track import (or other track related activities) #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am using CM Mod 1.6 on G1.

Latest 0.8.0.0 version can't import KML files. I had tried several versions
of KML files but without luck.

Could you please add some KML files which had been tested for that version?

Thanks for your great work and it really helps.

Original issue reported on code.google.com by aca...@gmail.com on 7 May 2010 at 3:00

GoogleCodeExporter commented 8 years ago
Send me your kml files

Original comment by RobertK...@gmail.com on 7 May 2010 at 7:07

Attachments:

GoogleCodeExporter commented 8 years ago
I had tested the KML file you send to me and it works. The issue I mentioned in 
post
#1 may related to /sdcard/rmaps/data/geodata.db locked or corrupted. I just 
delete
the folder and restart phone and problem fixed.

But I found a LEAK bug (database/cursor not properly closed):

05-07 19:29:43.982: ERROR/Database(798): Leak found
05-07 19:29:43.982: ERROR/Database(798): java.lang.IllegalStateException:
/sdcard/rmaps/data/geodata.db SQLiteDatabase created and never closed
05-07 19:29:43.982: ERROR/Database(798):     at
android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1581)
05-07 19:29:43.982: ERROR/Database(798):     at
android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:638)
05-07 19:29:43.982: ERROR/Database(798):     at
android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:
659)
05-07 19:29:43.982: ERROR/Database(798):     at
com.robert.maps.utils.RSQLiteOpenHelper.getWritableDatabase(RSQLiteOpenHelper.ja
va:102)
05-07 19:29:43.982: ERROR/Database(798):     at
com.robert.maps.kml.GeoDatabase.getDatabase(GeoDatabase.java:163)
05-07 19:29:43.982: ERROR/Database(798):     at
com.robert.maps.kml.GeoDatabase.<init>(GeoDatabase.java:26)
05-07 19:29:43.982: ERROR/Database(798):     at
com.robert.maps.kml.PoiManager.<init>(PoiManager.java:23)
05-07 19:29:43.982: ERROR/Database(798):     at
com.robert.maps.kml.TrackListActivity.onCreate(TrackListActivity.java:52)
05-07 19:29:43.982: ERROR/Database(798):     at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
05-07 19:29:43.982: ERROR/Database(798):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
05-07 19:29:43.982: ERROR/Database(798):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
05-07 19:29:43.982: ERROR/Database(798):     at
android.app.ActivityThread.access$2100(ActivityThread.java:116)
05-07 19:29:43.982: ERROR/Database(798):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
05-07 19:29:43.982: ERROR/Database(798):     at
android.os.Handler.dispatchMessage(Handler.java:99)
05-07 19:29:43.982: ERROR/Database(798):     at 
android.os.Looper.loop(Looper.java:123)
05-07 19:29:43.982: ERROR/Database(798):     at
android.app.ActivityThread.main(ActivityThread.java:4203)
05-07 19:29:43.982: ERROR/Database(798):     at
java.lang.reflect.Method.invokeNative(Native Method)
05-07 19:29:43.982: ERROR/Database(798):     at
java.lang.reflect.Method.invoke(Method.java:521)
05-07 19:29:43.982: ERROR/Database(798):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
05-07 19:29:43.982: ERROR/Database(798):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
05-07 19:29:43.982: ERROR/Database(798):     at 
dalvik.system.NativeStart.main(Native
Method)

Original comment by aca...@gmail.com on 7 May 2010 at 11:37