24/05/2012, 18:33
|
| | Fecha de Ingreso: abril-2005
Mensajes: 483
Antigüedad: 19 años, 7 meses Puntos: 3 | |
Respuesta: Mostrar tabla en AutoCompleteTextView Ok. Solucioné ese problema.
Ahora me muestra:
05-25 00:27:51.279: D/dalvikvm(335): GC_EXTERNAL_ALLOC freed 65K, 52% free 2595K/5379K, external 2032K/2137K, paused 69ms
05-25 00:27:59.819: D/dalvikvm(370): GC_EXTERNAL_ALLOC freed 66K, 52% free 2595K/5379K, external 2032K/2137K, paused 44ms
05-25 00:28:02.908: W/KeyCharacterMap(370): No keyboard for id 0
05-25 00:28:02.908: W/KeyCharacterMap(370): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
05-25 00:28:05.969: D/AndroidRuntime(370): Shutting down VM
05-25 00:28:05.999: W/dalvikvm(370): threadid=1: thread exiting with uncaught exception (group=0x40015560)
05-25 00:28:06.038: E/AndroidRuntime(370): FATAL EXCEPTION: main
05-25 00:28:06.038: E/AndroidRuntime(370): java.lang.RuntimeException: Unable to start activity ComponentInfo{android.acopio/android.acopio.d_matricula}: java.lang.IllegalArgumentException: column '_id' does not exist
05-25 00:28:06.038: E/AndroidRuntime(370): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:1647)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:1663)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.app.ActivityThread.access$1500(ActivityThr ead.java:117)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:931)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.os.Handler.dispatchMessage(Handler.java:99 )
05-25 00:28:06.038: E/AndroidRuntime(370): at android.os.Looper.loop(Looper.java:123)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.app.ActivityThread.main(ActivityThread.jav a:3683)
05-25 00:28:06.038: E/AndroidRuntime(370): at java.lang.reflect.Method.invokeNative(Native Method)
05-25 00:28:06.038: E/AndroidRuntime(370): at java.lang.reflect.Method.invoke(Method.java:507)
05-25 00:28:06.038: E/AndroidRuntime(370): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:839)
05-25 00:28:06.038: E/AndroidRuntime(370): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:597)
05-25 00:28:06.038: E/AndroidRuntime(370): at dalvik.system.NativeStart.main(Native Method)
05-25 00:28:06.038: E/AndroidRuntime(370): Caused by: java.lang.IllegalArgumentException: column '_id' does not exist
05-25 00:28:06.038: E/AndroidRuntime(370): at android.database.AbstractCursor.getColumnIndexOrTh row(AbstractCursor.java:314)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.widget.CursorAdapter.init(CursorAdapter.ja va:111)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.widget.CursorAdapter.<init>(CursorAdapter. java:90)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.widget.ResourceCursorAdapter.<init>(Resour ceCursorAdapter.java:47)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.widget.SimpleCursorAdapter.<init>(SimpleCu rsorAdapter.java:84)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.acopio.d_matricula.onCreate(d_matricula.ja va:81)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1047)
05-25 00:28:06.038: E/AndroidRuntime(370): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:1611)
05-25 00:28:06.038: E/AndroidRuntime(370): ... 11 more
05-25 00:28:08.238: I/Process(370): Sending signal. PID: 370 SIG: 9
Veo que muestra: column '_id' does not exist, pero esa columna nunca la utilicé en mi programa.
Gracias y saludos |