Join 200,000+ other SprintUsers for free at the #1 online community for Sprint cell phone customers! Win cool prizes in our weekly contests. Talk about the newest phones or post your question in our forums! Become a premium member and get unlimited Focus Uploads to your Sprint phone.

All visitors must register before they can post questions, contact other members or search our database of over 127,000 threads and 1.7 million posts. So what are you waiting for? Register for free today!


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 06-10-2006, 03:29 PM   #1
xDennis
Telephone User
 
xDennis's Avatar
 
Join Date: Jul 27, '05
Location: Charlotte NC
Posts: 256
Phone: HTC Touch Pro
Thanks: 0
Thanked 0 Times in 0 Posts
SU$: 397
How Do You Make a WAP Ringtone Site?

I have beent rying to figure out how to upload m4a ringtones to my webspace so i can dl from the phone, but i can't find the WAP code that will allow you to do that, anyone?

Thanks
__________________
Dennis
xDennis is offline   Reply With Quote
Old 06-10-2006, 11:10 PM   #2
laursifer
Stubborn, Irish Gal
 
laursifer's Avatar
 
Join Date: Feb 11, '05
Location: Baltimo'
Posts: 9,044
Phone: Palm Centro
Trades: 4
Thanks: 2
Thanked 7 Times in 6 Posts
SU$: 15,412
You need to define the correct MIME types on the server, so you need access to do that kind of thing. The code has to be written in WML, not HTML. You need to add the following MIME type, if you're able:
  • GCD (text/x-pcs-gcd .gcd)
If all you're doing is ringtones and/or wallpapers, that's the only thing you'd need to add, really. You shouldn't need to add the M4A MIME type but if you do, it's audio/mp4.


Once the MIME type is added, then first you want to write your GCD file. That would look something like this:

Code:
Content-Type: audio/mp4
Content-Name: NIN | Burn
Content-Version: 1.0
Content-Vendor: laursifer.com
Content-URL: http://www.laursifer.com/ringtones/NIN_Burn.m4a
Content-Size: 9999
The most important thing here is the 'Content-Size' line, because if it doesn't match the exact size of the file it won't download. To get the correct size, right-click on the file, go to Properties and snag the 'Size' in bytes (NOT 'Size on Disk'). Once you've got all of this (you can just write this in Notepad, by the way) save it with a GCD file extension. For this file, I'd probably name it 'NIN_Burn.gcd.'

Then you write your WML code for the actual page you're going to download from. I save my WAP pages as PHP, so let's say my ringtone download WAP site is http://www.laursifer.com/wap/ringtones.php. This is an example of what that ringtones.php code would look like:

Code:
<?xml version='1.0'?>
<wml>
 <card id="HOME" title="Ringtones">
  <p>
  </p>
  <p>
   <b>Ringtones</b>
   <br/>
   <br/>
   <a href="http://laursifer.com/wap/ringtones/NIN_Burn.gcd">NIN | Burn</a>
   <br/>
   <br/>
  </p>
 </card>
</wml>


I've made that page valid on my site so you can see what it would look like, but the download doesn't actually exist so that won't work. Visit http://www.laursifer.com/wap/ringtones.php from your phone.



......

So basically what I've done here is created a GCD file, which is a descriptor file--it tells Sprint what it's downloading and where to get it from. Instead of linking to the actual file, I have to link to the GCD. The GCD redirects me to the actual file to download. Most importantly, you have to define the GCD MIME type or none of this will work and there isn't a way around it... You CAN use funformobile, though, as they give you your own WAP "locker."



And that's the basics of WAP, I suppose...
laursifer is offline   Reply With Quote
Old 06-11-2006, 10:18 AM   #3
phatalboom
Telegraph User
 
phatalboom's Avatar
 
Join Date: Jun 1, '06
Location: Phoenix, AZ
Posts: 89
Phone: Pearl 8130
Thanks: 0
Thanked 0 Times in 0 Posts
SU$: 348
Send a message via AIM to phatalboom Send a message via MSN to phatalboom
Nice post. Thanks tons, laursifer.
phatalboom is offline   Reply With Quote
Old 06-13-2006, 01:23 AM   #4
garion
Telegraph User
 
garion's Avatar
 
Join Date: Dec 6, '05
Location: CA
Posts: 41
Phone: Blackberry 8330
Thanks: 0
Thanked 0 Times in 0 Posts
SU$: 129
The combination that I'm using right now is Wapbuddy, a super easy way to have a ringtone website up and functioning quickly without having to do much messing around w/ mimes and such. I also found a script to batch create gcd's, since using gcd is the only way I've been able to force the created m4a's to download to the phone.

Download Wapbuddy

Download ringerconvert.php (Right-click and Save Target As || customizable script, one I've set to batch create gcd's for m4a's)
__________________
"Whereof one cannot speak, thereof one must be silent." - Wittgenstein
garion is offline   Reply With Quote
Go Back SprintUsers.com > Sprint Enhanced Services »Multimedia Mayhem » How Do You Make a WAP Ringtone Site?

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to make a WAP Site almulder10 Tips & Tricks 22 10-14-2009 08:51 AM
Louie's Phone WAP Site As Promised II LouieLouieohoh Multimedia Mayhem 140 07-31-2006 11:34 AM
Wap site testing macmichael01 Multimedia Mayhem 6 06-11-2006 12:47 AM
How to Make a QCP Ringtone tpatel76 Multimedia Mayhem 3 03-31-2006 11:03 AM
Is Sprintusers Wap Site Ever Going To Work?? twistedpac79 Site News & Feedback 24 06-02-2005 04:11 PM


All times are GMT -6. The time now is 11:01 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
- SprintUsers.com is not affiliated with or endorsed by Sprint PCS -