photo-editor-android
photo-editor-android copied to clipboard
Black screen on Samsung J5
Device: Samsung Galaxy J5 Model number: SM-J500M
Using the lib's app in the above mentioned device, I get a black screen wether I import image from gallery or take a photo using the camera in the app.
Tested also in a Motorola G5 and the app worked fine (no black screen).
Device: Redmi Model number: Redmi 4A Using this lib's app in the above mentioned device, Even I got a black screen whether I import image from gallery or take a photo using the camera in the app.
Device Samsung s9 using this lib package this app and mobile are fully off screen and not work, then I try to Redmi 4A,and Lenovo till not work at any device.. don't used it
It worked on redmi 4A by changing bitmap sampleInSize to 4 in PhotoEditor Activity.
@nickghodke Any clue on why this magic number 4 worked? and more information about the problem/fix?
Did it worked on your phone i actually dont remeber it but i randomly tried changing bitmap sampleInsize from -1 to any positive number and it worked for me
@nickghodke It will work for any number, but ideally you are supposed use a power of 2. Else the number you are using will be rounded off to the nearest power of 2.