I have an Android application with which user can share posts with images on the server.
Images are taken by the camera – therefore I change the size to a smaller one and compress it.
I also need the image to be in 2 formats – regular and thumbnail.
I guess better to create 2 versions on the device and U/L both?
I also do it in BG, so user will not be blocked for long time…
Is it a good behaviour?
Should I block the user for 10-20-30 seconds (depending on the network speed?)
What is the common use?
Recommnedations?
No … it would be a better experience if you just upload the large image, and have the server take care of thumbnail generation. That way, you can minimize the user’s data usage, and also the time it takes to upload an image.
Also, definitely don’t block the user … do the upload in the background, and let the user continue using the app.