Phone Scoop

printed April 17, 2014
See this page online at:
http://www.phonescoop.com/phones/m_forum.php?fm=m&ff=112&fi=1484015

Home  ›  Phones  ›

Sanyo

Info & Phones News Forums  

Back to message list

Audio Recording on MM 8300

by softeyes    Nov 30, 2007, 5:08 AM

All,

I'm recording the audio on MM 8300, while committing(rc.commit() method below), it gives IOException.

But the phone supports audio capture and the media version is 1.1.

My code is given below...

Player p = Manager.createPlayer(");
p.realize();
RecordControl rc = (RecordControl) p.getControl(");
ByteArrayOutputStream baos = new ByteArrayOutputStream();
rc.setRecordStream(baos);
rc.startRecord(); p.start();
Thread.currentThread().sleep(30000);
// Record for 30 secs

rc.commit();
p.stop();
baos.close();
p.close();

Report to moderator

Replies

No replies to this message


Reply You must log in to reply.

Back to message list

‹ all manufacturer forums

Subscribe to Phone Scoop News with RSS Follow @phonescoop on Twitter Phone Scoop on Facebook Phone Scoop on Google+ Subscribe to Phone Scoop on YouTube Follow on Instagram

 

All content Copyright 2001-2014 Phone Factor, LLC. All Rights Reserved.
Content on this site may not be copied or republished without formal permission.
2