You Are Here:

Community: Developer Discussion Boards

#1 Old Lightbulb location of an audio file.. - 2006-02-28, 14:39

Join Date: Feb 2006
Posts: 12
ehabsadany
Offline
Registered User
I am tring to get an audio file in specific location in my nokia mobile 6600..
I want to put it in the phone memory
I have tried many paths and nothing works
I have tried what is below:

=========My tries=====
file: ///c:/other/audio.wav
file://E:/My sounds/Ehab.wav
file:///E:/My sounds/Ehab.wav
file://res/audio.wav
file:audio.wav
file:/audio.wav
file://audio.wav
audio.wav
c:/audio.wav
c://audio.wav
c:///audio.wav
file:/tmp/audio.wav
file:/MyRecord.mid
======end of my tries======

========My code===========
try {
// Create a DataSource that captures live audio.
Player p = Manager.createPlayer("capture://audio");
p.realize();
// Get the RecordControl
RecordControl rc = (RecordControl)p.getControl("RecordControl");
//set the record location
//which must be in the memory card of nokia device 6600

//the problem is here.
//it is not recorded in the memory card so what is the path??

rc.setRecordLocation("C:\\Sound clips\\audio.wav");
// start the Player and record for 5 seconds.
rc.startRecord();
p.start();
Thread.currentThread().sleep(5000);
p.stop();
rc.stopRecord();
rc.commit();

p.close();
} catch (IOException ioe) {
} catch (MediaException me) {
} catch (InterruptedException e) { }
======end of code========
What is the real path that can work in a nokia device
Reply With Quote

#2 Old Re: location of an audio file.. - 2006-03-07, 05:31

Join Date: Feb 2006
Posts: 689
soku123
Offline
Super Contributor
Hi,

The file connection(jsr75) is not suported in 6600.so i dont think its possible to write or read files into or from the filesystem.

Regards
soku
Reply With Quote

#3 Old Re: location of an audio file.. - 2006-03-08, 10:40

Join Date: Mar 2006
Posts: 65
brokendove
Offline
Regular Contributor
Quote:
Originally Posted by soku123
Hi,

The file connection(jsr75) is not suported in 6600.so i dont think its possible to write or read files into or from the filesystem.

Regards
soku
Not entirely true. Although JSR75 may not be supported, you should still be able to access the local file system for accessing media files. The trick is to find out the actual syntax, which is harder to find for particular devices. You may need to contact Nokia directly to ask them for this.


Vikram Goyal,
First Book on Mobile Media API (MMAPI) - Coming Soon from Apress
Register at: [url]http://www.mmapibook.com[/url]
Reply With Quote

#4 Old Re: location of an audio file.. - 2006-04-06, 14:48

Join Date: Apr 2006
Posts: 36
D|3-H4rD
Offline
Registered User
try:
file:///C:/Sounds/
file:///C:/Images/
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
How To Stop And Pause Audio File In Midlet mathi77in Mobile Java General 1 2005-07-18 16:04
What is the error in my code here? Unable to Save document to file yuva69 General Symbian C++ 1 2005-05-26 15:22
Help !about .mbm的形成 wangguoshui Symbian 4 2004-12-23 04:37
Converting audio from file to descriptor. shoma1508 General Symbian C++ 1 2004-06-22 12:37
Audio file elena_santander General Symbian C++ 0 2003-04-24 12:54

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