Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 4    Views: 116

Wissam
I hate code!
Profile
Posts: 96
Reg: Dec 02, 2011
Dubai
1,660
11/08/12 07:54 AM (13 years ago)

Pulling questions from remote data server

I am wondering if i can change "imageURLSmallDevice":"http://www.mywebsite.com/quizImage1.png", into "imageURLSmallDevice":"myimage.png", where my image.png is a local file in the images folder Will that work? thanks
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/08/12 09:07 AM (13 years ago)
Hi @Wissam, You asking about just the image? If so yes, add to your corresponding folder..images..docs..or whatever the type is and reference it in your app. Hope this helps. LA
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
11/08/12 09:55 AM (13 years ago)
Actually, you'll want to use "imageNameSmallDevice" not "imageURLSmallDevice" using "Name" instead of "URL" is the proper way to look for a local file in the question items.
 
Wissam
I hate code!
Profile
Posts: 96
Reg: Dec 02, 2011
Dubai
1,660
like
11/08/12 02:31 PM (13 years ago)
@stobe SO i have to change the .txt file and change the "imageURLSmallDevice" into "imageNameSmallDevice" and it will work!
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
11/08/12 03:59 PM (13 years ago)
Ya, a text editor with Find-Replace would work well for that.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.