Am working on screenshot. I have used above code. Am able to succeed in IOS platform. But in android am getting black image. Am using version 3.5.
By using imagePath i have created sprite. In Ios am bale to create Sprite. But in Android am getting following error.
Get data from file(/data/data/org.cocos2dx.MyPuppy/files/savedImageName) failed!
I need help. Is anyone getting same error?
Thanks & Regards