I am writing an interactive story. It is a z8 file that is readable by zcode interpreters. I am trying to write a program that embeds the z8 file in an apk. The program will look into the users phone to see if it has twisty, a free zcode interpreter, and notify the user that an interpreter is needed if one is not found. It will take the z8 file and load it onto the sdcard. I need an example or a tutorial of how to load a binary file onto the android sdcard. Thank you for your help and time.
I halfway solved the problem. The problem is that with this code I am reading and writing one byte of the z8 file and I don''t know what to do about it. This is my code.
Thanks the program does work now but it has a serious problem. The size of the file on the sdcard continuosly increases. There are no error messages.This program seems to be eating up memory.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.