ciao a tutti!!!
per far apparire il file selezionato scrivo:
ora per visualizzare il row successivo come faccio????codice:public HashMap<String, String> getNameShow(String id) { HashMap<String, String> wordList = new HashMap<String, String>(); SQLiteDatabase database = this.getReadableDatabase(); String selectQuery = "SELECT * FROM contacts where contactlId='"+id+"'"; Cursor cursor = database.rawQuery(selectQuery, null); if (cursor.moveToFirst()) { do { //HashMap<String, String> map = new HashMap<String, String>(); wordList.put("name", cursor.getString(1)); //wordList.add(map); } while (cursor.moveToNext()); } return wordList; }
aiuto!!!

Rispondi quotando