I need to delete an image from the server, before what I did was to make an instance of CheckIn which is where I have my Getts and Setts then called checkIn.getImages (). remove (positionPicture); and it removes from the ArrayList of Bitmasp the image that is found in the position of the image that is wanted, everything to good but the image in the server still exists, then how would the process to eliminate it from the server?
int positionPicture = intent.getIntExtra("positionPicture", 0);//en mi variable obtengo la posicion
CheckIn checkIn = CheckIn.getInstance();//hago una instancia de checkIn
checkIn.getImages().remove(positionPicture);//del arreglo elimino la imagen en esa posicion