View Full Version : What's wrong with my GCD code?
b|iZZaRd
12-25-2004, 11:22 PM
can anyone look at this gcd code and tell me whats wrong w/ it cuz its not working
Content-Type: image/jpeg
Content-Name: LL
Content-Version: 1.0
Content-Vendor: pcs.xlgn
Content-URL: http://pcs.xlgn.net/files/wp/ll/ll1.jpg
Content-Size: 21884
and if theres thing wrong w/ it.......... then how to u make a link to s .gcd file
do u use the hole url as in <a href="http://.............gcd"> download</a>
or is <a href="file.gcd"> download</a>
donblay
12-27-2004, 01:12 PM
can anyone look at this gcd code and tell me whats wrong w/ it cuz its not working
Content-Type: image/jpeg
Content-Name: LL
Content-Version: 1.0
Content-Vendor: pcs.xlgn
Content-URL: http://pcs.xlgn.net/files/wp/ll/ll1.jpg
Content-Size: 21884
and if theres thing wrong w/ it.......... then how to u make a link to s .gcd file
do u use the hole url as in <a href="http://.............gcd"> download</a>
or is <a href="file.gcd"> download</a>
it looks ok. but without seeing the image its describing its hard to tell (ll1.jpg is no longer there). make sure the content-size is exact, one byte off will make it not owrk. also make sure you're using line-feeds after each entry, with one blank linefeed after the size (it does matter).
And when you send it to the phone, you just use the http://...gcd, no href or anything
hope that helps
rokinroj
12-27-2004, 02:38 PM
Here is one of my .gcd files that works perfectly. It is from a sound file, but same idea.
Content-Type: audio/vnd.qcelp
Content-ID: datastrand.net upload/ringer
Content-Name: Test RingTone
Content-Version: 1.0
Content-Vendor: datastrand.net upload
Content-URL: http://wap.datastrand.net/qcp/test4.qcp
Content-Size: 3586
Everything that donBlay wrote is good info, especially the linefeed stuff. That hung me up for awhile at first.
This also assumes that you have IIS configured to be able to host these types of files and connections.
There is a good general article on IIS setup and gcd file creation here
http://www.tech-recipes.com/windows_tips531.html
Roger
SprintUsers.com was created in January 2002 as a resource for users of Sprint PCS products and services to learn about and share information. We have cll phone reviews, Cellular Accessories, Downloads, PDA reviews, Ringtones, all of the latest Sprint PCS news and information, an area where you can find help in creating a ring tone or custom image for you phone, and so much more. The most popular section is the message board where visitors can read and write messages, ask questions, and get advice about their cellular phone from other users.
Content Copyright © 2002-2007 SprintUsers
vBulletin® v3.8.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.