First I want to say thanks for your work. Tomdroid is really great.
I think I have the same problem as Sorondors with my HTC Desire and Android 2.2. Below you can find the adb logcat output. I hope it's correct because it was the first time I used adb.
I/ActivityManager( 92): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.tomdroid/.ui.Tomdroid }
D/AK8973 ( 72): Compass Start
D/Sensors ( 92): open_akm, fd=149
I/ActivityManager( 92): Displayed activity org.tomdroid/.ui.Tomdroid: 115 ms (total 115 ms)
W/Rosie ( 196): mAddHtcWidgetByOtherActivity = false, mIsOpenSlideWhenLeaveLaunch = true
W/InputManagerService( 92): Ignoring hideSoftInput of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4668a980
V/SyncService(17299): sync progress: 0
V/SnowySyncService(17299): Loading Snowy notes
D/dalvikvm(17299): GC_FOR_MALLOC freed 5169 objects / 303904 bytes in 47ms
I/WebConnection(17299): Response status : HTTP/1.1 200 OK
I/global (17299): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/WebConnection(17299): Received : {"user-name": "https://login.launchpad.net/+id/xwLseLR", "last-name": "my account", "notes-ref": {"href": "https://one.ubuntu.com/notes/", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/"}, "current-sync-guid": "0", "first-name": "my account", "latest-sync-revision": 13}
V/SyncService(17299): sync progress: 30
D/dalvikvm(17299): GC_FOR_MALLOC freed 6123 objects / 377752 bytes in 41ms
D/dalvikvm(17299): GC_FOR_MALLOC freed 1106 objects / 237712 bytes in 38ms
D/NativeCrypto(17299): Freeing OpenSSL session
D/dalvikvm( 7973): GC_EXPLICIT freed 1467 objects / 83352 bytes in 86ms
E/Database( 7973): close() was never explicitly called on database '/data/data/com.handyapps.easymoney/databases/data'
E/Database( 7973): android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
E/Database( 7973): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1900)
E/Database( 7973): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:884)
E/Database( 7973): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:918)
E/Database( 7973): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:911)
E/Database( 7973): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:548)
E/Database( 7973): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
E/Database( 7973): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
E/Database( 7973): at com.handyapps.easymoney.DbAdapter.open(DbAdapter.java:925)
E/Database( 7973): at com.handyapps.easymoney.AlarmService_Service$1.run(AlarmService_Service.java:162)
E/Database( 7973): at java.lang.Thread.run(Thread.java:1102)
I/WebConnection(17299): Response status : HTTP/1.1 200 OK
I/global (17299): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/WebConnection(17299): Received : {"notes": [{"guid": "c38aa0e15b66446b9f771ddf6878b840", "ref": {"href": "https://one.ubuntu.com/notes/edit/c38aa0e15b66446b9f771ddf6878b840", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/c38aa0e15b66446b9f771ddf6878b840"}, "title": "Joomla local"}, {"guid": "5de9006b-67f6-4564-95e8-1eb6e0e5e9a4", "ref": {"href": "https://one.ubuntu.com/notes/edit/5de9006b-67f6-4564-95e8-1eb6e0e5e9a4", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/5de9006b-67f6-4564-95e8-1eb6e0e5e9a4"}, "title": "Software Ubuntu Installation"}, {"guid": "277e51e8-f449-437e-854e-aaf90c5e37db", "ref": {"href": "https://one.ubuntu.com/notes/edit/277e51e8-f449-437e-854e-aaf90c5e37db", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/277e51e8-f449-437e-854e-aaf90c5e37db"}, "title": "Stromverbrauch"}, {"guid": "f9be0855-c14c-4761-8b00-cea2ad48ad42", "ref": {"href": "https://one.ubuntu.com/notes/edit/f9be0855-c14c-4761-8b00-cea2ad48ad42", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/f9be0855-c14c-4761-8b00-cea2ad48ad42"}, "title": "Qnap TS-110"}], "latest-sync-revision": 13}
V/SyncService(17299): sync progress: 35
D/dalvikvm(17299): GC_FOR_MALLOC freed 5309 objects / 339304 bytes in 41ms
D/NativeCrypto(17299): Freeing OpenSSL session
D/dalvikvm(17299): GC_FOR_MALLOC freed 1196 objects / 251168 bytes in 34ms
I/WebConnection(17299): Response status : HTTP/1.1 200 OK
I/global (17299): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/WebConnection(17299): Received : {"notes": [{"note-content": "1. Install Apache Server \n<list><list-item dir=\"ltr\"><link:url>http://wiki.ubuntuusers.de/Apache</link:url></list-item></list>\n2. Installation PHP\n<list><list-item dir=\"ltr\"><link:url>http://wiki.ubuntuusers.de/PHP</link:url></list-item></list>\n3. Installation MySQL\n<list><list-item dir=\"ltr\"><link:url>http://wiki.ubuntuusers.de/MySQL</link:url></list-item></list>\n4. Installation MySQL GUI\n<list><list-item dir=\"ltr\"><link:url>http://wiki.ubuntuusers.de/MySQL/Werkzeuge</link:url></list-item></list>", "open-on-startup": false, "last-metadata-change-date": "2010-07-13T22:25:10.0774270+02:00", "title": "Joomla local", "tags": [], "last-sync-revision": 3, "note-content-version": 1.0, "last-change-date": "2010-07-21T18:43:12", "guid": "c38aa0e15b66446b9f771ddf6878b840", "ref": {"href": "https://one.ubuntu.com/notes/edit/c38aa0e15b66446b9f771ddf6878b840", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/c38aa0e15b66446b9f771ddf6878b840"}, "pinned": false}, {"note-content": "1. ING\n\n2. Calibre\n\n", "open-on-startup": false, "last-metadata-change-date": "2010-08-22T10:13:24.5757980+02:00", "title": "Software Ubuntu Installation", "tags": [], "create-date": "2010-08-18T15:46:38.6766470+02:00", "last-sync-revision": 8, "note-content-version": 1.0, "last-change-date": "2010-08-22T10:13:24.5757980+02:00", "guid": "5de9006b-67f6-4564-95e8-1eb6e0e5e9a4", "ref": {"href": "https://one.ubuntu.com/notes/edit/5de9006b-67f6-4564-95e8-1eb6e0e5e9a4", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/5de9006b-67f6-4564-95e8-1eb6e0e5e9a4"}, "pinned": false}, {"note-content": "Rooter, Skype Telefon 13,5W\n", "open-on-startup": false, "last-metadata-change-date": "2010-09-04T10:47:52.2521690+02:00", "title": "Stromverbrauch", "tags": [], "create-date": "2010-09-04T10:47:23.9114800+02:00", "last-sync-revision": 10, "note-content-version": 1.0, "last-change-date": "2010-09-04T10:47:52.2521690+02:00", "guid": "277e51e8-f449-437e-854e-aaf90c5e37db", "ref": {"href": "https://one.ubuntu.com/notes/edit/277e51e8-f449-437e-854e-aaf90c5e37db", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/277e51e8-f449-437e-854e-aaf90c5e37db"}, "pinned": false}, {"note-content": "229,-\n\nHosting 54,-\n\n\n", "open-on-startup": false, "last-metadata-change-date": "2010-10-10T19:55:46.2529570+02:00", "title": "Qnap TS-110", "tags": [], "create-date": "2010-08-26T21:54:41.6476700+02:00", "last-sync-revision": 13, "note-content-version": 1.0, "last-change-date": "2010-10-10T19:55:46.2529570+02:00", "guid": "f9be0855-c14c-4761-8b00-cea2ad48ad42", "ref": {"href": "https://one.ubuntu.com/notes/edit/f9be0855-c14c-4761-8b00-cea2ad48ad42", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/f9be0855-c14c-4761-8b00-cea2ad48ad42"}, "pinned": false}], "latest-sync-revision": 13}
V/SyncService(17299): sync progress: 60
D/SyncService(17299): Cursor returned null or 0 notes
V/SyncService(17299): sync progress: 70
W/dalvikvm(17299): threadid=7: thread exiting with uncaught exception (group=0x400259f8)
E/AndroidRuntime(17299): FATAL EXCEPTION: pool-9-thread-1
E/AndroidRuntime(17299): java.lang.IllegalArgumentException: Invalid UUID stringc38aa0e15b66446b9f771ddf6878b840
E/AndroidRuntime(17299): at java.util.UUID.fromString(UUID.java:228)
E/AndroidRuntime(17299): at org.tomdroid.Note.setGuid(Note.java:169)
E/AndroidRuntime(17299): at org.tomdroid.Note.<init>(Note.java:90)
E/AndroidRuntime(17299): at org.tomdroid.sync.web.SnowySyncService$3.run(SnowySyncService.java:189)
E/AndroidRuntime(17299): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
E/AndroidRuntime(17299): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
E/AndroidRuntime(17299): at java.lang.Thread.run(Thread.java:1102)
W/ActivityManager( 92): Force finishing activity org.tomdroid/.ui.Tomdroid
D/Sensors ( 92): close_akm, fd=149
D/AK8973 ( 72): Compass CLOSE
I/Process (17299): Sending signal. PID: 17299 SIG: 9
I/ActivityManager( 92): Process org.tomdroid (pid 17299) has died.
Hi Olivier!
First I want to say thanks for your work. Tomdroid is really great.
I think I have the same problem as Sorondors with my HTC Desire and Android 2.2. Below you can find the adb logcat output. I hope it's correct because it was the first time I used adb.
I/ActivityManager( 92): Starting activity: Intent { act=android. intent. action. MAIN cat=[android. intent. category. LAUNCHER] flg=0x10200000 cmp=org. tomdroid/ .ui.Tomdroid } .ui.Tomdroid: 115 ms (total 115 ms) OtherActivity = false, mIsOpenSlideWhe nLeaveLaunch = true ervice( 92): Ignoring hideSoftInput of: com.android. internal. view.IInputMeth odClient$ Stub$Proxy@ 4668a980 17299): sync progress: 0 ice(17299) : Loading Snowy notes (17299) : Response status : HTTP/1.1 200 OK (17299) : Received : {"user-name": "https:/ /login. launchpad. net/+id/ xwLseLR", "last-name": "my account", "notes-ref": {"href": "https:/ /one.ubuntu. com/notes/", "api-ref": "https:/ /one.ubuntu. com/notes/ api/1.0/ op/"}, "current- sync-guid" : "0", "first-name": "my account", "latest- sync-revision" : 13} 17299): sync progress: 30 17299): Freeing OpenSSL session data/com. handyapps. easymoney/ databases/ data' database. sqlite. DatabaseObjectN otClosedExcepti on: Application did not close the cursor or database object that was opened here database. sqlite. SQLiteDatabase. <init>( SQLiteDatabase. java:1900) database. sqlite. SQLiteDatabase. openDatabase( SQLiteDatabase. java:884) database. sqlite. SQLiteDatabase. openOrCreateDat abase(SQLiteDat abase.java: 918) database. sqlite. SQLiteDatabase. openOrCreateDat abase(SQLiteDat abase.java: 911) app.ContextImpl .openOrCreateDa tabase( ContextImpl. java:548) content. ContextWrapper. openOrCreateDat abase(ContextWr apper.java: 203) database. sqlite. SQLiteOpenHelpe r.getWritableDa tabase( SQLiteOpenHelpe r.java: 98) easymoney. DbAdapter. open(DbAdapter. java:925) easymoney. AlarmService_ Service$ 1.run(AlarmServ ice_Service. java:162) Thread. run(Thread. java:1102) (17299) : Response status : HTTP/1.1 200 OK (17299) : Received : {"notes": [{"guid": "c38aa0e15b6644 6b9f771ddf6878b 840", "ref": {"href": "https:/ /one.ubuntu. com/notes/ edit/c38aa0e15b 66446b9f771ddf6 878b840", "api-ref": "https:/ /one.ubuntu. com/notes/ api/1.0/ op/c38aa0e15b66 446b9f771ddf687 8b840"}, "title": "Joomla local"}, {"guid": "5de9006b- 67f6-4564- 95e8-1eb6e0e5e9 a4", "ref": {"href": "https:/ /one.ubuntu. com/notes/ edit/5de9006b- 67f6-4564- 95e8-1eb6e0e5e9 a4", "api-ref": "https:/ /one.ubuntu. com/notes/ api/1.0/ op/5de9006b- 67f6-4564- 95e8-1eb6e0e5e9 a4"}, "title": "Software Ubuntu Installation"}, {"guid": "277e51e8- f449-437e- 854e-aaf90c5e37 db", "ref": {"href": "https:/ /one.ubuntu. com/notes/ edit/277e51e8- f449-437e- 854e-aaf90c5e37 db", "api-ref": "https:/ /one.ubuntu. com/notes/ api/1.0/ op/277e51e8- f449-437e- 854e-aaf90c5e37 db"}, "title": "Stromverbrauch"}, {"guid": "f9be0855- c14c-4761- 8b00-cea2ad48ad 42", "ref": {"href": "https:/ /one.ubuntu. com/notes/ edit/f9be0855- c14c-4761- 8b00-cea2ad48ad 42", "api-ref": "https:/ /one.ubuntu. com/notes/ api/1.0/ op/f9be0855- c14c-4761- 8b00-cea2ad48ad 42"}, "title": "Qnap TS-110"}], "latest- sync-revision" : 13} 17299): sync progress: 35 17299): Freeing OpenSSL session (17299) : Response status : HTTP/1.1 200 OK (17299) : Received : {"notes": [{"note-content": "1. Install Apache Server \n<list><list-item dir=\"ltr\ "><link: url>http:// wiki.ubuntuuser s.de/Apache</link: url></list- item></ list>\n2. Installation PHP\n<list> <list-item dir=\"ltr\ "><link: url>http:// wiki.ubuntuuser s.de/PHP</link: url></list- item></ list>\n3. Installation MySQL\n< list><list- item dir=\"ltr\ "><link: url>http:// wiki.ubuntuuser s.de/MySQL</link: url></list- item></ list>\n4. Installation MySQL GUI\n<list> <list-item dir=\"ltr\ "><link: url>http:// wiki.ubuntuuser s.de/MySQL/ Werkzeuge</link: url></list- item></ list>", "open-on-startup": false, "last-metadata- change- date": "2010-07- 13T22:25: 10.0774270+ 02:00", "title": "Joomla local", "tags": [], "last-sync- revision" : 3, "note-content- version" : 1.0, "last-change-date": "2010-07- 21T18:43: 12", "guid": "c38aa0e15b6644 6b9f771ddf6878b 840", "ref": {"href": "https:/ /one.ubuntu. com/notes/ edit/c38aa0e15b 66446b9f771ddf6 878b840", "api-ref": "https:/ /one.ubuntu. com/notes/ api/1.0/ op/c38aa0e15b66 446b9f771ddf687 8b840"}, "pinned": false}, {"note-content": "1. ING\n\n2. Calibre\n\n", "open-on-startup": false, "last-metadata- change- date": "2010-08- 22T10:13: 24.5757980+ 02:00", "title": "Software Ubuntu Installation", "tags": [], "create-date": "2010-08- 18T15:46: 38.6766470+ 02:00", "last-sync- revision" : 8, "note-content- version" : 1.0, "last-change-date": "2010-08- 22T10:13: 24.5757980+ 02:00", "guid": "5de9006b- 67f6-4564- 95e8-1eb6e0e5e9 a4", "ref": {"href": "https:/ /one.ubuntu. com/notes/ edit/5de9006b- 67f6-4564- 95e8-1eb6e0e5e9 a4", "api-ref": "https:/ /one.ubuntu. com/notes/ api/1.0/ op/5de9006b- 67f6-4564- 95e8-1eb6e0e5e9 a4"}, "pinned": false}, {"note-content": "Rooter, Skype Telefon 13,5W\n", "open-on-startup": false, "last-metadata- change- date": "2010-09- 04T10:47: 52.2521690+ 02:00", "title": "Stromverbrauch", "tags": [], "create-date": "2010-09- 04T10:47: 23.9114800+ 02:00", "last-sync- revision" : 10, "note-content- version" : 1.0, "last-change-date": "2010-09- 04T10:47: 52.2521690+ 02:00", "guid": "277e51e8- f449-437e- 854e-aaf90c5e37 db", "ref": {"href": "https:/ /one.ubuntu. com/notes/ edit/277e51e8- f449-437e- 854e-aaf90c5e37 db", "api-ref": "https:/ /one.ubuntu. com/notes/ api/1.0/ op/277e51e8- f449-437e- 854e-aaf90c5e37 db"}, "pinned": false}, {"note-content": "229,-\n\nHosting 54,-\n\n\n", "open-on-startup": false, "last-metadata- change- date": "2010-10- 10T19:55: 46.2529570+ 02:00", "title": "Qnap TS-110", "tags": [], "create-date": "2010-08- 26T21:54: 41.6476700+ 02:00", "last-sync- revision" : 13, "note-content- version" : 1.0, "last-change-date": "2010-10- 10T19:55: 46.2529570+ 02:00", "guid": "f9be0855- c14c-4761- 8b00-cea2ad48ad 42", "ref": {"href": "https:/ /one.ubuntu. com/notes/ edit/f9be0855- c14c-4761- 8b00-cea2ad48ad 42", "api-ref": "https:/ /one.ubuntu. com/notes/ api/1.0/ op/f9be0855- c14c-4761- 8b00-cea2ad48ad 42"}, "pinned": false}], "latest- sync-revision" : 13} 17299): sync progress: 60 17299): Cursor returned null or 0 notes 17299): sync progress: 70 e(17299) : FATAL EXCEPTION: pool-9-thread-1 e(17299) : java.lang. IllegalArgument Exception: Invalid UUID stringc38aa0e15 b66446b9f771ddf 6878b840 e(17299) : at java.util. UUID.fromString (UUID.java: 228) e(17299) : at org.tomdroid. Note.setGuid( Note.java: 169) e(17299) : at org.tomdroid. Note.<init> (Note.java: 90) e(17299) : at org.tomdroid. sync.web. SnowySyncServic e$3.run( SnowySyncServic e.java: 189) e(17299) : at java.util. concurrent. ThreadPoolExecu tor.runWorker( ThreadPoolExecu tor.java: 1068) e(17299) : at java.util. concurrent. ThreadPoolExecu tor$Worker. run(ThreadPoolE xecutor. java:561) e(17299) : at java.lang. Thread. run(Thread. java:1102) .ui.Tomdroid
D/AK8973 ( 72): Compass Start
D/Sensors ( 92): open_akm, fd=149
I/ActivityManager( 92): Displayed activity org.tomdroid/
W/Rosie ( 196): mAddHtcWidgetBy
W/InputManagerS
V/SyncService(
V/SnowySyncServ
D/dalvikvm(17299): GC_FOR_MALLOC freed 5169 objects / 303904 bytes in 47ms
I/WebConnection
I/global (17299): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/WebConnection
V/SyncService(
D/dalvikvm(17299): GC_FOR_MALLOC freed 6123 objects / 377752 bytes in 41ms
D/dalvikvm(17299): GC_FOR_MALLOC freed 1106 objects / 237712 bytes in 38ms
D/NativeCrypto(
D/dalvikvm( 7973): GC_EXPLICIT freed 1467 objects / 83352 bytes in 86ms
E/Database( 7973): close() was never explicitly called on database '/data/
E/Database( 7973): android.
E/Database( 7973): at android.
E/Database( 7973): at android.
E/Database( 7973): at android.
E/Database( 7973): at android.
E/Database( 7973): at android.
E/Database( 7973): at android.
E/Database( 7973): at android.
E/Database( 7973): at com.handyapps.
E/Database( 7973): at com.handyapps.
E/Database( 7973): at java.lang.
I/WebConnection
I/global (17299): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/WebConnection
V/SyncService(
D/dalvikvm(17299): GC_FOR_MALLOC freed 5309 objects / 339304 bytes in 41ms
D/NativeCrypto(
D/dalvikvm(17299): GC_FOR_MALLOC freed 1196 objects / 251168 bytes in 34ms
I/WebConnection
I/global (17299): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/WebConnection
V/SyncService(
D/SyncService(
V/SyncService(
W/dalvikvm(17299): threadid=7: thread exiting with uncaught exception (group=0x400259f8)
E/AndroidRuntim
E/AndroidRuntim
E/AndroidRuntim
E/AndroidRuntim
E/AndroidRuntim
E/AndroidRuntim
E/AndroidRuntim
E/AndroidRuntim
E/AndroidRuntim
W/ActivityManager( 92): Force finishing activity org.tomdroid/
D/Sensors ( 92): close_akm, fd=149
D/AK8973 ( 72): Compass CLOSE
I/Process (17299): Sending signal. PID: 17299 SIG: 9
I/ActivityManager( 92): Process org.tomdroid (pid 17299) has died.