cursor = db.getPlaces(intent.getLongExtra("PriceListID",0));
if (cursor.moveToFirst()){
do{
addMarker(
cursor.getString(cursor.getColumnIndex("Name")),
cursor.getString(cursor.getColumnIndex("Address")),
cursor.getDouble(cursor.getColumnIndex("GPSlat")),
cursor.getDouble(cursor.getColumnIndex("GPSlon"))
);
Log.d(LOG_TAG, "Marker added");
}
while (cursor.moveToNext());
}
$channel->queue_declare('hello', false, false, false, false);