Author Topic: [SOLVED] KILLFILE works on Android?  (Read 2313 times)

Offline msx

  • Prof. Inline
  • *****
  • Posts: 773
    • View Profile
[SOLVED] KILLFILE works on Android?
« on: 2016-Aug-16 »
I'm trying to delete a file on Android and I can not, I tried using SETCURRENTDIR and PLATFORMINFO$("APPDATA") but the file is still there. DoesFileExist confirms this.

There is a bug in this command?
« Last Edit: 2016-Aug-18 by msx »

Offline nabz32

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 307
    • View Profile
Re: KILLFILE works on Android?
« Reply #1 on: 2016-Aug-16 »
Dont know if this will help.
Maybe try it with an absolute path in the killfile command instand of setcurrentdir.

Offline msx

  • Prof. Inline
  • *****
  • Posts: 773
    • View Profile
Re: KILLFILE works on Android?
« Reply #2 on: 2016-Aug-16 »
also tried unsuccessfully

Offline msx

  • Prof. Inline
  • *****
  • Posts: 773
    • View Profile
Re: KILLFILE works on Android?
« Reply #3 on: 2016-Aug-17 »
Nobody?

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3669
    • View Profile
    • Space Fractal
Re: KILLFILE works on Android?
« Reply #4 on: 2016-Aug-17 »
I'm currently have focus on steam. So it's can take week or such. It's not a major issue in normal use.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline msx

  • Prof. Inline
  • *****
  • Posts: 773
    • View Profile
Re: KILLFILE works on Android?
« Reply #5 on: 2016-Aug-17 »
you're right. I just wanted to know if it has happened to someone and as fix.

Offline msx

  • Prof. Inline
  • *****
  • Posts: 773
    • View Profile
Re: KILLFILE works on Android?
« Reply #6 on: 2016-Aug-18 »
Mystery solved, you can not delete a file from the Media folder, if it is packaged in the APK. I guess it will be a matter of file attributes.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3669
    • View Profile
    • Space Fractal
Re: [SOLVED] KILLFILE works on Android?
« Reply #7 on: 2016-Aug-18 »
Ahhh, that normal. On Android, its auto copy media files from apk to memory, which is required before Glbasic can use it. You should not touch and try to delete etc. with Android Extras, it's might also auto delete it after use when another file is used to save memory.

KILLFILE might just not work with files in Media. Here I'm can no nothing at all.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.