Page 1 of 1

doc:SaveToFile() and APK-Compiler

Posted: Wed May 26, 2021 2:02 am
by evil
Hello!

I Created a simple pdf-file and wanted to save it to disk.
Using doc:SaveToFile() works well on Android, when using the player.
But inside compiled apk-files it didn't save the pdf-file.
Using a simple StringToFile() with the very same directory/filename works correct with the apk-compiler.
I use relative pathes (if that helps...)
Any hints??

Best regards

George

Re: doc:SaveToFile() and APK-Compiler

Posted: Wed May 26, 2021 11:40 pm
by evil
Got the problem. Can be closed. Thanks!

Re: doc:SaveToFile() and APK-Compiler

Posted: Thu May 27, 2021 5:19 am
by plouf
please post the solution to help others too :)

Re: doc:SaveToFile() and APK-Compiler

Posted: Thu May 27, 2021 2:21 pm
by SamuraiCrow
...and next time use the correct forum. This has nothing to do with the Polybios plugin.

Re: doc:SaveToFile() and APK-Compiler

Posted: Thu May 27, 2021 2:43 pm
by evil
plouf wrote: Thu May 27, 2021 5:19 am please post the solution to help others too :)
Better not... It has been just my fault...

Re: doc:SaveToFile() and APK-Compiler

Posted: Thu May 27, 2021 2:46 pm
by evil
SamuraiCrow wrote: Thu May 27, 2021 2:21 pm ...and next time use the correct forum. This has nothing to do with the Polybios plugin.
What else is doc:SaveToFile() about then???

Wrong thread? ;)

Re: doc:SaveToFile() and APK-Compiler

Posted: Sun May 30, 2021 3:34 am
by SamuraiCrow
evil wrote: Thu May 27, 2021 2:46 pm What else is doc:SaveToFile() about then???

Wrong thread? ;)
Yes. Must have been.

Re: doc:SaveToFile() and APK-Compiler

Posted: Sun May 30, 2021 10:56 pm
by evil
But you're right. I opened another thread here, which truely had nothing to do with Polybios :lol:

Best regards

George