Added resizeImage to MediaStorage

Signed-off-by: Andrea Cappelli <a.cappelli87@gmail.com>
Merge branch 'master' into image_resize
Merge branch 'master' into image_resize
Added settings for the compression size of image

Signed-off-by: Andrea Cappelli <a.cappelli87@gmail.com>
Added msgId to resizeImage()

Signed-off-by: Andrea Cappelli <a.cappelli87@gmail.com>
Merge branch 'master' into image_resize
Merge branch 'master' into image_resize
Added control for send resized image on ComposeMessage:

Signed-off-by: Andrea Cappelli <a.cappelli87@gmail.com>
In case of problem the resized image was sent by resendPendingMessage

Signed-off-by: Andrea Cappelli <a.cappelli87@gmail.com>
Merge branch 'master' into image_resize
Merge branch 'image_resize' of https://github.com/kontalk/androidclient into image_resize
Merge branch 'master' into image_resize
Merge remote-tracking branch 'origin/master' into image_resize
Merge branch 'image_resize' of https://github.com/kontalk/androidclient into image_resize
MediaStorage: resizeImage methods

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
New column: att_compress for compression ratio/size

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Let the upload service do the compression work (TODO)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Send compressed image

Signed-off-by: Andrea Cappelli <a.cappelli87@gmail.com>
Merge remote-tracking branch 'origin/master' into image_resize
Final fixes for image resizing

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>