This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Help Me to record voice in sony ericsson Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Help Me to record voice in sony ericsson" Watch "Help Me to record voice in sony ericsson" New topic
Author

Help Me to record voice in sony ericsson

Vishal Jaiswal
Greenhorn

Joined: May 24, 2006
Posts: 3
Hi There,

I am trying to record my voice on sony ericsson emulator.But when I create a player for recording it is giving an error that it cant create player.

I am using the syntex as

Player pp = Manager.createPlayer("capture://audio");
the exception is fired and is as

javax.microedition.media.MediaException: Player cannot be created for capture://audio


and when I am using the code as

Player pp = Manager.createPlayer("capture://audio?encoding=pcm&rate=8000&bits=16&channels=1");

Then it is firing exception as

javax.microedition.media.MediaException: Player cannot be created for capture://audio?encoding=pcm&rate=8000&bits=16&channels=1

I have tried this code in K700i,W900 etc.

Please help me to record the voice in emultor of sony ericsson phone
[ May 24, 2006: Message edited by: Vishal Jaiswal ]
Thejkumar SK
Greenhorn

Joined: Jun 01, 2006
Posts: 3
Hi Vishal

Even I m trying the same ... I found same problem here too ..
If you found any solution please inform me..

Thank you and all

Theja


Theja S K
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help Me to record voice in sony ericsson
 
Similar Threads
Recording midlet with save function
Is recording supported in blackberry emulator
Audio Capture Configuration Question
Capture and play audio
Capturing Audio and J2ME WTK 2.1