Mr93 / vcardio

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

Does not work whit LG gw620 #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The app does not start. It says "The application vCardIO (process vcard.io)
has stopped unexpectedly. Please try again."
I have tried killing all the other apps.
I have restarted the phone.
No luck.

The phone is LG GW620 (LG enta in some places) bought from Europe. Not rooted. 

Original issue reported on code.google.com by constant...@gmail.com on 4 Mar 2010 at 11:46

GoogleCodeExporter commented 9 years ago
Yes... forgot about this: Using vCardIO v0.27

Original comment by constant...@gmail.com on 4 Mar 2010 at 11:49

GoogleCodeExporter commented 9 years ago
What version of android does the LG have? Is there an emulator image for it?
Unfortunately, I don't have such a phone so I can't debug this. However, I 
would be
willing to accept a patch from someone who can.

Original comment by duckt...@gmail.com on 4 Mar 2010 at 4:45

GoogleCodeExporter commented 9 years ago
It has 1.5. I could try and debug it over the weekend. I am not familiar with 
the
Android SDK, but I wanted to correct this anyway.

Original comment by constant...@gmail.com on 4 Mar 2010 at 5:23

GoogleCodeExporter commented 9 years ago
I've managed to get the error log. Dunno if it helps.

D/QCRIL   ( 1002): qcril_event_main(): Waiting...                               

E/ProtoRequestListener( 1101): requestFailed()                                  

E/ProtoRequestListener( 1101): com.google.common.async.WatchdogException        

E/ProtoRequestListener( 1101):  at
com.google.common.async.AsyncHttpRequestFactory$AsyncHttpRequestImpl.watchdogFir
ed(Unknown
Source)                        
E/ProtoRequestListener( 1101):  at
com.google.common.async.AsyncHttpRequestFactory$WatchdogTask.run(Unknown 
Source)    

E/ProtoRequestListener( 1101):  at
com.google.common.task.AbstractTask.runInternal(Unknown Source)                 

E/ProtoRequestListener( 1101):  at
com.google.common.task.TimerTask.runInternal(Unknown Source)                    

E/ProtoRequestListener( 1101):  at com.google.common.task.TaskRunner.run(Unknown
Source)                                                                     
E/ProtoRequestListener( 1101):  at
com.google.common.lang.ThreadFactory$ThreadImpl.run(Unknown Source)             

E/DatabaseUtils( 3414): Writing exception to parcel                             

E/DatabaseUtils( 3414): android.database.sqlite.SQLiteException: ambiguous 
column
name: _id: , while compiling: SELECT _sync_time, drmphotos.data AS 
drmphoto_data,
notes, starred, groups._id AS _id, _sync_local_id, _sync_account, _sync_id,
should_sync, groupphotos.data AS groupphoto_data, system_id, _sync_dirty,
custom_ringtone, name, _sync_version FROM groups LEFT OUTER JOIN groupphotos ON
(groupphotos.group_id=groups._id) LEFT OUTER JOIN drmphotos ON
(drmphotos.group_id=groups._id) WHERE (_id=?)                                   

E/DatabaseUtils( 3414):         at
android.database.sqlite.SQLiteProgram.native_compile(Native Method)             

E/DatabaseUtils( 3414):         at
android.database.sqlite.SQLiteProgram.compile(SQLiteProgram.java:110)           

E/DatabaseUtils( 3414):         at
android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:59)             

E/DatabaseUtils( 3414):         at
android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:49)                 

E/DatabaseUtils( 3414):         at
android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.
java:49)

E/DatabaseUtils( 3414):         at
android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1
118)

E/DatabaseUtils( 3414):         at
android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:312)   

E/DatabaseUtils( 3414):         at
android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:262)   

E/DatabaseUtils( 3414):         at
com.android.providers.contacts.LgeContactsProvider.queryInternal(LgeContactsProv
ider.java:496)

E/DatabaseUtils( 3414):         at
android.content.AbstractSyncableContentProvider.query(AbstractSyncableContentPro
vider.java:359)

E/DatabaseUtils( 3414):         at
android.content.ContentProvider$Transport.bulkQuery(ContentProvider.java:112)   

E/DatabaseUtils( 3414):         at
android.content.ContentProviderNative.onTransact(ContentProviderNative.java:97) 

E/DatabaseUtils( 3414):         at 
android.os.Binder.execTransact(Binder.java:287)  

E/DatabaseUtils( 3414):         at dalvik.system.NativeStart.run(Native Method) 

W/dalvikvm( 6080): threadid=3: thread exiting with uncaught exception
(group=0x40013e70)                                                              

E/AndroidRuntime( 6080): Uncaught handler: thread main exiting due to uncaught
exception                                                                     
E/AndroidRuntime( 6080): java.lang.RuntimeException: Unable to start activity
ComponentInfo{vcard.io/vcard.io.App}: android.view.InflateException: Binary XML 
file
line #10: Error inflating class java.lang.reflect.Constructor                   

E/AndroidRuntime( 6080):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)      

E/AndroidRuntime( 6080):        at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284)       

E/AndroidRuntime( 6080):        at
android.app.ActivityThread.access$1800(ActivityThread.java:112)                 

E/AndroidRuntime( 6080):        at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)            

E/AndroidRuntime( 6080):        at
android.os.Handler.dispatchMessage(Handler.java:99)                             

E/AndroidRuntime( 6080):        at android.os.Looper.loop(Looper.java:123)      

