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
Segue o meu fonte
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;
}
}
ele nem cai no catch por esse motivo não consigo ver qual o erro que está acontecendo. Vai direto pro return null
.
erro.printStackTrace();
dentro do seu catch, antes doreturn null;
. Depois, compartilhe conosco os detalhes da exceção.Log.e("erro", erro.printStackTrace().toString();)
@Math é Android.