about fetching the exact integer value from SQLite database by making some query

30 views Asked by At

I Have a problem to fetch the data(item value and how to compare this item with anoher pagefrom SQLiteData Base ?

Cursor c=sq.rawQuery("select ClientId from RequestDriver where Date=? and FromTime=? and ToTime=?",null); while(c.moveToNext()) {

        int req=Integer.parseInt(reqId);
        int ftime=Integer.parseInt(fromt);
        int ttime=Integer.parseInt(tot);
        int x=ttime-ftime;
        int ty = c.getInt(c.getColumnIndex("ClientId"));
        Intent intent = new Intent(this, AssignDriver.class);


        startActivity(intent);
0

There are 0 answers