Ich habe bereits alle Kontaktnummer (Name, Nummer) in Array und Anzeige in Listview .. Ich weiß schon, wie man Einzelwert in die Datenbank mit Volley einfügen, aber ich weiß es nicht wie man ein Array einfügtWie bekomme ich alle Wert in Array Android und Einfügen in die Datenbank
cursor1 = getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, null, null, null);
startManagingCursor(cursor1);
String[] from = {ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME, ContactsContract.CommonDataKinds.Phone.NUMBER, ContactsContract.CommonDataKinds.Phone._ID};
int[] to = {android.R.id.text1, android.R.id.text2};
SimpleCursorAdapter listadapter = new SimpleCursorAdapter(this, android.R.layout.simple_list_item_2, cursor1, from, to);
setListAdapter(listadapter);
lv = getListView();
Volley
@Override
protected Map<String, String> getParams() throws AuthFailureError {
Map<String,String> params = new HashMap<>();
//Adding parameters to request
params.put("fromV", from);
ich Fehler bekommen bei Temperaturen von in params.put ..