1
12-10 09:25:36.029: D/dalvikvm(21543): VFY: replacing opcode 0x6e at 0x0002
12-10 09:25:36.279: I/Adreno-EGL(21543): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: ()
12-10 09:25:36.279: I/Adreno-EGL(21543): OpenGL ES Shader Compiler Version: E031.24.00.08
12-10 09:25:36.279: I/Adreno-EGL(21543): Build Date: 03/21/14 Fri
12-10 09:25:36.279: I/Adreno-EGL(21543): Local Branch: AU200+patches_03212014
12-10 09:25:36.279: I/Adreno-EGL(21543): Remote Branch:
12-10 09:25:36.279: I/Adreno-EGL(21543): Local Patches:
12-10 09:25:36.279: I/Adreno-EGL(21543): Reconstruct Branch:
12-10 09:25:36.319: D/OpenGLRenderer(21543): Enabling debug mode 0
12-10 09:25:36.389: D/OpenGLRenderer(21543): GL error from OpenGLRenderer: 0x502
12-10 09:25:36.389: E/OpenGLRenderer(21543): GL_INVALID_OPERATION
12-10 09:30:52.759: D/OpenGLRenderer(21543): GL error from OpenGLRenderer: 0x502
12-10 09:30:52.769: E/OpenGLRenderer(21543): GL_INVALID_OPERATION
Follow my source
public Cursor LoginExisteBanco(Context context, DB_Helper objDBHelper, CL_Login objLogin){
try{
SQLiteDatabase db;
db = objDBHelper.getWritableDatabase();
Cursor c = db.rawQuery("SELECT email,senha FROM usuario", null);
return c;
}
catch(SQLException erro)
{
return null;
}
}
he doesn’t even catch for this reason I can’t see what error is happening. It goes straight to return null
.
Using an AVD? See if Acceleration hardware is set.
– Lollipop
Add:
erro.printStackTrace();
within your catch, before thereturn null;
. Then share with us the details of the exception.– Math
Log.e("erro", erro.printStackTrace().toString();)
@Math is Android.– Jorge B.
@Jorgeb. ops! thanks
– Math
Take a look at [tour]. You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? You need something to be improved?
– Maniero