Search found 2832 matches

by airsoftsoftwair
Sun Mar 24, 2019 12:20 pm
Forum: APK Compiler
Topic: Saving a files on Android
Replies: 4
Views: 152

Re: Saving a files on Android

Also note that if you want to write to the path returned in "SDCard" (see above), you need to ask for permission first by using PermissionRequest().
by airsoftsoftwair
Fri Mar 22, 2019 9:10 pm
Forum: APK Compiler
Topic: Saving a files on Android
Replies: 4
Views: 152

Re: Saving a files on Android

On Android you may only write to certain folders. You can get those paths using GetSystemInfo(). You can choose to write to "InternalStorage", "ExternalStorage", or "SDCard", e.g.

Code: Select all

StringToFile("Hello World", FullPath(GetSystemInfo().InternalStorage, "test.txt"))
by airsoftsoftwair
Tue Mar 19, 2019 6:30 pm
Forum: Amiga IDE questions
Topic: 64bit targets on Cubic IDE
Replies: 4
Views: 1208

Re: 64bit targets on Cubic IDE

The update is available for download now...
by airsoftsoftwair
Tue Mar 19, 2019 6:29 pm
Forum: GL Galore
Topic: RotateBrush() may destroy hardwarebrush
Replies: 4
Views: 199

Re: RotateBrush() may destroy hardwarebrush

Well, if it works on Windows chances are that those are bugs/limitations in MiniGL and TinyGL because the code is the same. I'll investigate when I have some time but all GL Galore issues that don't happen on Windows/macOS/Linux don't have a high priority because MiniGL and TinyGL have lots of limit...
by airsoftsoftwair
Tue Mar 19, 2019 5:57 pm
Forum: Hollywood bugs
Topic: Possible bug with Hollywood player for Android
Replies: 11
Views: 246

Re: Possible bug with Hollywood player for Android

Ok, I can reproduce it now. The thing is that the problem only occurs when the device is in portrait mode and rotates to landscape mode because you set orientation to #ORIENTATION_LANDSCAPE. If the device is in landscape mode already, the device won't rotate and the problem won't be there. I'll fix ...
by airsoftsoftwair
Mon Mar 18, 2019 9:57 pm
Forum: Announcements
Topic: Hollywood 8.0 add-ons released
Replies: 2
Views: 170

Re: Hollywood 8.0 add-ons released

Yup, that's next on the agenda.
by airsoftsoftwair
Mon Mar 18, 2019 9:56 pm
Forum: GL Galore
Topic: RotateBrush() may destroy hardwarebrush
Replies: 4
Views: 199

Re: RotateBrush() may destroy hardwarebrush

Can you test on Windows as well? :)
by airsoftsoftwair
Mon Mar 18, 2019 9:55 pm
Forum: Newbie questions
Topic: Cracktro
Replies: 18
Views: 2893

Re: Cracktro

Any idea what's going on? Yearly Amicamp is near and I would like to display something different from Hollywood :) Yup, GrabDesktop() is unsupported on Android :) On another aspect, I have never understood why I can't get the demo to run in bigger resolutions (I am basing my cracktro on Lemmings cr...
by airsoftsoftwair
Mon Mar 18, 2019 9:53 pm
Forum: APK Compiler
Topic: How to include XML files on the Android device or into the APK compiler.
Replies: 3
Views: 98

Re: How to include XML files on the Android device or into the APK compiler.

Alternatively, you can do this:

Code: Select all

@FILE 1, "gui.xml"
moai.CreateApp(ReadString(1))
Using @FILE will automatically link the specified file to the applet/executable.
by airsoftsoftwair
Mon Mar 18, 2019 9:51 pm
Forum: Hollywood bugs
Topic: Possible bug with Hollywood player for Android
Replies: 11
Views: 246

Re: Possible bug with Hollywood player for Android

Hmm, strange, works fine here. What's the build date of the Hollywood Player you're using?