my application saves user details as a qr code png image in the android mobile’s SD card,
is there a possibility to block the image from being transfered to other smartphones, (ie) blocking the user from transferring the qr image through bluetooth or mms services
can i save the image with permission allowing only to read.
No, you can’t reasonably stop the user from transferring a file on their SD card to another device/user. What you could do is attempt to render that file useless. You could store an encrypted file instead of just the image file and have the encryption key generated on the device in the internal directory on first use. This would mean that the encrypted image file is not usable across devices. This is circumventable (by either copying the decrypted file when it’s in use or by rooting the device and finding the key), but adds a measure of prevention.