E/AndroidRuntime( 6080):        at
android.app.ActivityThread.main(ActivityThread.java:3958)                       

E/AndroidRuntime( 6080):        at java.lang.reflect.Method.invokeNative(Native
Method)                                                                      
E/AndroidRuntime( 6080):        at 
java.lang.reflect.Method.invoke(Method.java:521) 

E/AndroidRuntime( 6080):        at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782) 

E/AndroidRuntime( 6080):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)                    

E/AndroidRuntime( 6080):        at dalvik.system.NativeStart.main(Native 
Method)    

E/AndroidRuntime( 6080): Caused by: android.view.InflateException: Binary XML 
file
line #10: Error inflating class java.lang.reflect.Constructor             
E/AndroidRuntime( 6080):        at
android.preference.GenericInflater.createItem(GenericInflater.java:397)         

E/AndroidRuntime( 6080):        at
android.preference.GenericInflater.createItemFromTag(GenericInflater.java:430)  

E/AndroidRuntime( 6080):        at
android.preference.GenericInflater.rInflate(GenericInflater.java:481)           

E/AndroidRuntime( 6080):        at
android.preference.GenericInflater.inflate(GenericInflater.java:326)            

E/AndroidRuntime( 6080):        at
android.preference.GenericInflater.inflate(GenericInflater.java:263)            

E/AndroidRuntime( 6080):        at
android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:
250)

E/AndroidRuntime( 6080):        at
android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActiv
ity.java:253)

E/AndroidRuntime( 6080):        at vcard.io.App.onCreate(App.java:344)          

E/AndroidRuntime( 6080):        at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)     

E/AndroidRuntime( 6080):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231)      

E/AndroidRuntime( 6080):        ... 11 more                                     

E/AndroidRuntime( 6080): Caused by: java.lang.reflect.InvocationTargetException 

E/AndroidRuntime( 6080):        at
vcard.io.SelectedGroupsPreference.<init>(SelectedGroupsPreference.java:46)      

E/AndroidRuntime( 6080):        at
java.lang.reflect.Constructor.constructNative(Native Method)                    

E/AndroidRuntime( 6080):        at
java.lang.reflect.Constructor.newInstance(Constructor.java:446)                 

E/AndroidRuntime( 6080):        at
android.preference.GenericInflater.createItem(GenericInflater.java:383)         

E/AndroidRuntime( 6080):        ... 20 more                                     

E/AndroidRuntime( 6080): Caused by: android.database.sqlite.SQLiteException:
ambiguous column name: _id: , while compiling: SELECT _sync_time, 
drmphotos.data AS
drmphoto_data, notes, starred, groups._id AS _id, _sync_local_id, _sync_account,
_sync_id, should_sync, groupphotos.data AS groupphoto_data, system_id, 
_sync_dirty,
custom_ringtone, name, _sync_version FROM groups LEFT OUTER JOIN groupphotos ON
(groupphotos.group_id=groups._id) LEFT OUTER JOIN drmphotos ON
(drmphotos.group_id=groups._id) WHERE (_id=?)                                   

E/AndroidRuntime( 6080):        at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:143)  

E/AndroidRuntime( 6080):        at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:111)  

E/AndroidRuntime( 6080):        at
android.content.ContentProviderProxy.bulkQuery(ContentProviderNative.java:279)  

E/AndroidRuntime( 6080):        at
android.content.ContentProviderProxy.query(ContentProviderNative.java:298)      

E/AndroidRuntime( 6080):        at
android.content.ContentResolver.query(ContentResolver.java:149)                 

E/AndroidRuntime( 6080):        at
vcard.io.ContactGroupChooser.getGroupName(ContactGroupChooser.java:58)          

E/AndroidRuntime( 6080):        at
vcard.io.ContactGroupChooser.getSelectedGroupNames(ContactGroupChooser.java:88) 

E/AndroidRuntime( 6080):        at
vcard.io.SelectedGroupsPreference.setup(SelectedGroupsPreference.java:23)       

E/AndroidRuntime( 6080):        ... 24 more   

Original comment by constant...@gmail.com on 4 Mar 2010 at 7:44

GoogleCodeExporter commented 9 years ago
I've tried to use the latest stable apk on an LG GT540 and got the same error 
("The application vCardIO (process vcard.io) has stopped unexpectedly. Please 
try again."). However, it does work with version 0.22 (it starts and 
successfully dumps all contacts to the SD card). I haven't tried intermediate 
versions, but I assume there could only have been so much startup logic 
introduced between 0.22 and 0.32...if it's of use, I can narrow it down to a 
specific version if it would be of help.

Original comment by tom.nak....@gmail.com on 10 Jan 2011 at 9:54

GoogleCodeExporter commented 9 years ago
having an LG GW620 too, i now have 0.33 working again.
0.23 builds and works and .025 did not.

adb logcat showed above error in ContactGroupChooser at line 58:
        Cursor cur = cResolver.query(Contacts.Groups.CONTENT_URI, null, GROUP_NAME_QUERY, new String[] { groupId }, null);

so in ContactGroupChooser.java change
    private static final String GROUP_NAME_QUERY = Contacts.Groups._ID + "=?";
to
    private static final String GROUP_NAME_QUERY = Contacts.Groups.SYSTEM_ID + "=?";

(i suspect this solves issue 65 as well)

Original comment by nouddebr...@gmail.com on 1 Apr 2011 at 6:54