Search found 2381 matches
- Thu May 22, 2025 12:30 pm
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 18
- Views: 288
Re: Problem with external file location on Android
What if we just changed the test for "/assets/" to "assets/" in ZPlatform_Android.inc. I have a feeling that would solve most issues.
- Thu May 22, 2025 7:27 am
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 18
- Views: 288
Re: Problem with external file location on Android
I would expect the path to be relative to the project folder, like with all the other targets. I agree, we should make it so that if you specify "assets/" then this should work on Windows too and be assumed to be a subfolder to the exe-file. Windows can normally deal with paths that have ...
- Thu May 15, 2025 1:18 pm
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 18
- Views: 288
Re: Problem with external file location on Android
Maybe, if the /assets/ is not manually set in the File component path, we could search for the file in the extPath for the user files, and if it's not there, fallback to the dataPath? Would that work for reading AND saving? I think originally we only considered two kinds of files. Either asset file...
- Thu May 15, 2025 8:10 am
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 18
- Views: 288
Re: Problem with external file location on Android
* Little sidequest * It turns out that string array writing was never implemented. I added that now, please try it here: http://www.zgameeditor.org/files/ZGameEditor_beta.zip Here is an example that writes an array to a file: string[] a = {"line 1", "line 2", "line 3",...
- Tue May 13, 2025 5:36 pm
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 18
- Views: 288
Re: Problem with external file location on Android
You can make changes in the Java files without me having to build anything, right? Please try what works best. I trust your judgement 

- Tue May 13, 2025 5:14 pm
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 18
- Views: 288
Re: Problem with external file location on Android
So I think it is set in zgameeditor-master\Build\android\ZgeAndroid.pas: I just found out the same. String dataPath = context.getFilesDir().getAbsolutePath() + "/"; I think it is safe to change this to something else. Question is what path is recommended to use for modern Android apps?
- Tue May 13, 2025 9:24 am
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 117
- Tue May 13, 2025 7:30 am
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 117
Re: Little problem with Application title for Android
I had a feeling exename would not be correct but I wasn't sure
. Please try this new build.
[edit: removed build]

[edit: removed build]
- Mon May 12, 2025 4:26 pm
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 117
Re: Little problem with Application title for Android
Please try this build.
[edit: removed incorrect build]
[edit: removed incorrect build]
- Mon May 12, 2025 9:02 am
- Forum: Bug reports
- Topic: [FIXED] Little problem with Application title for Android
- Replies: 10
- Views: 117
- Wed Apr 23, 2025 8:27 am
- Forum: General discussion
- Topic: How to use SampleImport ogg?
- Replies: 1
- Views: 221
Re: How to use SampleImport ogg?
See attached example for how to play an ogg file.
However the SampleImport only plays embedded files so it does not use ReadAssetFile.Try an example that uses the File component.
However the SampleImport only plays embedded files so it does not use ReadAssetFile.Try an example that uses the File component.
- Wed Apr 23, 2025 8:16 am
- Forum: Bug reports
- Topic: WebOpen OnResult not working on Android
- Replies: 1
- Views: 156
Re: WebOpen OnResult not working on Android
For Android I only implemented the part of WebOpen that simply opens a webpage in a browser. Such if you have a button in your game that says "Visit my homepage" and you click it and it opens the browser. This is when the "InBrowser" property of the WebOpen component is true. The...
- Tue Apr 22, 2025 7:33 am
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 273
- Views: 96651
Re: Google Play New problem : 64bits
So I've been trying to fix the warnings: "Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead." You could try if changing to NativeUInt helps with the crashes. But otherwise I would not bother. The Delphi compiler do...
- Mon Apr 21, 2025 7:45 am
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 273
- Views: 96651
- Mon Apr 14, 2025 2:28 pm
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 273
- Views: 96651