You Are Here:

Community: Developer Discussion Boards

#1 Old Question capture://audio nokia 6600 - 2005-03-07, 22:45

Join Date: Mar 2005
Posts: 3
kcislandkid
Offline
Registered User
I have emulated an audio capture midlet in the nokia developer suite for J2ME and i received a MediaException.
code
p = Manager.createPlayer("capture://audio);

the specification for series 60 MMAPI supports audio capture. I want to know if this is so on the real nokia 6600 device.
Reply With Quote

#2 Old 2005-04-04, 08:59

Join Date: Nov 2004
Posts: 8
evianhat
Offline
Registered User
The following works well for me:

try {

capturePlayer = Manager.createPlayer( "capture://audio" );

capturePlayer.realize( );

recordControl = (RecordControl)capturePlayer.getControl( "RecordControl" );

outputStream = new ByteArrayOutputStream( );
recordControl.setRecordStream( outputStream );
int sizeLimit = recordControl.setRecordSizeLimit( maxSecondsToRecord * 8000 );

}
catch ( IOException ioe ) {
_debug( "(i.) IOException: " + ioe );
}
catch ( MediaException me ) {
_debug( "(ii.) MediaException: " + me );
}
Reply With Quote

#3 Old 2005-04-04, 11:58

Join Date: Nov 2004
Posts: 33
yuava
Offline
Registered User
I have the above problem on emulator too,
but it works well in real 6600,
so u may try to put your programme on real phone to test.
Reply With Quote

#4 Old 2005-04-05, 04:38

Join Date: Nov 2004
Posts: 8
evianhat
Offline
Registered User
Oh yeah, good point yuava. I seem to recall a note somewhere in the nokia or symbian documents that stated that the emulators do *not* support recording but that the actual phones do.

I missed that distinction (emulator vs. actual phone) in the original poster's question.
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

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