|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
.GCD file not being displayed on handsets
Hey everyone, first time poster.
I'm having an issue with an upload tool I'm currently working on. It allows users to upload images or ringtones to our sever and sends them a text message of where the GCD file is located, but the handset isn't displaying the GCD file correcly. I'm thinking it's a header issue but I'm not quite sure. Here is how I'm creating and sending the .GCD file if this helps any. PHP Code:
Can anyone see whats going on here? http://w ww.sprintpcsforum.com/focus/d/182939.gcd When going to this URL on a handset, it only shows all the text you see with a normal browser. |
|
#2
|
||||
|
||||
|
Hi welcome to DS.
When you visit in normal browser, just displays the header text sent as plain text. What is supposed to happen? What does send_sprintgw() do? I feel that you have to get your server to handle .gcd files the way you want. As I have never heard of the extension, I doubt apache has - you will need to configure it (.htaccess will do probably)..
__________________
Cheers, Jamie # mdb4u | mobile movie database] | Please help to test and promote # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. ![]() __________________ |
|
#3
|
|||
|
|||
|
Hey jabba_29, a GCD is a simple text file that contains information which allows the download of ringers, pictures, etc... to a Sprint PCS Vision-capable handsets. The file does not contain the actual content.
A good analogy: a GCD file is a pointer, almost like a street sign, which points to a certian location. The phone takes the GCD file and goes to the content URL which is described in the file, and downloads the content to your phone. Here's a look at sample GCD file: Code:
Content-Type: audio/midi Content-ID: ringer Content-Name: My Song Content-Version: 1.0 Content-Vendor: SprintUsers.com Content-URL: http ://www. SprintUsers.com/mysong.mid Content-Size: 3430 Anyway, your suggestion worked. I figured I would need a .htaccess file because the phones were not recognizing the file. I just needed to create a .htaccess file with AddType text/x-pcs-gcd gcd. Thank you! Ken |
|
#4
|
||||
|
||||
|
Great. Glad you got it working,
and thanks for the info ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Mobile Programming > .GCD file not being displayed on handsets |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|