I have the C source code for a program that generates images based on parameters the user gives in a shell. It takes parameters and then generates a bitmap image and saves it to the local disk. I want to modify it so that I can call the image generation function from Java, and somehow get access to the bmp file that is generated.
How do I get access to the generated image file? Can the C program save to some sort of android local disk? Can I get the image file into a Java object in memory?