I’m try to save the image file in android to show imageshot
Images generated by Rendertexture
m_pTarget = CCRenderTexture :: create (s.width, s.height, kCCTexture2DPixelFormat_RGBA8888);
Image is stored as shown below.
m_pTarget-> saveToFile (“Image1.png”)
Apply to Android, I would like to confirm its function.
The path directory do I need to create it first?
How can I create specfic path and save file in android…? just like /mnt/sdcard/images/Image1.png