update addPin with or without image

Ex.
witout Image
hMap.put("data", createJsonPin(msg, mGps.getLatitude(), 

with Image

hMap.put("data", createJsonPin(msg, mGps.getLatitude(),
mGps.getLongitude(), "Locale", 1));
hMap.put("thumb", mThumbnailFile);
hMap.put("image", Utils.getContentFile());