Basic code sending image data to phone