Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 12 votes, 4.08 average. Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 6th, 2002, 08:37 AM
epsilon42 epsilon42 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 1 epsilon42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Samsung MMF Wap site

Hey all,

I own a Samsung phone with polyphonic support. In a nutshell, i was wondering if anyone knew the correct code I would have to put on a .wml site in order for me to download tones to my phone. That way i wouldn't have to go to a site that requires a fee for downloading ringtones.

Simply putting a link to the file doesn't work.

I'm guessing in order to download .mmf ringtones to my phone requires WMLscripting or something which I am totally unfamiliar with.

Any help would be appreciated.

Peace.


-epsilon42

Reply With Quote
  #2  
Old February 9th, 2003, 11:13 PM
wogman wogman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Vancouver, WA
Posts: 1 wogman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to wogman
Exclamation Here's how

Here's a sample page. I tested this on my server and it works fine. Good luck.

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Locker">
<p>Steve's Locker</p>
<p>P-<a href="Enterprisen.gif">Enterprise n</a></p>
<p>P-<a href="Eeyore.gif">Eeyore</a></p>
<p>P-<a href="Spidermanby.gif">Spiderman by</a></p>
<p>T-<a href="BeverlyHill.smaf">Beverly Hill</a></p>
<p>T-<a href="TopGunDan.smaf">Top Gun Dan</a></p>
</card>
</wml>

Reply With Quote
  #3  
Old August 6th, 2003, 03:33 AM
edph edph is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: ksa
Posts: 11 edph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 25 sec
Reputation Power: 0
Send a message via Yahoo to edph
you need to set up the mimetypes on your server to recognize mmf files..

upload a .htaccess file with this line added

AddType application/x-smaf .mmf


then simply link to the mmf files.... easy

Reply With Quote
  #4  
Old August 15th, 2003, 03:16 AM
Fakeuser Fakeuser is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 1 Fakeuser User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
mmf mimetype

The mime type application/x-smaf has been not worked for me.
After a little search I found an other mime type that works properly:
application/vnd.smaf

Reply With Quote
  #5  
Old August 27th, 2003, 03:48 PM
riteshp riteshp is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 riteshp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Help

HI I tried the mime type in .htaccess file here what i put

AddType application/x-smaf .mmf
AddType application/x-smaf

but when i try to access my mmf file i get bad gateway.

can someone help

thanks

Reply With Quote
  #6  
Old August 30th, 2003, 09:07 PM
Goob Goob is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 6 Goob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Have a look here ,it takes all the frustration out of not knowing how to set up a wap site http://www.hotscripts.com/Detailed/20588.html ,its a bloody good script ,if you dont how to do it yourself

Reply With Quote
  #7  
Old September 2nd, 2003, 09:16 AM
riteshp riteshp is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 riteshp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
not working for me

HI
I used your sript of wapbuddy but i can't do anything with. I uploded then i chmod as you said then i uploaded one file that work for me on some test server. but when i uploded to my wap site..It did not work. it says not acceptable and the one i created it says forbidden. Any clue what it says that. If you can help me please. I will really appreciate.

thanks
RItesh

Reply With Quote
  #8  
Old September 3rd, 2003, 03:27 AM
Goob Goob is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 6 Goob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Its not my script , I just gave you the link, if you go here
http://jonroig.com/ ,do a search for wapbuddy ,and you,ll get the right page,,This is Jon the guy who wrote the script and you can post questions about it there.
What can happen depends on your phone type , you need the right MIME type in htaccess file that your phone works with.
normally once you have it setup ,you,ll see when you open your wap site it says phone info,,this will give you the correct MIME type, Also not sure about the forbidden bit ,but it might be not allowed through your host,or something like that maybe.
Does your host allow php scripts,or are you running your own server?
Here is as far as I know the latest MIME types for this script

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType text/vnd.wap.wml wml
AddType audio/amr amr
AddType audio/midi mid
AddType audio/midi midi
AddType application/vnd.Nokie.ringing-tone rng
AddType application/vnd.symbian.install sis
AddType application/vnd.wap.wmlc wmlc
AddType text/vnd.wap.wmlscript wmls
AddType text/vnd.wap.wmlscript wmlsc
AddType application/vnd.wap.sic sic
AddType text/vnd.wap.si si
AddType text/vnd.wap.sl sl
AddType application/vnd.wap.slc slc
AddType text/x-vCalendar vcs
AddType text/v-vCard vcf
AddType application/vnd.nokia.gamedata nqd
AddType application/x-nokiagamedata ngd
AddType image/vnd.wap.wmbp wbmp
AddType image/x-bmp bmp
AddType image/x-epoc-mbm mbm
AddType image/vnd.nok-3dscreensaver n3a
AddType text/x-co-desc cod
AddType image/vnd.nok-oplogo-colornokia-op-logo nok
AddType application/x-pmd .pmd
AddType audio/vnd.qcelp .qcp
AddType application/x-smaf .mmf
AddType application/vnd.smaf

I added the bottom MIME type because thats what my Samsung T100 Uses, you can just add what your phone uses as far as I know to htaccess files in each folder, just open them with notepad.
Maybe someone else that views these post can shed more light on the matter .I hope I helped in some way

