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.

AppGameKit Classic Chat / Images not found

Author
Message
haliop_New
User Banned
Posted: 19th Jun 2015 11:33
so ive built a costumer a simple app
that reads all the files in a library

one file is a "###.png"
and the other is a "###.mp4"

the png represents a picture from the next clip
in game she can select a picture , touch it and the video will present itself on screen.

i use a simple "movies" folder to hold all the clips and associated images.

so the program acts first

it reads how many files are in the movies folder
then it divide that number into 2 so its "numofvideos/2" since there is one png and one mp4

then it loads all the png files into integer holders.
then when the app is turned on it randomly select 6 pngs from the entire movies folder.

when you click an image it will open the associated movie.

i have checked it on 2 diffrent pcs and it works just fine and i am able to add movies and pngs accordignly and the app will do the rest.

but when i transfared it to her , in game sometimes the pngs showes up and sometimes it looks as if it didnot find the images at all so you see the deafult red cross where a sprite has been built but the image didnt load up.

i am thinking of 2 errors that can make this
1st. her windows 8.1 has a lot of restrictions to since she have some small kids she dosent want them to have full control.. so i ran it with admin rights (through Team Viewer) but again it dosent work.
2nd. maybe it is because her windows is in Hebrew and it might mess with the file read/write system that agk posses. i honestly dont know what to do .


please help.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 19th Jun 2015 12:51
Changed title - "Please Help" isn't helpful!

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 19th Jun 2015 17:44
do you run your app on Mobile device?

if answer is yes:

do you check that your images name are lowercase? and them are lowercase in your code?
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 19th Jun 2015 18:10
I was going to ask that, but then thought that if the program is reading the contents of the folder to assess how many files there are, then it will also be grabbing the file-names dynamically.

@haliop_New any chance you could post some code for us to look at?

V2 T1 (Mostly)
Uzmadesign
haliop_New
User Banned
Posted: 27th Jun 2015 03:26
i actually found the problem thank you..

this app is not for mobile phones and still i do keep everything lowercase just as a ready routine cause of this..


thanks again.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Jul 2015 04:43
Case sensitivity on Android (and sometimes iOS) devices is a long known thing to be careful of.

Glad that you found the fix.

Cheers,
Ancient Lady

Login to post a reply

Server time is: 2024-04-19 05:07:33
Your offset time is: 2024-04-19 05:07:33