You Are Here:

Community: Developer Discussion Boards

#1 Old Playing ringtones - 2005-09-30, 13:14

Join Date: Jan 2004
Posts: 165
mreaves
Offline
Regular Contributor
How do I easily play ringtones from an app, whether this is poly or real?
Reply With Quote

#2 Old Re: Playing ringtones - 2005-10-09, 10:31

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
Hi,

If your device supports JSR75 you could browse the FileSystem and play the ringtones.If your device does not support support JSR75 you cannot play ring tones in the phone.

regards
Gopal
Reply With Quote

#3 Old Re: Playing ringtones - 2006-07-04, 07:58

Join Date: Jul 2005
Posts: 64
pankaj_hotwani
Offline
Regular Contributor
Hi Gopal,

If my device supports jsr-75, then can you tell me how my midlet will be able to play the ringtones? Thanks in advance.

Regards,
Pankaj.


Regards,
Pankaj Hotwani.
Reply With Quote

#4 Old Re: Playing ringtones - 2006-07-04, 18:44

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi Pankaj,

use mobile media api:
http://forum.nokia.com/info/sw.nokia..._0_en.pdf.html
http://forum.nokia.com/info/sw.nokia..._v1_0.zip.html
http://forum.nokia.com/info/sw.nokia..._0_en.pdf.html
hth,
regards,
Peter
Reply With Quote

#5 Old Re: Playing ringtones - 2006-09-19, 09:17

Join Date: Jul 2005
Posts: 64
pankaj_hotwani
Offline
Regular Contributor
Hi Gopal,

I would like to know how I would locate the particular ring tone on different phones assuming I have JSR75 on my phone.

Do I need to store information for the location of ring tone folder for all the phones in my midlet? Or is there any other way..?

Regards,
Pankaj Hotwani.


Quote:
Originally Posted by balagopalks
Hi,

If your device supports JSR75 you could browse the FileSystem and play the ringtones.If your device does not support support JSR75 you cannot play ring tones in the phone.

regards
Gopal


Regards,
Pankaj Hotwani.
Reply With Quote

#6 Old Re: Playing ringtones - 2006-09-19, 12:05

Join Date: Feb 2006
Posts: 689
soku123
Offline
Super Contributor
Hi pankaj,
Not all folders have READ_WRITE acess.ALthough if u have jsr 75,if you cant access a folder u cannot access the files in that folder.
Thanks
Soku
Reply With Quote

#7 Old Re: Playing ringtones - 2006-09-19, 12:22

Join Date: Jul 2005
Posts: 64
pankaj_hotwani
Offline
Regular Contributor
That I know. But my question is how I could find the folder where ringtones are stored. Like for nokia, I know that ringtones are stored in z://nokia/sounds. But what about other phones. Do I need to manually find the path of ringtone folder and hardcode those paths in my midlet. Or is there any way to detect the folder where ring tones are stored...

Quote:
Originally Posted by soku123
Hi pankaj,
Not all folders have READ_WRITE acess.ALthough if u have jsr 75,if you cant access a folder u cannot access the files in that folder.
Thanks
Soku


Regards,
Pankaj Hotwani.
Reply With Quote

#8 Old Re: Playing ringtones - 2006-09-19, 21:23

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi Pankaj,

Quote:
fileconn.dir.tones
that's nokia only system property,
for similiar you need to review api for other devices or stick with root traversal or using some hardcoded paths (most probably all manufacturers use the same schema accross their devices),

regards,
Peter
Reply With Quote

#9 Old Re: Playing ringtones - 2006-09-20, 09:40

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
Quote:
Originally Posted by pankaj_hotwani
Hi Gopal,

I would like to know how I would locate the particular ring tone on different phones assuming I have JSR75 on my phone.

Do I need to store information for the location of ring tone folder for all the phones in my midlet? Or is there any other way..?
Sorry for this late reply! Yesterday I missed your post. As peter suggested, you may search for the desired ring tone by traversing through different folders available on the device. Also you could define the path/file name as JAD parameter. The path may vary according to different devices from different vendors.

Regards
Gopal
Reply With Quote

#10 Old Re: Playing ringtones - 2006-09-20, 23:25

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi Pankaj,
it seems that only nokia provided as runtime properties for roots/known folders, quick look into SE java mipd specs docs and I could see that on that other platform you will have to traverse roots/known locations:
Quote:
• <file:///c:/>
• <file:///c:/other>
• <file:///c:/pictures/>
• <file:///c:/sounds/>
• <file:///c:/videos/>
• <file:///e:/> (memory card)
regards,
Peter
Reply With Quote

#11 Old Re: Playing ringtones - 2006-09-21, 10:31

Join Date: Jul 2005
Posts: 64
pankaj_hotwani
Offline
Regular Contributor
Hi Guys,

Thanks for your suggestions but I am afraid, I am still uable to locate the path of ring tones folder. I saw the file system through FExplorer application. There I cannot see the ringtones in the folder "c:\nokia\sounds"- the same path which I am getting through System.getPropery("fileconn.dir.tones"). Infact when I tried to locate the ringtones through FExplorer then I could see the ringtones in Z:/Nokia/Sounds/Digital folder which I am unable to access through FileConnection api (throws security exception). I tried replacing "Z" by "E" also but that didn't work either.

Also to add, I tried using the PDAPDemo application that comes along with the toolkit. I couldn't find the ringtones by browsing the filesystem through that applicaton also.

FYI:- The downloaded ringtones are getting stored in c:\nokia\sounds\digital. That I can play but the default tones that comes along with the handset like "Nokia tune.mid", those I neither can play nor able to locate.

Please help...

Regards,
Pankaj Hotwani.


Regards,
Pankaj Hotwani.
Last edited by pankaj_hotwani : 2006-09-21 at 12:29.
Reply With Quote

#12 Old Re: Playing ringtones - 2006-09-30, 13:14

Join Date: Sep 2006
Posts: 77
Location: Delhi
Send a message via Yahoo to sunil_talent Send a message via Skype™ to sunil_talent
sunil_talent's Avatar
sunil_talent
Offline
Regular Contributor
Quote:
Originally Posted by balagopalks
Sorry for this late reply! Yesterday I missed your post. As peter suggested, you may search for the desired ring tone by traversing through different folders available on the device. Also you could define the path/file name as JAD parameter. The path may vary according to different devices from different vendors.

Regards
Gopal
I want to send mobile originated sms(ringtone) from my midlet. Rght now i am able to send the text message from my midlet.
Is posible to send ringtone as sms from midlet?
How can i convert the ring tone into binary format?
how can i set the UDH?

Help me da.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
amr file not playing full S.S.Sudhakar General Symbian C++ 9 2008-01-17 12:22
Copyrights for polyphonic ringtones krasi69 Digital Rights Management & Content Downloading 1 2003-08-21 19:52
auto playing ringtones tonymayes Smart Messaging 1 2003-05-06 11:55
Not Playing out the Ringtones on Cell. dzwarts Smart Messaging 2 2003-04-07 07:57
Technologies behind ringtones para_tones Digital Rights Management & Content Downloading 1 2002-09-20 11:57

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