include ':app', ':facebook'
compile project(':facebook')
markerOptions.icon(BitmapDescriptorFactory.fromBitmap(icon)).title(person.name);
Cursor c = db.query("table_name", null, null, null, null, null, null);
if(c!=null&&c. moveToFirst()){
do{
long id = c.getLong(c.getColumnIndexOrThrow ("_id"));
String name = c.getString(c.getColumnIndexOrThrow ("name"));
// добавляете в hashMap или куда вам удобнее
}while(c.moveToNext());
}