Reply With Quote
  #9  
Old September 3rd, 2003, 08:48 AM
riteshp riteshp is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 riteshp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
bad gatway

When i add this to my mime type in .htaccess file i get bad gatway.

AddType application/vnd.smaf

Reply With Quote
  #10  
Old December 4th, 2003, 10:03 AM
DITRIX DITRIX is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Bulgaria
Posts: 1 DITRIX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hello to all of you,
I have a kind request.I have Samsung SGH-s500.I made two wap sites but none of them allow me to download properly mmf to my phone.One of these sites is made for nokia and siemens (which means for mid)
Would someone be so kind to share with me his working wap site?In return I will provide him lots of actual animations, ,mmf ringtones (40 and 16 polyphonic) and lots of coloure pictures.I have very big database indeed.
Waiting for comments
Regards
DITRIX

Reply With Quote
  #11  
Old January 25th, 2004, 06:39 AM
Mr_Lenehan Mr_Lenehan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: United Kingdom, Swindon
Posts: 9 Mr_Lenehan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 17 sec
Reputation Power: 0
Send a message via MSN to Mr_Lenehan
bad gateway

Bad gateway is either a problem with your phone operator, or the file you are transferring is larger than your wap gateways file size allowance.

The first place I'd look for a mime type would be a phone manufacturers web site. even if you don't have a nokia mobile you can still get all sorts of free information on mobile technologies from their web site... sign up is required but you can download the pdf directly:
forum nokia nokia supported mime

What this means is that you'll need to keep track of what phones your users are connecting on. See wirelessfaq for a php client detection script which you could easily alter to send the correct mime to your users.

After weeks of searching I am still stuck on how to send an mmf to a mobile, maybe I should compile a list of all the mime types I can find.


P.S. I'm not an apache user but the .htaccess above may have some errors, the last few entries have a period (.) before the file extention whereas the first lot do not... Don;t know if the would make a difference.

Last edited by Mr_Lenehan : January 25th, 2004 at 07:04 AM.

Reply With Quote
  #12  
Old February 10th, 2004, 04:27 AM
stoney_toney stoney_toney is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 stoney_toney User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
just go to www.tagtag.com

there you can upload your tones, wallpapers and java games and you can build a wap site there to if you like

Reply With Quote
  #13  
Old August 25th, 2004, 02:12 AM
AndrewModelski AndrewModelski is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 30 AndrewModelski User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 36 sec
Reputation Power: 6
can't set mime types

I have an mmf file on my website, but my phone refuses to display it. It says something like "page you have requested is unable to be displayed." I have set the mimetype in the .htaccess file and my httpd.conf, but I don't think it is actually getting set. I go to my mmf file and check on its type and it either says text/plain or nothing. Isn't it supposed to say application/vnd.smaf or something like that?

Just to make sure, has anyone with a Samsung phone actually gotten this to work?

Reply With Quote
  #14  
Old August 25th, 2004, 07:02 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 64
Find out just what your phone supports

If you need to find out just what file types your phone supports use this handy snip of PHP and WAP to it on your handset:
PHP Code:
<?php 

$headers 
getallheaders();
foreach (
$headers as $name => $content) {
$allheaders .= "$name: $content\n";
$data .= "<p>$name: $content</p>\n";
}

header("Content-Type: text/vnd.wap.wml");
echo 
"<?xml version=\"1.0\"?>"
echo 
"<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
echo 
"<wml> 
<card id=\"card1\" title=\"web2txt/wap\">
<p><b>Phone data:</p>
<p><br/></p>
$data
</card>
</wml>"
;

?>
This will show you all the variables the phone sends to the WAP site when it is viewing it, this covers content-accept, user-agent and so on, plus if the network you use supports them it will also show msisdn nd profile links.

I've been able to download MMF files to a Samsung with no problems but some Samsung handsets just seen to have problems with downloading tones from the net. At least the newer ones they do have support for mid now.

Hope this helps.

It makes me laugh to think that people would spend five hours working out how to do this and not pay a couple of dollars / pounds for a ringtone. I suppose it's down to how little people think an hour or so of their time is worth!
__________________
Andy Moore << oh no it's got a blog.....
Word Press WAP Plugin with Ad Mob Advertising revenue
PHP developer
deploying ringtones, mp3 downloads and realtones
I'm a geek who's obsessed with stats and gadgets

Reply With Quote
  #15  
Old August 27th, 2004, 06:50 AM
AndrewModelski AndrewModelski is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 30 AndrewModelski User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 36 sec
Reputation Power: 6
Smile Got it working

I finally got it to work. It was the mime-types. I'm not sure exactly how I fixed the problem, but I think it was the fact that I had to go into my httpd.conf on my apache server and allow .htaccess files to be used. I did so by changing the AllowOverride parameter to "All". Before, I guess my server was just ignoring the htaccess file.

Hey, does anyone know how much disk space my Samsung SGH-307 has, or where I could find out? I can only fit like 2 mmf ringtones on it. Also, does anyone know if it's possible to remove the ringtones that come with the phone. They suck and I would be happy to make room for my own tones.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreMobile Programming > Samsung MMF Wap site


Thread Tools  Search this Thread