Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / [BUG] GetFolderCount, GetFirstFolder & GetNextFolder

Author
Message
XANAX 2B
15
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 4th Nov 2016 19:02
Hello

These commands does not (always ?) work on Android : GetFolderCount, GetFirstFolder & GetNextFolder

I've made a folder inside "media" called "Vdisks", and inside, i have multiple folders i want to list.

I've made it.
My program works on PC, but not on Android & HTML5.

Any idea to list Folders without these commands ?
My Freewares here : http://www.retro-bruno.com
smallg
Valued Member
12
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 7th Nov 2016 14:06 Edited at: 7th Nov 2016 14:09
PC and android reference different places.
PC is a hidden folder inside the C drive and android should be within your media folder.
but it works fine for me on android

also make sure you are using SetFolder() correctly if you have called it.
life\'s one big game
spec= 2.6ghz, 1gb ram, 512mb gpu, directx 9.0c, dbpro and classic
XANAX 2B
15
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 8th Nov 2016 08:44 Edited at: 8th Nov 2016 15:33
Hello smallg

To test what i say , create a folder called "Vdisks" under your media folder, manually with Windows.
Inside the "Vdisks" folder, create 3 or 4 differents folders with the names you want.

After, this is the code to test :



It works on Android Only if you broadcast. If you export as an Apk, you'll get a '0' as output value.
My Freewares here : http://www.retro-bruno.com

Login to post a reply

Server time is: 2018-10-16 08:33:54
Your offset time is: 2018-10-16 08:33:54