<p></p>
<p>If we manage to clean up the C code, as discussed, so that it doesn't contain the actual app namespace, then it would only be necessary to compile the namespace into the Java code, and this would only require the Android SDK.</p>
<p>I see a few options:</p>
<ul>
<li>Use a server to compile the Java code with the right namespace on demand. This could be quite practical?</li>
<li>Use the existing ohrrpgce-android project by Kevin Veroneau which automates the download and installation of the SDK and packaging up a game into an .apk. I had done some work on this to make it nearly usable. Custom would just invoke ohrrpgce-android, or tell the user how to run it. Unfortunately ohrrpgce-android was stored in  Mercurial</li>
<li>Reimplement ohrrpgce-android in FreeBASIC? I'd rather we didn't!</li>
<li>Find a tool that can disassemble and reassemble .dex files, like Smali, but preferably one that doesn't require an installed JVM</li>
<li>Modify the namespace strings in the .dex files directly. Last time I looked at the .dex file format this seemed feasible</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1228#issuecomment-962318830">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZTVEHN47LO7FI6VICTUKR7SXANCNFSM5HO6NGGA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AMWGWZSO3GOK7UKHLWRHD23UKR7SXA5CNFSM5HO6NGGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHFN5D3Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1228#issuecomment-962318830",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1228#issuecomment-962318830",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>