im unsure how this works but using an swf and ruffle-android from github seems to save my data. Maybe look into that?
yeaa maybe i will take ruffle android runtime and make my controls overlay with controls editor